-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
benchmark/slog: exp => std log/slog (#1363)
Migrates the benchmark for slog from exp/slog to log/slog released in Go 1.21. Updates readme generation script to include that and a LogAttrs based version. --------- Co-authored-by: Abhinav Gupta <mail@abhinavg.net>
- Loading branch information
1 parent
4ddf010
commit 2f09c51
Showing
6 changed files
with
148 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,25 @@ | ||
module go.uber.org/zap/benchmarks | ||
|
||
go 1.19 | ||
go 1.21 | ||
|
||
replace go.uber.org/zap => ../ | ||
|
||
require ( | ||
github.com/apex/log v1.9.0 | ||
github.com/go-kit/log v0.2.1 | ||
github.com/rs/zerolog v1.28.0 | ||
github.com/sirupsen/logrus v1.9.0 | ||
go.uber.org/multierr v1.10.0 | ||
github.com/rs/zerolog v1.30.0 | ||
github.com/sirupsen/logrus v1.9.3 | ||
go.uber.org/multierr v1.11.0 | ||
go.uber.org/zap v1.23.0 | ||
golang.org/x/exp v0.0.0-20230310171629-522b1b587ee0 | ||
gopkg.in/inconshreveable/log15.v2 v2.0.0-20221122034931-555555054819 | ||
gopkg.in/inconshreveable/log15.v2 v2.16.0 | ||
) | ||
|
||
require ( | ||
github.com/go-logfmt/logfmt v0.5.1 // indirect | ||
github.com/go-logfmt/logfmt v0.6.0 // indirect | ||
github.com/go-stack/stack v1.8.1 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.16 // indirect | ||
github.com/mattn/go-isatty v0.0.19 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
golang.org/x/sys v0.2.0 // indirect | ||
golang.org/x/term v0.2.0 // indirect | ||
golang.org/x/sys v0.12.0 // indirect | ||
golang.org/x/term v0.12.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters