File: slog.bench

package info (click to toggle)
golang-golang-x-exp 0.0~git20221028.83b7d23-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports
  • size: 6,276 kB
  • sloc: ansic: 1,900; sh: 278; objc: 276; asm: 48; makefile: 14
file content (81 lines) | stat: -rw-r--r-- 8,046 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
goos: linux
goarch: amd64
pkg: golang.org/x/exp/slog/benchmarks
cpu: Intel(R) Xeon(R) CPU @ 2.20GHz
BenchmarkAttrs/disabled/5_args-8  	100000000	        10.86 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/5_args-8  	100000000	        10.84 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/5_args-8  	100000000	        10.83 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/5_args-8  	100000000	        10.85 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/5_args-8  	96611278	        10.84 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	57230637	        18.90 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	62919320	        18.88 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	60301082	        19.08 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	61005656	        19.00 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	60954086	        18.90 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18576979	        63.79 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18501492	        63.94 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18704040	        63.76 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18194610	        63.67 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18648174	        63.85 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	13214536	        89.16 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	14343093	        85.63 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	13142229	        88.27 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	13435146	        87.02 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	13708140	        88.69 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 4533420	       280.7 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 4527133	       274.6 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 4155231	       283.7 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 4192006	       282.4 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 4219160	       278.0 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	 1283365	       930.1 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	 1301449	       943.2 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	 1261256	       914.3 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	 1298919	       887.4 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	 1342897	       889.1 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 6955764	       176.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 7571996	       157.5 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 6186126	       178.4 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 5276200	       290.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 6722038	       197.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 2247231	       511.6 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 2304651	       530.3 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 2294930	       521.2 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 2327901	       525.4 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 2202255	       530.2 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  608607	      1982 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  645728	      1967 ns/op	    1411 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  600284	      1986 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  595011	      2067 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  554013	      2037 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	 1675130	       728.9 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	 1702803	       744.2 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	 1592347	       754.2 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	 1658474	       737.4 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	 1641886	       742.2 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	 1000000	      1286 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	  985032	      1301 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	 1000000	      1285 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	  937164	      1285 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	 1000000	      1256 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  291607	      4362 ns/op	    1476 B/op	      17 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  276548	      4369 ns/op	    1476 B/op	      17 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  274687	      4354 ns/op	    1476 B/op	      17 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  299493	      4397 ns/op	    1476 B/op	      17 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  283070	      4328 ns/op	    1476 B/op	      17 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 1918728	       645.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 2024074	       606.1 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 1769748	       657.8 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 1868710	       640.6 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 1965302	       627.2 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	 1000000	      1191 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	 1000000	      1190 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	 1000000	      1240 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	 1000000	      1195 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	 1000000	      1203 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  349972	      4133 ns/op	    1411 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  298383	      4087 ns/op	    1411 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  324619	      4116 ns/op	    1411 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  302998	      4223 ns/op	    1411 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  323319	      4187 ns/op	    1411 B/op	       1 allocs/op
PASS
ok  	golang.org/x/exp/slog/benchmarks	109.134s