File: slog-pc.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,018 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.97 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/5_args-8  	100000000	        11.03 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  	97441850	        10.84 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/5_args-8  	95607450	        10.82 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	62498384	        18.88 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	61121353	        18.86 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	62246416	        18.88 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	60799956	        18.89 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/10_args-8 	59061819	        18.88 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18597520	        64.12 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18031036	        64.39 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18696117	        63.94 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18752000	        63.81 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/disabled/40_args-8 	18493252	        63.88 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	 3089053	       402.2 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	 3071889	       389.2 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	 3114163	       386.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	 3103900	       386.4 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/5_args-8         	 3092712	       385.4 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 1747160	       695.9 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 1705131	       696.5 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 1718131	       689.8 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 1705776	       706.5 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/10_args-8        	 1695583	       704.3 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	  462394	      2350 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	  495303	      2381 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	  535171	      2326 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	  457449	      2331 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/async_discard/40_args-8        	  540910	      2323 ns/op	    1408 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 2504246	       487.5 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 2470434	       492.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 2494670	       484.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 2475620	       487.3 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/5_args-8      	 2399865	       498.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 1257261	       946.4 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 1279915	       929.7 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 1272433	       935.2 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 1000000	      1002 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/10_args-8     	 1243527	       975.8 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  365814	      3315 ns/op	    1413 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  336776	      3290 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  354438	      3241 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  377692	      3275 ns/op	    1413 B/op	       1 allocs/op
BenchmarkAttrs/fastText_discard/40_args-8     	  326116	      3290 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	  988131	      1076 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	  983840	      1042 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	 1000000	      1028 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	  990825	      1064 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/5_args-8          	 1000000	      1028 ns/op	       8 B/op	       2 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	  741379	      1727 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	  768871	      1736 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	  712422	      1726 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	  761432	      1715 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/10_args-8         	  768960	      1743 ns/op	     224 B/op	       5 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  224613	      5627 ns/op	    1477 B/op	      17 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  226648	      5848 ns/op	    1477 B/op	      17 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  212464	      5621 ns/op	    1477 B/op	      17 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  219996	      5690 ns/op	    1477 B/op	      17 allocs/op
BenchmarkAttrs/Text_discard/40_args-8         	  198876	      5662 ns/op	    1477 B/op	      17 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 1322396	       876.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 1359752	       940.1 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 1297011	       918.5 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 1387628	       882.2 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/5_args-8          	 1382520	       892.2 ns/op	       0 B/op	       0 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	  826593	      1558 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	  815361	      1554 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	  829800	      1551 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	  854877	      1539 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/10_args-8         	  835476	      1563 ns/op	     208 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  257505	      5145 ns/op	    1411 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  231441	      5103 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  236878	      5033 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  230604	      4987 ns/op	    1412 B/op	       1 allocs/op
BenchmarkAttrs/JSON_discard/40_args-8         	  231382	      5082 ns/op	    1412 B/op	       1 allocs/op
PASS
ok  	golang.org/x/exp/slog/benchmarks	107.152s