mirror of
https://github.com/json-iterator/go.git
synced 2025-04-20 11:28:49 +02:00
always benchmark yourself
This commit is contained in:
parent
4930b053b8
commit
9e9a97040e
@ -31,6 +31,9 @@ Raw Result (easyjson requires static code generation)
|
|||||||
| easyjson encode | 883 ns/op | 576 B/op | 3 allocs/op |
|
| easyjson encode | 883 ns/op | 576 B/op | 3 allocs/op |
|
||||||
| jsoniter encode | 837 ns/op | 384 B/op | 4 allocs/op |
|
| jsoniter encode | 837 ns/op | 384 B/op | 4 allocs/op |
|
||||||
|
|
||||||
|
Always benchmark with your own workload.
|
||||||
|
The result depends heavily on the data input.
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
100% compatibility with standard lib
|
100% compatibility with standard lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user