mirror of
https://github.com/json-iterator/go.git
synced 2025-06-03 22:27:26 +02:00
update benchmark
This commit is contained in:
parent
e1a71f6ba1
commit
d09e2419ba
@ -11,7 +11,7 @@ Source code: https://github.com/json-iterator/go-benchmark/blob/master/src/githu
|
|||||||
Raw Result (easyjson requires static code generation)
|
Raw Result (easyjson requires static code generation)
|
||||||
|
|
||||||
| | ns/op | allocation bytes | allocation times |
|
| | ns/op | allocation bytes | allocation times |
|
||||||
| === | === | === | === |
|
| --- | --- | --- | --- |
|
||||||
| std decode | 35510 ns/op | 1960 B/op | 99 allocs/op |
|
| std decode | 35510 ns/op | 1960 B/op | 99 allocs/op |
|
||||||
| easyjson decode | 8499 ns/op | 160 B/op | 4 allocs/op |
|
| easyjson decode | 8499 ns/op | 160 B/op | 4 allocs/op |
|
||||||
| jsoniter decode | 5623 ns/op | 160 B/op | 3 allocs/op |
|
| jsoniter decode | 5623 ns/op | 160 B/op | 3 allocs/op |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user