Skip to content

Commit 92dff34

Browse files
committed
Update README.md
1 parent 5ab551f commit 92dff34

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

README.md

+14-10
Original file line numberDiff line numberDiff line change
@@ -438,15 +438,15 @@ Benchmarks of GJSON alongside [encoding/json](https://golang.org/pkg/encoding/js
438438
and [json-iterator](https://github.com/json-iterator/go)
439439

440440
```
441-
BenchmarkGJSONGet-16 11644512 311 ns/op 0 B/op 0 allocs/op
442-
BenchmarkGJSONUnmarshalMap-16 1122678 3094 ns/op 1920 B/op 26 allocs/op
443-
BenchmarkJSONUnmarshalMap-16 516681 6810 ns/op 2944 B/op 69 allocs/op
444-
BenchmarkJSONUnmarshalStruct-16 697053 5400 ns/op 928 B/op 13 allocs/op
445-
BenchmarkJSONDecoder-16 330450 10217 ns/op 3845 B/op 160 allocs/op
446-
BenchmarkFFJSONLexer-16 1424979 2585 ns/op 880 B/op 8 allocs/op
447-
BenchmarkEasyJSONLexer-16 3000000 729 ns/op 501 B/op 5 allocs/op
448-
BenchmarkJSONParserGet-16 3000000 366 ns/op 21 B/op 0 allocs/op
449-
BenchmarkJSONIterator-16 3000000 869 ns/op 693 B/op 14 allocs/op
441+
BenchmarkGJSONGet-10 14919366 240.9 ns/op 0 B/op 0 allocs/op
442+
BenchmarkGJSONUnmarshalMap-10 1663548 2157 ns/op 1920 B/op 26 allocs/op
443+
BenchmarkJSONUnmarshalMap-10 832236 4279 ns/op 2920 B/op 68 allocs/op
444+
BenchmarkJSONUnmarshalStruct-10 1076475 3219 ns/op 920 B/op 12 allocs/op
445+
BenchmarkJSONDecoder-10 585729 6126 ns/op 3845 B/op 160 allocs/op
446+
BenchmarkFFJSONLexer-10 2508573 1391 ns/op 880 B/op 8 allocs/op
447+
BenchmarkEasyJSONLexer-10 3000000 537.9 ns/op 501 B/op 5 allocs/op
448+
BenchmarkJSONParserGet-10 13707510 263.9 ns/op 21 B/op 0 allocs/op
449+
BenchmarkJSONIterator-10 3000000 561.2 ns/op 693 B/op 14 allocs/op
450450
```
451451

452452
JSON document used:
@@ -487,4 +487,8 @@ widget.image.hOffset
487487
widget.text.onMouseUp
488488
```
489489

490-
*These benchmarks were run on a MacBook Pro 16" 2.4 GHz Intel Core i9 using Go 1.17 and can be found [here](https://github.com/tidwall/gjson-benchmarks).*
490+
**
491+
492+
Last run: Oct 1, 2024
493+
494+
*These benchmarks were run on a MacBook Pro M1 Max using Go 1.22 and can be found [here](https://github.com/tidwall/gjson-benchmarks).*

0 commit comments

Comments
 (0)