mirror of
https://github.com/json-iterator/go.git
synced 2025-02-19 19:59: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 |
|
||||
| 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
|
||||
|
||||
100% compatibility with standard lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user