Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
neilotoole committed Oct 4, 2021
1 parent b493aa0 commit f40b13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ cat ./testdata/sakila_actor.json | jc
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:

- Stdlib `encoding/json`: Go 1.16
- 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.
- `neilotoole/jsoncolor`: (this package) `v0.2.0`.
- `neilotoole/jsoncolor`: (this package) `v0.3.2`.
- [`nwidger/jsoncolor`](https://github.com/nwidger/jsoncolor): `v0.3.0`, latest at time of benchmarks.

Note that two other Go JSON colorization packages ([`hokaccha/go-prettyjson`](https://github.com/hokaccha/go-prettyjson) and
Expand Down

0 comments on commit f40b13f

Please sign in to comment.