golang.org/x/exp@v0.0.0-20240506185415-9bf2ced13842/slog/noplog.bench (about) 1 goos: linux 2 goarch: amd64 3 pkg: golang.org/x/exp/slog 4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz 5 BenchmarkNopLog/attrs-8 1000000 1090 ns/op 0 B/op 0 allocs/op 6 BenchmarkNopLog/attrs-8 1000000 1097 ns/op 0 B/op 0 allocs/op 7 BenchmarkNopLog/attrs-8 1000000 1078 ns/op 0 B/op 0 allocs/op 8 BenchmarkNopLog/attrs-8 1000000 1095 ns/op 0 B/op 0 allocs/op 9 BenchmarkNopLog/attrs-8 1000000 1096 ns/op 0 B/op 0 allocs/op 10 BenchmarkNopLog/attrs-parallel-8 4007268 308.2 ns/op 0 B/op 0 allocs/op 11 BenchmarkNopLog/attrs-parallel-8 4016138 299.7 ns/op 0 B/op 0 allocs/op 12 BenchmarkNopLog/attrs-parallel-8 4020529 305.9 ns/op 0 B/op 0 allocs/op 13 BenchmarkNopLog/attrs-parallel-8 3977829 303.4 ns/op 0 B/op 0 allocs/op 14 BenchmarkNopLog/attrs-parallel-8 3225438 318.5 ns/op 0 B/op 0 allocs/op 15 BenchmarkNopLog/keys-values-8 1179256 994.2 ns/op 0 B/op 0 allocs/op 16 BenchmarkNopLog/keys-values-8 1000000 1002 ns/op 0 B/op 0 allocs/op 17 BenchmarkNopLog/keys-values-8 1216710 993.2 ns/op 0 B/op 0 allocs/op 18 BenchmarkNopLog/keys-values-8 1000000 1013 ns/op 0 B/op 0 allocs/op 19 BenchmarkNopLog/keys-values-8 1000000 1016 ns/op 0 B/op 0 allocs/op 20 BenchmarkNopLog/WithContext-8 989066 1163 ns/op 0 B/op 0 allocs/op 21 BenchmarkNopLog/WithContext-8 994116 1163 ns/op 0 B/op 0 allocs/op 22 BenchmarkNopLog/WithContext-8 1000000 1152 ns/op 0 B/op 0 allocs/op 23 BenchmarkNopLog/WithContext-8 991675 1165 ns/op 0 B/op 0 allocs/op 24 BenchmarkNopLog/WithContext-8 965268 1166 ns/op 0 B/op 0 allocs/op 25 BenchmarkNopLog/WithContext-parallel-8 3955503 303.3 ns/op 0 B/op 0 allocs/op 26 BenchmarkNopLog/WithContext-parallel-8 3861188 307.8 ns/op 0 B/op 0 allocs/op 27 BenchmarkNopLog/WithContext-parallel-8 3967752 303.9 ns/op 0 B/op 0 allocs/op 28 BenchmarkNopLog/WithContext-parallel-8 3955203 302.7 ns/op 0 B/op 0 allocs/op 29 BenchmarkNopLog/WithContext-parallel-8 3948278 301.1 ns/op 0 B/op 0 allocs/op 30 BenchmarkNopLog/Ctx-8 940622 1247 ns/op 0 B/op 0 allocs/op 31 BenchmarkNopLog/Ctx-8 936381 1257 ns/op 0 B/op 0 allocs/op 32 BenchmarkNopLog/Ctx-8 959730 1266 ns/op 0 B/op 0 allocs/op 33 BenchmarkNopLog/Ctx-8 943473 1290 ns/op 0 B/op 0 allocs/op 34 BenchmarkNopLog/Ctx-8 919414 1259 ns/op 0 B/op 0 allocs/op 35 PASS 36 ok golang.org/x/exp/slog 40.566s