File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -227,8 +227,7 @@ Feature: Marshal and Unmarshal
227227```
228228
229229## Performance and Optimisation
230- This module has been optimised for performance.
231- Suggestions to improve are welcome.
230+ This module is optimised for performance.
232231
233232``` bash
234233$ go test -cpuprofile cpu.prof -memprofile mem.prof -bench . -benchmem
@@ -238,8 +237,8 @@ goos: linux
238237goarch: amd64
239238pkg: github.com/encodingx/binary
240239cpu: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
241- BenchmarkMarshal 1206807 851.9 ns/op 64 B/op 6 allocs/op
242- BenchmarkUnmarshal 1376592 876.0 ns/op 64 B/op 8 allocs/op
240+ BenchmarkMarshal 2145660 552.5 ns/op 64 B/op 6 allocs/op
241+ BenchmarkUnmarshal 1878840 655.3 ns/op 64 B/op 8 allocs/op
243242PASS
244- ok github.com/encodingx/binary 4.015s
243+ ok github.com/encodingx/binary 3.873s
245244```
You can’t perform that action at this time.
0 commit comments