mirror of https://github.com/orefkov/simstr.git
791 lines
117 KiB
Plaintext
791 lines
117 KiB
Plaintext
2025-11-26T19:57:30+03:00
|
|
Running benchStr.exe
|
|
Run on (32 X 2494 MHz CPU s)
|
|
CPU Caches:
|
|
L1 Data 32 KiB (x16)
|
|
L1 Instruction 32 KiB (x16)
|
|
L2 Unified 256 KiB (x16)
|
|
L3 Unified 40960 KiB (x1)
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
Benchmark Time CPU Iterations
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e;_mean 2.95 ns 2.92 ns 10
|
|
std::string e;_median 2.90 ns 2.89 ns 10
|
|
std::string e;_stddev 0.162 ns 0.108 ns 10
|
|
std::string e;_cv 5.50 % 3.69 % 10
|
|
std::string_view e;_mean 1.85 ns 1.85 ns 10
|
|
std::string_view e;_median 1.86 ns 1.84 ns 10
|
|
std::string_view e;_stddev 0.054 ns 0.064 ns 10
|
|
std::string_view e;_cv 2.92 % 3.46 % 10
|
|
ssa e;_mean 1.52 ns 1.50 ns 10
|
|
ssa e;_median 1.51 ns 1.49 ns 10
|
|
ssa e;_stddev 0.064 ns 0.050 ns 10
|
|
ssa e;_cv 4.24 % 3.33 % 10
|
|
stringa e;_mean 2.25 ns 2.24 ns 10
|
|
stringa e;_median 2.22 ns 2.20 ns 10
|
|
stringa e;_stddev 0.093 ns 0.082 ns 10
|
|
stringa e;_cv 4.14 % 3.68 % 10
|
|
lstringa<20> e;_mean 2.58 ns 2.57 ns 10
|
|
lstringa<20> e;_median 2.58 ns 2.57 ns 10
|
|
lstringa<20> e;_stddev 0.065 ns 0.083 ns 10
|
|
lstringa<20> e;_cv 2.51 % 3.24 % 10
|
|
lstringa<40> e;_mean 2.59 ns 2.58 ns 10
|
|
lstringa<40> e;_median 2.56 ns 2.57 ns 10
|
|
lstringa<40> e;_stddev 0.067 ns 0.059 ns 10
|
|
lstringa<40> e;_cv 2.60 % 2.29 % 10
|
|
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "Test text";_mean 2.58 ns 2.58 ns 10
|
|
std::string e = "Test text";_median 2.58 ns 2.57 ns 10
|
|
std::string e = "Test text";_stddev 0.045 ns 0.063 ns 10
|
|
std::string e = "Test text";_cv 1.75 % 2.46 % 10
|
|
std::string_view e = "Test text";_mean 1.90 ns 1.89 ns 10
|
|
std::string_view e = "Test text";_median 1.86 ns 1.86 ns 10
|
|
std::string_view e = "Test text";_stddev 0.110 ns 0.102 ns 10
|
|
std::string_view e = "Test text";_cv 5.80 % 5.41 % 10
|
|
ssa e = "Test text";_mean 1.85 ns 1.84 ns 10
|
|
ssa e = "Test text";_median 1.84 ns 1.81 ns 10
|
|
ssa e = "Test text";_stddev 0.064 ns 0.068 ns 10
|
|
ssa e = "Test text";_cv 3.49 % 3.73 % 10
|
|
stringa e = "Test text";_mean 2.92 ns 2.91 ns 10
|
|
stringa e = "Test text";_median 2.87 ns 2.89 ns 10
|
|
stringa e = "Test text";_stddev 0.100 ns 0.095 ns 10
|
|
stringa e = "Test text";_cv 3.44 % 3.24 % 10
|
|
lstringa<20> e = "Test text";_mean 2.59 ns 2.57 ns 10
|
|
lstringa<20> e = "Test text";_median 2.56 ns 2.54 ns 10
|
|
lstringa<20> e = "Test text";_stddev 0.087 ns 0.083 ns 10
|
|
lstringa<20> e = "Test text";_cv 3.35 % 3.24 % 10
|
|
lstringa<40> e = "Test text";_mean 2.61 ns 2.58 ns 10
|
|
lstringa<40> e = "Test text";_median 2.58 ns 2.57 ns 10
|
|
lstringa<40> e = "Test text";_stddev 0.081 ns 0.065 ns 10
|
|
lstringa<40> e = "Test text";_cv 3.12 % 2.50 % 10
|
|
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "123456789012345678901234567890";_mean 76.0 ns 75.9 ns 10
|
|
std::string e = "123456789012345678901234567890";_median 76.2 ns 76.7 ns 10
|
|
std::string e = "123456789012345678901234567890";_stddev 1.00 ns 1.23 ns 10
|
|
std::string e = "123456789012345678901234567890";_cv 1.32 % 1.63 % 10
|
|
std::string_view e = "123456789012345678901234567890";_mean 1.82 ns 1.82 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_median 1.82 ns 1.80 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_stddev 0.029 ns 0.029 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_cv 1.58 % 1.61 % 10
|
|
ssa e = "123456789012345678901234567890";_mean 1.82 ns 1.81 ns 10
|
|
ssa e = "123456789012345678901234567890";_median 1.82 ns 1.80 ns 10
|
|
ssa e = "123456789012345678901234567890";_stddev 0.018 ns 0.033 ns 10
|
|
ssa e = "123456789012345678901234567890";_cv 1.00 % 1.83 % 10
|
|
stringa e = "123456789012345678901234567890";_mean 2.58 ns 2.56 ns 10
|
|
stringa e = "123456789012345678901234567890";_median 2.56 ns 2.54 ns 10
|
|
stringa e = "123456789012345678901234567890";_stddev 0.042 ns 0.058 ns 10
|
|
stringa e = "123456789012345678901234567890";_cv 1.62 % 2.26 % 10
|
|
lstringa<20> e = "123456789012345678901234567890";_mean 76.8 ns 76.2 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_median 75.9 ns 76.7 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_stddev 2.22 ns 2.18 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_cv 2.89 % 2.86 % 10
|
|
lstringa<40> e = "123456789012345678901234567890";_mean 3.33 ns 3.31 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_median 3.29 ns 3.30 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_stddev 0.163 ns 0.142 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_cv 4.90 % 4.30 % 10
|
|
----- Create copy of Str with 9 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "Test text"; auto c{e};_mean 6.00 ns 5.95 ns 10
|
|
std::string e = "Test text"; auto c{e};_median 5.93 ns 5.94 ns 10
|
|
std::string e = "Test text"; auto c{e};_stddev 0.228 ns 0.260 ns 10
|
|
std::string e = "Test text"; auto c{e};_cv 3.80 % 4.37 % 10
|
|
std::string_view e = "Test text"; auto c{e};_mean 3.46 ns 3.46 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_median 3.46 ns 3.44 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_stddev 0.022 ns 0.046 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_cv 0.64 % 1.34 % 10
|
|
ssa e = "Test text"; auto c{e};_mean 3.51 ns 3.50 ns 10
|
|
ssa e = "Test text"; auto c{e};_median 3.49 ns 3.49 ns 10
|
|
ssa e = "Test text"; auto c{e};_stddev 0.063 ns 0.054 ns 10
|
|
ssa e = "Test text"; auto c{e};_cv 1.79 % 1.53 % 10
|
|
stringa e = "Test text"; auto c{e};_mean 4.03 ns 4.03 ns 10
|
|
stringa e = "Test text"; auto c{e};_median 4.01 ns 4.01 ns 10
|
|
stringa e = "Test text"; auto c{e};_stddev 0.072 ns 0.069 ns 10
|
|
stringa e = "Test text"; auto c{e};_cv 1.78 % 1.71 % 10
|
|
lstringa<20> e = "Test text"; auto c{e};_mean 8.51 ns 8.48 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_median 8.55 ns 8.46 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_stddev 0.261 ns 0.221 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_cv 3.07 % 2.60 % 10
|
|
lstringa<40> e = "Test text"; auto c{e};_mean 8.43 ns 8.35 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_median 8.38 ns 8.37 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_stddev 0.192 ns 0.230 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_cv 2.28 % 2.76 % 10
|
|
----- Create copy of Str with 30 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_mean 83.0 ns 82.5 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_median 82.5 ns 82.0 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 6.88 ns 6.68 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_cv 8.29 % 8.10 % 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 1.90 ns 1.88 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 1.87 ns 1.84 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.097 ns 0.104 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 5.13 % 5.53 % 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_mean 2.02 ns 2.02 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_median 2.01 ns 2.01 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.075 ns 0.073 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_cv 3.72 % 3.61 % 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_mean 3.41 ns 3.40 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_median 3.41 ns 3.38 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.160 ns 0.166 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_cv 4.68 % 4.88 % 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 90.4 ns 90.4 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 83.6 ns 83.7 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 13.9 ns 14.5 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 15.35 % 16.03 % 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 7.11 ns 7.07 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 6.99 ns 6.84 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.506 ns 0.530 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 7.11 % 7.50 % 10
|
|
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string::find;_mean 45.0 ns 44.8 ns 10
|
|
std::string::find;_median 45.0 ns 44.9 ns 10
|
|
std::string::find;_stddev 1.20 ns 1.34 ns 10
|
|
std::string::find;_cv 2.68 % 2.99 % 10
|
|
std::string_view::find;_mean 44.2 ns 44.0 ns 10
|
|
std::string_view::find;_median 44.1 ns 44.4 ns 10
|
|
std::string_view::find;_stddev 1.41 ns 1.37 ns 10
|
|
std::string_view::find;_cv 3.19 % 3.11 % 10
|
|
ssa::find;_mean 21.8 ns 21.7 ns 10
|
|
ssa::find;_median 21.1 ns 21.2 ns 10
|
|
ssa::find;_stddev 1.70 ns 1.61 ns 10
|
|
ssa::find;_cv 7.82 % 7.42 % 10
|
|
stringa::find;_mean 31.0 ns 31.0 ns 10
|
|
stringa::find;_median 31.3 ns 31.1 ns 10
|
|
stringa::find;_stddev 1.29 ns 1.31 ns 10
|
|
stringa::find;_cv 4.16 % 4.22 % 10
|
|
lstringa<20>::find;_mean 26.3 ns 26.1 ns 10
|
|
lstringa<20>::find;_median 26.4 ns 26.2 ns 10
|
|
lstringa<20>::find;_stddev 1.00 ns 0.865 ns 10
|
|
lstringa<20>::find;_cv 3.83 % 3.31 % 10
|
|
lstringa<40>::find;_mean 24.9 ns 24.7 ns 10
|
|
lstringa<40>::find;_median 25.0 ns 24.9 ns 10
|
|
lstringa<40>::find;_stddev 2.48 ns 2.52 ns 10
|
|
lstringa<40>::find;_cv 9.95 % 10.17 % 10
|
|
------- Copy not literal Str with N symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string copy{str_with_len_N};/15_mean 4.45 ns 4.44 ns 10
|
|
std::string copy{str_with_len_N};/15_median 4.43 ns 4.43 ns 10
|
|
std::string copy{str_with_len_N};/15_stddev 0.086 ns 0.094 ns 10
|
|
std::string copy{str_with_len_N};/15_cv 1.92 % 2.11 % 10
|
|
std::string copy{str_with_len_N};/16_mean 94.0 ns 93.8 ns 10
|
|
std::string copy{str_with_len_N};/16_median 95.6 ns 95.9 ns 10
|
|
std::string copy{str_with_len_N};/16_stddev 6.54 ns 6.36 ns 10
|
|
std::string copy{str_with_len_N};/16_cv 6.96 % 6.78 % 10
|
|
std::string copy{str_with_len_N};/23_mean 94.8 ns 94.4 ns 10
|
|
std::string copy{str_with_len_N};/23_median 96.5 ns 95.2 ns 10
|
|
std::string copy{str_with_len_N};/23_stddev 5.33 ns 4.98 ns 10
|
|
std::string copy{str_with_len_N};/23_cv 5.62 % 5.27 % 10
|
|
std::string copy{str_with_len_N};/24_mean 97.7 ns 97.3 ns 10
|
|
std::string copy{str_with_len_N};/24_median 95.9 ns 96.3 ns 10
|
|
std::string copy{str_with_len_N};/24_stddev 9.75 ns 9.88 ns 10
|
|
std::string copy{str_with_len_N};/24_cv 9.97 % 10.15 % 10
|
|
std::string copy{str_with_len_N};/32_mean 95.8 ns 95.7 ns 10
|
|
std::string copy{str_with_len_N};/32_median 94.1 ns 93.5 ns 10
|
|
std::string copy{str_with_len_N};/32_stddev 8.79 ns 8.93 ns 10
|
|
std::string copy{str_with_len_N};/32_cv 9.18 % 9.33 % 10
|
|
std::string copy{str_with_len_N};/64_mean 94.1 ns 93.3 ns 10
|
|
std::string copy{str_with_len_N};/64_median 95.5 ns 95.2 ns 10
|
|
std::string copy{str_with_len_N};/64_stddev 8.50 ns 8.67 ns 10
|
|
std::string copy{str_with_len_N};/64_cv 9.04 % 9.29 % 10
|
|
std::string copy{str_with_len_N};/128_mean 103 ns 104 ns 10
|
|
std::string copy{str_with_len_N};/128_median 106 ns 106 ns 10
|
|
std::string copy{str_with_len_N};/128_stddev 6.50 ns 6.43 ns 10
|
|
std::string copy{str_with_len_N};/128_cv 6.28 % 6.21 % 10
|
|
std::string copy{str_with_len_N};/256_mean 105 ns 105 ns 10
|
|
std::string copy{str_with_len_N};/256_median 107 ns 107 ns 10
|
|
std::string copy{str_with_len_N};/256_stddev 5.83 ns 5.81 ns 10
|
|
std::string copy{str_with_len_N};/256_cv 5.54 % 5.52 % 10
|
|
std::string copy{str_with_len_N};/512_mean 97.1 ns 96.7 ns 10
|
|
std::string copy{str_with_len_N};/512_median 94.0 ns 92.8 ns 10
|
|
std::string copy{str_with_len_N};/512_stddev 8.76 ns 9.15 ns 10
|
|
std::string copy{str_with_len_N};/512_cv 9.02 % 9.46 % 10
|
|
std::string copy{str_with_len_N};/1024_mean 99.1 ns 98.8 ns 10
|
|
std::string copy{str_with_len_N};/1024_median 97.8 ns 97.3 ns 10
|
|
std::string copy{str_with_len_N};/1024_stddev 5.07 ns 5.39 ns 10
|
|
std::string copy{str_with_len_N};/1024_cv 5.11 % 5.45 % 10
|
|
std::string copy{str_with_len_N};/2048_mean 140 ns 139 ns 10
|
|
std::string copy{str_with_len_N};/2048_median 139 ns 138 ns 10
|
|
std::string copy{str_with_len_N};/2048_stddev 10.2 ns 10.6 ns 10
|
|
std::string copy{str_with_len_N};/2048_cv 7.27 % 7.64 % 10
|
|
std::string copy{str_with_len_N};/4096_mean 187 ns 186 ns 10
|
|
std::string copy{str_with_len_N};/4096_median 186 ns 184 ns 10
|
|
std::string copy{str_with_len_N};/4096_stddev 5.96 ns 7.18 ns 10
|
|
std::string copy{str_with_len_N};/4096_cv 3.19 % 3.86 % 10
|
|
stringa copy{str_with_len_N};/15_mean 4.03 ns 4.03 ns 10
|
|
stringa copy{str_with_len_N};/15_median 4.03 ns 4.04 ns 10
|
|
stringa copy{str_with_len_N};/15_stddev 0.040 ns 0.063 ns 10
|
|
stringa copy{str_with_len_N};/15_cv 0.99 % 1.57 % 10
|
|
stringa copy{str_with_len_N};/16_mean 4.09 ns 4.08 ns 10
|
|
stringa copy{str_with_len_N};/16_median 4.08 ns 4.08 ns 10
|
|
stringa copy{str_with_len_N};/16_stddev 0.074 ns 0.074 ns 10
|
|
stringa copy{str_with_len_N};/16_cv 1.81 % 1.81 % 10
|
|
stringa copy{str_with_len_N};/23_mean 4.06 ns 4.05 ns 10
|
|
stringa copy{str_with_len_N};/23_median 4.04 ns 4.01 ns 10
|
|
stringa copy{str_with_len_N};/23_stddev 0.085 ns 0.102 ns 10
|
|
stringa copy{str_with_len_N};/23_cv 2.10 % 2.53 % 10
|
|
stringa copy{str_with_len_N};/24_mean 18.7 ns 18.7 ns 10
|
|
stringa copy{str_with_len_N};/24_median 18.6 ns 18.6 ns 10
|
|
stringa copy{str_with_len_N};/24_stddev 0.551 ns 0.529 ns 10
|
|
stringa copy{str_with_len_N};/24_cv 2.95 % 2.84 % 10
|
|
stringa copy{str_with_len_N};/32_mean 18.6 ns 18.5 ns 10
|
|
stringa copy{str_with_len_N};/32_median 18.5 ns 18.4 ns 10
|
|
stringa copy{str_with_len_N};/32_stddev 0.450 ns 0.618 ns 10
|
|
stringa copy{str_with_len_N};/32_cv 2.42 % 3.34 % 10
|
|
stringa copy{str_with_len_N};/64_mean 18.9 ns 18.7 ns 10
|
|
stringa copy{str_with_len_N};/64_median 18.4 ns 18.4 ns 10
|
|
stringa copy{str_with_len_N};/64_stddev 0.854 ns 0.887 ns 10
|
|
stringa copy{str_with_len_N};/64_cv 4.51 % 4.75 % 10
|
|
stringa copy{str_with_len_N};/128_mean 18.4 ns 18.3 ns 10
|
|
stringa copy{str_with_len_N};/128_median 18.3 ns 18.4 ns 10
|
|
stringa copy{str_with_len_N};/128_stddev 0.179 ns 0.345 ns 10
|
|
stringa copy{str_with_len_N};/128_cv 0.98 % 1.88 % 10
|
|
stringa copy{str_with_len_N};/256_mean 18.6 ns 18.4 ns 10
|
|
stringa copy{str_with_len_N};/256_median 18.4 ns 18.4 ns 10
|
|
stringa copy{str_with_len_N};/256_stddev 0.484 ns 0.441 ns 10
|
|
stringa copy{str_with_len_N};/256_cv 2.60 % 2.40 % 10
|
|
stringa copy{str_with_len_N};/512_mean 19.5 ns 19.4 ns 10
|
|
stringa copy{str_with_len_N};/512_median 19.7 ns 19.3 ns 10
|
|
stringa copy{str_with_len_N};/512_stddev 1.11 ns 1.27 ns 10
|
|
stringa copy{str_with_len_N};/512_cv 5.69 % 6.52 % 10
|
|
stringa copy{str_with_len_N};/1024_mean 18.3 ns 18.2 ns 10
|
|
stringa copy{str_with_len_N};/1024_median 18.3 ns 18.4 ns 10
|
|
stringa copy{str_with_len_N};/1024_stddev 0.076 ns 0.293 ns 10
|
|
stringa copy{str_with_len_N};/1024_cv 0.41 % 1.60 % 10
|
|
stringa copy{str_with_len_N};/2048_mean 18.5 ns 18.3 ns 10
|
|
stringa copy{str_with_len_N};/2048_median 18.4 ns 18.4 ns 10
|
|
stringa copy{str_with_len_N};/2048_stddev 0.464 ns 0.324 ns 10
|
|
stringa copy{str_with_len_N};/2048_cv 2.51 % 1.77 % 10
|
|
stringa copy{str_with_len_N};/4096_mean 18.9 ns 18.8 ns 10
|
|
stringa copy{str_with_len_N};/4096_median 18.5 ns 18.4 ns 10
|
|
stringa copy{str_with_len_N};/4096_stddev 0.764 ns 0.878 ns 10
|
|
stringa copy{str_with_len_N};/4096_cv 4.04 % 4.68 % 10
|
|
lstringa<16> copy{str_with_len_N};/15_mean 7.85 ns 7.85 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_median 7.76 ns 7.76 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_stddev 0.249 ns 0.273 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_cv 3.17 % 3.47 % 10
|
|
lstringa<16> copy{str_with_len_N};/16_mean 8.07 ns 7.95 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_median 7.84 ns 7.67 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_stddev 0.878 ns 0.831 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_cv 10.88 % 10.45 % 10
|
|
lstringa<16> copy{str_with_len_N};/23_mean 7.94 ns 7.81 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_median 7.84 ns 7.85 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_stddev 0.303 ns 0.110 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_cv 3.82 % 1.41 % 10
|
|
lstringa<16> copy{str_with_len_N};/24_mean 82.8 ns 82.5 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_median 82.6 ns 82.8 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_stddev 1.55 ns 2.02 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_cv 1.87 % 2.45 % 10
|
|
lstringa<16> copy{str_with_len_N};/32_mean 85.5 ns 85.4 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_median 85.5 ns 85.8 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_stddev 1.49 ns 1.92 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_cv 1.74 % 2.25 % 10
|
|
lstringa<16> copy{str_with_len_N};/64_mean 85.1 ns 84.9 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_median 84.2 ns 83.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_stddev 2.49 ns 2.47 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_cv 2.93 % 2.91 % 10
|
|
lstringa<16> copy{str_with_len_N};/128_mean 89.8 ns 89.4 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_median 89.0 ns 88.9 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_stddev 2.82 ns 2.80 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_cv 3.13 % 3.13 % 10
|
|
lstringa<16> copy{str_with_len_N};/256_mean 655 ns 649 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_median 653 ns 642 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_stddev 12.4 ns 13.6 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_cv 1.90 % 2.09 % 10
|
|
lstringa<16> copy{str_with_len_N};/512_mean 92.5 ns 91.6 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_median 92.8 ns 91.6 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_stddev 3.03 ns 2.50 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_cv 3.28 % 2.73 % 10
|
|
lstringa<16> copy{str_with_len_N};/1024_mean 101 ns 98.9 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_median 99.0 ns 97.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_stddev 5.09 ns 5.55 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_cv 5.06 % 5.61 % 10
|
|
lstringa<16> copy{str_with_len_N};/2048_mean 132 ns 131 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_median 131 ns 130 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_stddev 3.95 ns 4.45 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_cv 2.99 % 3.40 % 10
|
|
lstringa<16> copy{str_with_len_N};/4096_mean 196 ns 194 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_median 197 ns 195 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_stddev 8.06 ns 8.83 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_cv 4.11 % 4.56 % 10
|
|
lstringa<512> copy{str_with_len_N};/15_mean 8.62 ns 8.58 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_median 8.51 ns 8.54 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_stddev 0.324 ns 0.356 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_cv 3.76 % 4.15 % 10
|
|
lstringa<512> copy{str_with_len_N};/16_mean 8.94 ns 8.84 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_median 8.65 ns 8.63 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_stddev 0.625 ns 0.688 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_cv 6.99 % 7.78 % 10
|
|
lstringa<512> copy{str_with_len_N};/23_mean 8.67 ns 8.58 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_median 8.53 ns 8.58 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_stddev 0.469 ns 0.463 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_cv 5.41 % 5.39 % 10
|
|
lstringa<512> copy{str_with_len_N};/24_mean 8.44 ns 8.39 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_median 8.45 ns 8.37 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_stddev 0.183 ns 0.208 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_cv 2.17 % 2.48 % 10
|
|
lstringa<512> copy{str_with_len_N};/32_mean 12.0 ns 11.9 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_median 11.9 ns 11.9 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_stddev 0.246 ns 0.275 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_cv 2.06 % 2.31 % 10
|
|
lstringa<512> copy{str_with_len_N};/64_mean 12.1 ns 12.0 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_median 12.0 ns 12.0 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_stddev 0.503 ns 0.321 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_cv 4.16 % 2.68 % 10
|
|
lstringa<512> copy{str_with_len_N};/128_mean 12.3 ns 12.2 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_median 12.3 ns 12.2 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_stddev 0.130 ns 0.178 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_cv 1.06 % 1.46 % 10
|
|
lstringa<512> copy{str_with_len_N};/256_mean 13.2 ns 13.0 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_median 12.9 ns 12.8 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_stddev 0.876 ns 0.958 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_cv 6.66 % 7.35 % 10
|
|
lstringa<512> copy{str_with_len_N};/512_mean 14.6 ns 14.4 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_median 14.6 ns 14.4 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_stddev 0.416 ns 0.362 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_cv 2.84 % 2.51 % 10
|
|
lstringa<512> copy{str_with_len_N};/1024_mean 98.2 ns 97.9 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_median 99.0 ns 98.4 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_stddev 3.15 ns 3.24 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_cv 3.21 % 3.31 % 10
|
|
lstringa<512> copy{str_with_len_N};/2048_mean 131 ns 130 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_median 131 ns 132 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_stddev 3.47 ns 3.03 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_cv 2.66 % 2.33 % 10
|
|
lstringa<512> copy{str_with_len_N};/4096_mean 195 ns 193 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_median 193 ns 193 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_stddev 8.17 ns 8.37 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_cv 4.18 % 4.35 % 10
|
|
----- Convert to int '1234567' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_mean 32.4 ns 32.2 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 32.5 ns 32.1 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.397 ns 0.455 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 1.23 % 1.42 % 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 15.0 ns 15.0 ns 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 15.1 ns 15.2 ns 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.852 ns 0.770 ns 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 5.68 % 5.14 % 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 15.3 ns 15.1 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 14.9 ns 14.9 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.752 ns 0.501 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 4.93 % 3.32 % 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 16.2 ns 15.8 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 16.3 ns 15.5 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.833 ns 0.768 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 5.13 % 4.87 % 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 15.9 ns 15.5 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 16.0 ns 15.5 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.591 ns 0.499 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.71 % 3.22 % 10
|
|
----- Convert to unsigned 'abcDef' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_mean 35.7 ns 35.3 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 35.6 ns 35.7 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.826 ns 0.617 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 2.31 % 1.75 % 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 9.90 ns 9.75 ns 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 9.83 ns 9.84 ns 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.322 ns 0.176 ns 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 3.25 % 1.81 % 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 14.6 ns 14.3 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 14.5 ns 14.2 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.426 ns 0.353 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.93 % 2.46 % 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 14.0 ns 13.6 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 13.8 ns 13.7 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.442 ns 0.176 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.16 % 1.30 % 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 13.9 ns 13.7 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 13.6 ns 13.5 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.600 ns 0.368 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 4.32 % 2.69 % 10
|
|
----- Convert to int ' 1234567' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_mean 47.2 ns 46.1 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 47.6 ns 45.4 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 1.81 ns 1.51 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 3.83 % 3.28 % 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 20.0 ns 19.8 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 20.1 ns 20.1 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 1.14 ns 1.26 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 5.72 % 6.38 % 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 18.5 ns 18.2 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 18.3 ns 18.2 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.872 ns 0.630 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 4.71 % 3.47 % 10
|
|
----- Convert to double '1234.567e10' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_mean 106 ns 103 ns 10
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 106 ns 101 ns 10
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 3.88 ns 5.53 ns 10
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 3.67 % 5.35 % 10
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 85.6 ns 83.4 ns 10
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 85.1 ns 82.8 ns 10
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 3.98 ns 2.30 ns 10
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 4.65 % 2.75 % 10
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_mean 37.7 ns 37.1 ns 10
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_median 37.8 ns 37.7 ns 10
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 1.27 ns 1.26 ns 10
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_cv 3.38 % 3.38 % 10
|
|
-- Append const literal of 16 bytes 64 times, 1024 total length --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_mean 5830 ns 5720 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_median 5859 ns 5650 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 286 ns 218 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 4.90 % 3.81 % 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_mean 1313 ns 1300 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_median 1287 ns 1287 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_stddev 60.3 ns 44.9 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_cv 4.59 % 3.45 % 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 973 ns 958 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 958 ns 952 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 47.7 ns 38.0 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 4.90 % 3.96 % 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 541 ns 539 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 542 ns 539 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 10.1 ns 13.3 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 1.87 % 2.46 % 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 365 ns 363 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 363 ns 361 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 11.3 ns 12.0 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 3.11 % 3.30 % 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 254 ns 251 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 252 ns 254 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 9.08 ns 6.52 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 3.57 % 2.60 % 10
|
|
-- Append string of 16 bytes and const literal of 16 bytes 32 times, 1024 total length --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_mean 5571 ns 5547 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 5587 ns 5625 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 161 ns 184 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 2.88 % 3.32 % 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 4182 ns 4187 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 4019 ns 4051 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 473 ns 453 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 11.30 % 10.83 % 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 827 ns 818 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 821 ns 816 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 13.5 ns 15.4 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.63 % 1.89 % 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 542 ns 534 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 537 ns 530 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 18.1 ns 6.74 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.34 % 1.26 % 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 381 ns 380 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 376 ns 372 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 15.9 ns 18.4 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.17 % 4.83 % 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 271 ns 270 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 269 ns 270 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 7.20 ns 6.62 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.66 % 2.45 % 10
|
|
-- Append string of 16 bytes and const literal of 16 bytes 2048 times, 65536 total length --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_mean 284627 ns 281865 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 284009 ns 282493 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 11243 ns 7516 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 3.95 % 2.67 % 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 193928 ns 192121 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 193685 ns 192540 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 4904 ns 3665 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.53 % 1.91 % 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 23525 ns 23333 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 23269 ns 23280 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 737 ns 505 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.13 % 2.17 % 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 22444 ns 22168 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 22628 ns 22217 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 812 ns 1035 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.62 % 4.67 % 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 22848 ns 22656 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 22732 ns 22705 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 519 ns 573 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.27 % 2.53 % 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 21680 ns 21484 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 21456 ns 21484 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 666 ns 515 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.07 % 2.40 % 10
|
|
-- Append 2 string of 16 bytes 32 times, 1024 total length --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; ... str << str_var1 << str_var2;_mean 5453 ns 5406 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_median 5451 ns 5391 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_stddev 231 ns 168 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_cv 4.24 % 3.11 % 10
|
|
std::string str; ... str += str_var1 + str_var2;_mean 4415 ns 4371 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_median 4393 ns 4353 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_stddev 385 ns 377 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_cv 8.72 % 8.63 % 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_mean 959 ns 942 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_median 940 ns 921 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 57.9 ns 45.2 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_cv 6.04 % 4.80 % 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_mean 656 ns 646 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_median 647 ns 642 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 28.2 ns 18.7 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_cv 4.30 % 2.89 % 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_mean 484 ns 478 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_median 483 ns 481 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 14.5 ns 9.93 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_cv 3.00 % 2.08 % 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 388 ns 382 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_median 379 ns 377 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 30.0 ns 22.8 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 7.74 % 5.96 % 10
|
|
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; str << "test = " << k << " times";_mean 12174 ns 12137 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_median 11764 ns 11719 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_stddev 1156 ns 1164 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_cv 9.50 % 9.59 % 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_mean 1244 ns 1239 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_median 1242 ns 1242 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_stddev 22.1 ns 27.0 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_cv 1.78 % 2.18 % 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2886 ns 2856 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2866 ns 2825 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 70.1 ns 79.7 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 2.43 % 2.79 % 10
|
|
std::string str = std::format("test = {} times", k);_mean 2480 ns 2455 ns 10
|
|
std::string str = std::format("test = {} times", k);_median 2463 ns 2426 ns 10
|
|
std::string str = std::format("test = {} times", k);_stddev 103 ns 102 ns 10
|
|
std::string str = std::format("test = {} times", k);_cv 4.16 % 4.13 % 10
|
|
lstringa<8> str; str.format("test = {} times", k);_mean 2641 ns 2621 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_median 2628 ns 2609 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_stddev 73.3 ns 67.3 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_cv 2.77 % 2.57 % 10
|
|
lstringa<32> str; str.format("test = {} times", k);_mean 1551 ns 1538 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_median 1550 ns 1535 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_stddev 30.9 ns 25.7 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_cv 1.99 % 1.67 % 10
|
|
lstringa<8> str = "test = " + k + " times";_mean 911 ns 906 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_median 912 ns 903 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_stddev 19.4 ns 18.0 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_cv 2.13 % 1.99 % 10
|
|
lstringa<32> str = "test = " + k + " times";_mean 195 ns 192 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_median 192 ns 190 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_stddev 5.69 ns 5.32 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_cv 2.92 % 2.77 % 10
|
|
stringa str = "test = " + k + " times";_mean 247 ns 244 ns 10
|
|
stringa str = "test = " + k + " times";_median 243 ns 244 ns 10
|
|
stringa str = "test = " + k + " times";_stddev 11.5 ns 6.58 ns 10
|
|
stringa str = "test = " + k + " times";_cv 4.68 % 2.69 % 10
|
|
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string::find + substr + std::strtol_mean 571 ns 564 ns 10
|
|
std::string::find + substr + std::strtol_median 562 ns 562 ns 10
|
|
std::string::find + substr + std::strtol_stddev 24.3 ns 23.8 ns 10
|
|
std::string::find + substr + std::strtol_cv 4.26 % 4.22 % 10
|
|
ssa::splitter + ssa::as_int_mean 311 ns 304 ns 10
|
|
ssa::splitter + ssa::as_int_median 308 ns 301 ns 10
|
|
ssa::splitter + ssa::as_int_stddev 16.7 ns 10.4 ns 10
|
|
ssa::splitter + ssa::as_int_cv 5.38 % 3.40 % 10
|
|
ssa::splitf + functor_mean 220 ns 216 ns 10
|
|
ssa::splitf + functor_median 217 ns 215 ns 10
|
|
ssa::splitf + functor_stddev 7.86 ns 6.11 ns 10
|
|
ssa::splitf + functor_cv 3.58 % 2.83 % 10
|
|
-- Replace symbols in text ~400 symbols --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Naive (and wrong) replace symbols with std::string find + replace_mean 1258 ns 1247 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_median 1241 ns 1228 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_stddev 44.5 ns 37.3 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_cv 3.54 % 2.99 % 10
|
|
replace symbols with std::string find_first_of + replace_mean 2344 ns 2317 ns 10
|
|
replace symbols with std::string find_first_of + replace_median 2350 ns 2312 ns 10
|
|
replace symbols with std::string find_first_of + replace_stddev 183 ns 179 ns 10
|
|
replace symbols with std::string find_first_of + replace_cv 7.80 % 7.74 % 10
|
|
replace symbols with std::string_view find_first_of + copy_mean 2606 ns 2600 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_median 2547 ns 2511 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_stddev 175 ns 188 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_cv 6.70 % 7.23 % 10
|
|
replace runtime symbols with string expressions and without remembering all search results_mean 1524 ns 1521 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_median 1515 ns 1517 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_stddev 48.0 ns 44.1 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_cv 3.15 % 2.90 % 10
|
|
replace runtime symbols with simstr and memorization of all search results_mean 1405 ns 1390 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_median 1399 ns 1381 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_stddev 53.5 ns 45.2 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_cv 3.81 % 3.25 % 10
|
|
replace const symbols with string expressions and without remembering all search results_mean 1288 ns 1270 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_median 1278 ns 1256 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_stddev 56.7 ns 40.0 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_cv 4.40 % 3.15 % 10
|
|
replace const symbols with string expressions and memorization of all search results_mean 1198 ns 1194 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_median 1197 ns 1200 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_stddev 26.6 ns 28.8 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_cv 2.22 % 2.41 % 10
|
|
-- Replace symbols in text ~40 symbols --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_mean 346 ns 342 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_median 343 ns 342 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 8.86 ns 5.15 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.56 % 1.50 % 10
|
|
Short replace symbols with std::string find_first_of + replace_mean 435 ns 435 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_median 435 ns 435 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_stddev 15.1 ns 14.7 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_cv 3.48 % 3.39 % 10
|
|
Short replace symbols with std::string_view find_first_of + copy_mean 381 ns 377 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_median 382 ns 377 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_stddev 19.3 ns 20.0 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_cv 5.07 % 5.31 % 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_mean 277 ns 276 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_median 276 ns 276 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_stddev 6.52 ns 6.91 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_cv 2.35 % 2.51 % 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_mean 374 ns 374 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_median 374 ns 371 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_stddev 7.40 ns 9.60 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_cv 1.98 % 2.57 % 10
|
|
Short replace const symbols with string expressions and without remembering all search results_mean 252 ns 251 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_median 250 ns 251 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_stddev 3.37 ns 4.72 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_cv 1.34 % 1.88 % 10
|
|
Short replace const symbols with string expressions and memorization of all search results_mean 342 ns 341 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_median 331 ns 330 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_stddev 29.9 ns 31.1 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_cv 8.73 % 9.14 % 10
|
|
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to ---- in std::string|64_mean 248 ns 248 ns 10
|
|
replace bb to ---- in std::string|64_median 245 ns 246 ns 10
|
|
replace bb to ---- in std::string|64_stddev 8.91 ns 8.80 ns 10
|
|
replace bb to ---- in std::string|64_cv 3.59 % 3.55 % 10
|
|
replace bb to ---- in std::string|256_mean 807 ns 799 ns 10
|
|
replace bb to ---- in std::string|256_median 803 ns 802 ns 10
|
|
replace bb to ---- in std::string|256_stddev 23.6 ns 24.4 ns 10
|
|
replace bb to ---- in std::string|256_cv 2.93 % 3.05 % 10
|
|
replace bb to ---- in std::string|512_mean 1551 ns 1535 ns 10
|
|
replace bb to ---- in std::string|512_median 1532 ns 1517 ns 10
|
|
replace bb to ---- in std::string|512_stddev 79.4 ns 71.7 ns 10
|
|
replace bb to ---- in std::string|512_cv 5.12 % 4.67 % 10
|
|
replace bb to ---- in std::string|1024_mean 3622 ns 3610 ns 10
|
|
replace bb to ---- in std::string|1024_median 3713 ns 3706 ns 10
|
|
replace bb to ---- in std::string|1024_stddev 355 ns 361 ns 10
|
|
replace bb to ---- in std::string|1024_cv 9.79 % 10.00 % 10
|
|
replace bb to ---- in std::string|2048_mean 8251 ns 8126 ns 10
|
|
replace bb to ---- in std::string|2048_median 8212 ns 8109 ns 10
|
|
replace bb to ---- in std::string|2048_stddev 224 ns 187 ns 10
|
|
replace bb to ---- in std::string|2048_cv 2.72 % 2.31 % 10
|
|
replace bb to ---- in lstringa<8>|64_mean 331 ns 328 ns 10
|
|
replace bb to ---- in lstringa<8>|64_median 329 ns 329 ns 10
|
|
replace bb to ---- in lstringa<8>|64_stddev 13.1 ns 9.60 ns 10
|
|
replace bb to ---- in lstringa<8>|64_cv 3.95 % 2.93 % 10
|
|
replace bb to ---- in lstringa<8>|256_mean 685 ns 677 ns 10
|
|
replace bb to ---- in lstringa<8>|256_median 689 ns 680 ns 10
|
|
replace bb to ---- in lstringa<8>|256_stddev 11.8 ns 16.0 ns 10
|
|
replace bb to ---- in lstringa<8>|256_cv 1.72 % 2.37 % 10
|
|
replace bb to ---- in lstringa<8>|512_mean 1198 ns 1189 ns 10
|
|
replace bb to ---- in lstringa<8>|512_median 1186 ns 1172 ns 10
|
|
replace bb to ---- in lstringa<8>|512_stddev 44.1 ns 40.0 ns 10
|
|
replace bb to ---- in lstringa<8>|512_cv 3.68 % 3.36 % 10
|
|
replace bb to ---- in lstringa<8>|1024_mean 2107 ns 2090 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_median 2091 ns 2100 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_stddev 46.7 ns 30.9 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_cv 2.22 % 1.48 % 10
|
|
replace bb to ---- in lstringa<8>|2048_mean 4065 ns 3972 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_median 4024 ns 3990 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_stddev 156 ns 147 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_cv 3.84 % 3.70 % 10
|
|
replace bb to ---- by init stringa|64_mean 230 ns 227 ns 10
|
|
replace bb to ---- by init stringa|64_median 230 ns 228 ns 10
|
|
replace bb to ---- by init stringa|64_stddev 9.24 ns 7.88 ns 10
|
|
replace bb to ---- by init stringa|64_cv 4.01 % 3.47 % 10
|
|
replace bb to ---- by init stringa|256_mean 582 ns 582 ns 10
|
|
replace bb to ---- by init stringa|256_median 584 ns 586 ns 10
|
|
replace bb to ---- by init stringa|256_stddev 11.2 ns 13.2 ns 10
|
|
replace bb to ---- by init stringa|256_cv 1.93 % 2.28 % 10
|
|
replace bb to ---- by init stringa|512_mean 1007 ns 999 ns 10
|
|
replace bb to ---- by init stringa|512_median 1000 ns 989 ns 10
|
|
replace bb to ---- by init stringa|512_stddev 32.1 ns 40.6 ns 10
|
|
replace bb to ---- by init stringa|512_cv 3.19 % 4.07 % 10
|
|
replace bb to ---- by init stringa|1024_mean 1913 ns 1875 ns 10
|
|
replace bb to ---- by init stringa|1024_median 1878 ns 1842 ns 10
|
|
replace bb to ---- by init stringa|1024_stddev 90.7 ns 70.6 ns 10
|
|
replace bb to ---- by init stringa|1024_cv 4.74 % 3.76 % 10
|
|
replace bb to ---- by init stringa|2048_mean 3605 ns 3557 ns 10
|
|
replace bb to ---- by init stringa|2048_median 3575 ns 3557 ns 10
|
|
replace bb to ---- by init stringa|2048_stddev 96.4 ns 44.1 ns 10
|
|
replace bb to ---- by init stringa|2048_cv 2.67 % 1.24 % 10
|
|
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to -- in std::string|64_mean 206 ns 206 ns 10
|
|
replace bb to -- in std::string|64_median 208 ns 208 ns 10
|
|
replace bb to -- in std::string|64_stddev 4.04 ns 5.04 ns 10
|
|
replace bb to -- in std::string|64_cv 1.96 % 2.45 % 10
|
|
replace bb to -- in std::string|256_mean 533 ns 529 ns 10
|
|
replace bb to -- in std::string|256_median 530 ns 530 ns 10
|
|
replace bb to -- in std::string|256_stddev 13.4 ns 12.2 ns 10
|
|
replace bb to -- in std::string|256_cv 2.51 % 2.31 % 10
|
|
replace bb to -- in std::string|512_mean 968 ns 963 ns 10
|
|
replace bb to -- in std::string|512_median 958 ns 963 ns 10
|
|
replace bb to -- in std::string|512_stddev 22.6 ns 29.6 ns 10
|
|
replace bb to -- in std::string|512_cv 2.34 % 3.07 % 10
|
|
replace bb to -- in std::string|1024_mean 1840 ns 1837 ns 10
|
|
replace bb to -- in std::string|1024_median 1821 ns 1800 ns 10
|
|
replace bb to -- in std::string|1024_stddev 47.0 ns 53.9 ns 10
|
|
replace bb to -- in std::string|1024_cv 2.55 % 2.93 % 10
|
|
replace bb to -- in std::string|2048_mean 3641 ns 3618 ns 10
|
|
replace bb to -- in std::string|2048_median 3590 ns 3610 ns 10
|
|
replace bb to -- in std::string|2048_stddev 149 ns 116 ns 10
|
|
replace bb to -- in std::string|2048_cv 4.08 % 3.21 % 10
|
|
replace bb to -- in lstringa<8>|64_mean 200 ns 198 ns 10
|
|
replace bb to -- in lstringa<8>|64_median 198 ns 195 ns 10
|
|
replace bb to -- in lstringa<8>|64_stddev 8.44 ns 7.53 ns 10
|
|
replace bb to -- in lstringa<8>|64_cv 4.22 % 3.81 % 10
|
|
replace bb to -- in lstringa<8>|256_mean 475 ns 472 ns 10
|
|
replace bb to -- in lstringa<8>|256_median 464 ns 469 ns 10
|
|
replace bb to -- in lstringa<8>|256_stddev 25.0 ns 17.7 ns 10
|
|
replace bb to -- in lstringa<8>|256_cv 5.27 % 3.76 % 10
|
|
replace bb to -- in lstringa<8>|512_mean 816 ns 809 ns 10
|
|
replace bb to -- in lstringa<8>|512_median 818 ns 811 ns 10
|
|
replace bb to -- in lstringa<8>|512_stddev 6.07 ns 16.8 ns 10
|
|
replace bb to -- in lstringa<8>|512_cv 0.74 % 2.08 % 10
|
|
replace bb to -- in lstringa<8>|1024_mean 1508 ns 1507 ns 10
|
|
replace bb to -- in lstringa<8>|1024_median 1498 ns 1500 ns 10
|
|
replace bb to -- in lstringa<8>|1024_stddev 27.1 ns 27.5 ns 10
|
|
replace bb to -- in lstringa<8>|1024_cv 1.80 % 1.83 % 10
|
|
replace bb to -- in lstringa<8>|2048_mean 2969 ns 2930 ns 10
|
|
replace bb to -- in lstringa<8>|2048_median 2940 ns 2930 ns 10
|
|
replace bb to -- in lstringa<8>|2048_stddev 84.7 ns 48.8 ns 10
|
|
replace bb to -- in lstringa<8>|2048_cv 2.85 % 1.67 % 10
|
|
replace bb to -- by init stringa|64_mean 192 ns 191 ns 10
|
|
replace bb to -- by init stringa|64_median 185 ns 184 ns 10
|
|
replace bb to -- by init stringa|64_stddev 20.4 ns 20.8 ns 10
|
|
replace bb to -- by init stringa|64_cv 10.64 % 10.87 % 10
|
|
replace bb to -- by init stringa|256_mean 392 ns 389 ns 10
|
|
replace bb to -- by init stringa|256_median 388 ns 390 ns 10
|
|
replace bb to -- by init stringa|256_stddev 19.1 ns 17.9 ns 10
|
|
replace bb to -- by init stringa|256_cv 4.86 % 4.59 % 10
|
|
replace bb to -- by init stringa|512_mean 660 ns 658 ns 10
|
|
replace bb to -- by init stringa|512_median 655 ns 656 ns 10
|
|
replace bb to -- by init stringa|512_stddev 21.3 ns 22.6 ns 10
|
|
replace bb to -- by init stringa|512_cv 3.22 % 3.43 % 10
|
|
replace bb to -- by init stringa|1024_mean 1196 ns 1186 ns 10
|
|
replace bb to -- by init stringa|1024_median 1192 ns 1186 ns 10
|
|
replace bb to -- by init stringa|1024_stddev 31.1 ns 30.1 ns 10
|
|
replace bb to -- by init stringa|1024_cv 2.60 % 2.54 % 10
|
|
replace bb to -- by init stringa|2048_mean 2432 ns 2433 ns 10
|
|
replace bb to -- by init stringa|2048_median 2355 ns 2354 ns 10
|
|
replace bb to -- by init stringa|2048_stddev 223 ns 207 ns 10
|
|
replace bb to -- by init stringa|2048_cv 9.18 % 8.50 % 10
|
|
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
hashStrMapA<size_t> emplace & find stringa;_mean 4270225 ns 4248047 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_median 4314802 ns 4248047 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_stddev 184022 ns 179775 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_cv 4.31 % 4.23 % 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5385050 ns 5312500 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5346964 ns 5312500 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 133251 ns 0.000 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 2.47 % 0.00 % 10
|
|
hashStrMapA<size_t> emplace & find ssa;_mean 3953790 ns 3952206 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_median 3948084 ns 3927139 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_stddev 61645 ns 56396 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_cv 1.56 % 1.43 % 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6874509 ns 6808036 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6862246 ns 6835938 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 115202 ns 128200 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 1.68 % 1.88 % 10
|
|
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Build func full name std::string;_mean 1651 ns 1632 ns 10
|
|
Build func full name std::string;_median 1639 ns 1604 ns 10
|
|
Build func full name std::string;_stddev 64.8 ns 63.3 ns 10
|
|
Build func full name std::string;_cv 3.93 % 3.88 % 10
|
|
Build func full name std::string 1;_mean 1706 ns 1669 ns 10
|
|
Build func full name std::string 1;_median 1696 ns 1669 ns 10
|
|
Build func full name std::string 1;_stddev 39.5 ns 41.4 ns 10
|
|
Build func full name std::string 1;_cv 2.32 % 2.48 % 10
|
|
Build func full name std::stream;_mean 9950 ns 9898 ns 10
|
|
Build func full name std::stream;_median 9704 ns 9626 ns 10
|
|
Build func full name std::stream;_stddev 674 ns 647 ns 10
|
|
Build func full name std::stream;_cv 6.78 % 6.54 % 10
|
|
Build func full name stringa;_mean 948 ns 947 ns 10
|
|
Build func full name stringa;_median 920 ns 928 ns 10
|
|
Build func full name stringa;_stddev 96.7 ns 96.8 ns 10
|
|
Build func full name stringa;_cv 10.20 % 10.22 % 10
|
|
Build func full name stringa 1;_mean 1108 ns 1108 ns 10
|
|
Build func full name stringa 1;_median 1046 ns 1050 ns 10
|
|
Build func full name stringa 1;_stddev 121 ns 125 ns 10
|
|
Build func full name stringa 1;_cv 10.96 % 11.29 % 10
|