Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
neilotoole committed Oct 5, 2021
1 parent 8b47f62 commit d17702a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ cat ./testdata/sakila_actor.json | jc
## Benchmarks

Note that this package contains `golang_bench_test.go`, which is inherited from `segmentj`.
But we're mainly interested in `benchmark_test.go:BenchmarkEncode`, which benchmarks the following:
But we're mainly interested in `benchmark_test.go:BenchmarkEncode`. The results below benchmark
the following:

- Stdlib `encoding/json`: `go1.17.1`.
- [`segmentj`](https://github.com/segmentio/encoding): `v0.1.14`, which was when `jsoncolor` was forked. The newer `segmentj` code performs even better.
Expand Down

0 comments on commit d17702a

Please sign in to comment.