-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstring_cat.txt
38 lines (36 loc) · 1.44 KB
/
string_cat.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
user cpu : 0s 0us
sys cpu : 0s 0us
max rss : 680 KB / 0.664062 MB
page reclaims : 252
page faults : 0
voluntary switches : 0
involuntary switches : 0
user cpu : 0s 0us
sys cpu : 0s 0us
max rss : 528 KB / 0.515625 MB
page reclaims : 138
page faults : 0
voluntary switches : 0
involuntary switches : 0
2023-06-11T21:39:38+08:00
Running ./bin/string_cat
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.02, 4.21, 3.48
---------------------------------------------------------------------
Benchmark Time CPU Iterations
---------------------------------------------------------------------
BenchStrNCat 21.1 ns 21.2 ns 32379483
BenchStdStringCat 52.5 ns 52.5 ns 12598739
BenchStreamStringCat 353 ns 353 ns 1988688
BenchStaticStreamStringCat 64.5 ns 64.4 ns 11142811
BenchFmtAppend 27.9 ns 27.9 ns 26472615
BenchBoostStrCat 138 ns 138 ns 4850033
BenchAbStrCat 35.3 ns 35.2 ns 18748877
BenchPBStrCat 36.0 ns 35.9 ns 18944778
BenchAbStrFormat 78.5 ns 78.2 ns 6989964
BenchFormat 98.7 ns 98.3 ns 7566416