-
Notifications
You must be signed in to change notification settings - Fork 0
/
format.txt
36 lines (36 loc) · 2.67 KB
/
format.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
2023-06-11T21:38:19+08:00
Running ./bin/format
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.00, 4.26, 3.42
----------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------------------------------------------
BenchStreamStringFrom<std::stringstream, uint64_t> 414 ns 412 ns 1832079
BenchStreamStringFrom<std::ostringstream, uint64_t> 277 ns 276 ns 2695017
BenchStreamStringFromF<std::stringstream, float> 811 ns 806 ns 881171
BenchStreamStringFromF<std::ostringstream, float> 621 ns 617 ns 1093648
BenchToString<uint64_t> 36.2 ns 36.0 ns 24712672
BenchToStringF<float> 730 ns 734 ns 1008021
BenchStdToChars<uint64_t> 17.2 ns 17.5 ns 35578052
BenchBoostStringFrom<std::string> 63.2 ns 64.2 ns 11531574
BenchBoostStringTof<std::string> 636 ns 645 ns 1281340
BenchAbFastIntToBuffer<uint64_t> 9.13 ns 9.23 ns 88075459
BenchAbSixDigitsToBuffer<float> 16.1 ns 16.3 ns 38556404
BenchAbStrFormat<uint64_t> 47.1 ns 47.5 ns 14635185
BenchAbStrFormatF<float> 78.3 ns 78.8 ns 9216383
BenchFollyTo<uint64_t> 34.0 ns 34.1 ns 21253720
BenchFollyTof<float> 130 ns 131 ns 5370306
BenchFollyToInt<uint64_t> 19.4 ns 19.5 ns 36294205
BenchFollyToFloat<float> 99.9 ns 100 ns 7034176
BenchAbSimpleToInt<uint64_t> 17.5 ns 17.5 ns 41794222
BenchAbSimpleToFloat<float> 29.8 ns 29.8 ns 23225307
BenchStringSplitStream/threads:1 652 ns 652 ns 1112876
BenchStringSplitStream/threads:2 381 ns 761 ns 1072928
BenchStringSplitStream/threads:4 223 ns 890 ns 869424
BenchStringSplitStream/threads:8 180 ns 1063 ns 917248
0