commit | 4ca2cb1a16b74c1531ca536046614ca02b10a8ec | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Thu Jan 26 18:35:25 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Jan 27 13:00:21 2023 +0000 |
tree | 347aa12c3e889ce03a0b2172bd0ad167b9b9e50a | |
parent | b79b991019c5d5f3652696b380e1042787383bad [diff] |
slog/benchmarks/zap_benchmarks: add JSON benchmarks Add benchmarks for Zap's JSON encoder. The results demonstrate that slog's JSONHandler performance matches Zap's JSON encoder in typical cases. Change-Id: Idaf78fcd502bb67aa131409505081272dc8ceeac Reviewed-on: https://go-review.googlesource.com/c/exp/+/463815 Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.