-
Notifications
You must be signed in to change notification settings - Fork 0
/
pb_tricks.txt
82 lines (79 loc) · 3.81 KB
/
pb_tricks.txt
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
82
131072
131072
user cpu : 0s 8485us
sys cpu : 0s 16062us
max rss : 33792 KB / 33 MB
page reclaims : 8485
page faults : 0
voluntary switches : 0
involuntary switches : 0
0
131072
user cpu : 0s 19836us
sys cpu : 0s 4033us
max rss : 33528 KB / 32.7422 MB
page reclaims : 8415
page faults : 0
voluntary switches : 0
involuntary switches : 0
0
131072
user cpu : 0s 3585us
sys cpu : 0s 0us
max rss : 2376 KB / 2.32031 MB
page reclaims : 635
page faults : 0
voluntary switches : 0
involuntary switches : 0
2023-06-11T21:44:58+08:00
Running ./bin/pb_tricks
Run on (8 X 2904 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x8)
L1 Instruction 32 KiB (x8)
L2 Unified 256 KiB (x8)
L3 Unified 16384 KiB (x1)
Load Average: 4.44, 4.22, 3.70
-----------------------------------------------------------------------
Benchmark Time CPU Iterations
-----------------------------------------------------------------------
BenchCopy/1 53.0 ns 53.1 ns 10000000
BenchCopy/8 331 ns 332 ns 1788012
BenchCopy/64 2876 ns 2879 ns 240324
BenchCopy/512 31377 ns 31399 ns 19126
BenchCopy/1024 52069 ns 52077 ns 10000
BenchCopyArena/1 49.5 ns 49.4 ns 13938250
BenchCopyArena/8 326 ns 326 ns 1998699
BenchCopyArena/64 2627 ns 2619 ns 272142
BenchCopyArena/512 24861 ns 24795 ns 26578
BenchCopyArena/1024 53657 ns 53502 ns 10000
BenchCopyArenaDifferent/1 56.0 ns 55.8 ns 10273627
BenchCopyArenaDifferent/8 340 ns 338 ns 1981694
BenchCopyArenaDifferent/64 2804 ns 2791 ns 247173
BenchCopyArenaDifferent/512 26292 ns 26176 ns 28975
BenchCopyArenaDifferent/1024 48766 ns 48541 ns 14127
BenchSwap/1 4.07 ns 4.05 ns 168650968
BenchSwap/8 4.05 ns 4.03 ns 161008705
BenchSwap/64 4.32 ns 4.30 ns 171101417
BenchSwap/512 4.06 ns 4.04 ns 173803685
BenchSwap/1024 4.04 ns 4.02 ns 166021982
BenchSwapArena/1 4.37 ns 4.34 ns 175237058
BenchSwapArena/8 5.09 ns 5.05 ns 129286508
BenchSwapArena/64 3.89 ns 3.87 ns 176577526
BenchSwapArena/512 3.89 ns 3.87 ns 166821284
BenchSwapArena/1024 3.99 ns 3.97 ns 184098386
BenchSwapArenaDifferent/1 218 ns 218 ns 2981428
BenchSwapArenaDifferent/8 997 ns 1017 ns 647685
BenchSwapArenaDifferent/64 7300 ns 7419 ns 95106
BenchSwapArenaDifferent/512 54391 ns 55154 ns 11562
BenchSwapArenaDifferent/1024 121782 ns 123106 ns 6298
BenchAddAllocate/1 8.70 ns 8.78 ns 77716377
BenchAddAllocate/8 35.1 ns 35.3 ns 22908672
BenchAddAllocate/64 218 ns 219 ns 2969179
BenchAddAllocate/512 2002 ns 2010 ns 275489
BenchAddAllocate/1024 5413 ns 5432 ns 136318
BenchAddAllocateArena/1 9.82 ns 9.85 ns 88915398
BenchAddAllocateArena/8 47.9 ns 47.9 ns 15399738
BenchAddAllocateArena/64 292 ns 291 ns 2632939
BenchAddAllocateArena/512 2992 ns 2989 ns 244960
BenchAddAllocateArena/1024 9363 ns 9347 ns 83533