-
Notifications
You must be signed in to change notification settings - Fork 0
/
string_length.txt
30 lines (30 loc) · 1.59 KB
/
string_length.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
2023-06-11T21:36:50+08:00
Running ./bin/string_length
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.35, 3.37
----------------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------------
BenchNaiveStrlen/1 0.757 ns 0.767 ns 919251129
BenchNaiveStrlen/8 2.62 ns 2.65 ns 268350228
BenchNaiveStrlen/64 24.0 ns 24.2 ns 29172545
BenchNaiveStrlen/512 75.3 ns 75.9 ns 8150496
BenchNaiveStrlen/4096 77.1 ns 77.6 ns 9010510
BenchNaiveStrlen/8192 78.2 ns 78.6 ns 8967960
BenchSysStrlen/1 1.43 ns 1.43 ns 482188202
BenchSysStrlen/8 1.51 ns 1.51 ns 486409790
BenchSysStrlen/64 2.30 ns 2.30 ns 326611534
BenchSysStrlen/512 3.92 ns 3.92 ns 163409246
BenchSysStrlen/4096 4.28 ns 4.28 ns 172279906
BenchSysStrlen/8192 3.91 ns 3.91 ns 175324317
BenchWrapStrLen/1 1.43 ns 1.42 ns 488412068
BenchWrapStrLen/8 1.53 ns 1.52 ns 425393182
BenchWrapStrLen/64 2.24 ns 2.24 ns 304076821
BenchWrapStrLen/512 3.94 ns 3.93 ns 170297818
BenchWrapStrLen/4096 3.93 ns 3.92 ns 180232326
BenchWrapStrLen/8192 4.00 ns 3.98 ns 183363462