simstr/bench/results/003-Xeon E5-2682 v4, Window...

889 lines
132 KiB
Plaintext

2026-01-29T18:44:28+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
--------------------------------------------------------------------------------------------------------------------------------------------------------
----- Concatenate string + Number + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string and number by std to std::string_mean 386 ns 385 ns 10
Concat std::string and number by std to std::string_median 380 ns 381 ns 10
Concat std::string and number by std to std::string_stddev 31.2 ns 30.5 ns 10
Concat std::string and number by std to std::string_cv 8.09 % 7.92 % 10
Concat std::string and number by StrExpr to std::string_mean 266 ns 266 ns 10
Concat std::string and number by StrExpr to std::string_median 266 ns 267 ns 10
Concat std::string and number by StrExpr to std::string_stddev 25.2 ns 25.4 ns 10
Concat std::string and number by StrExpr to std::string_cv 9.47 % 9.56 % 10
Concat stringa and number by StrExpr to simstr::stringa_mean 128 ns 128 ns 10
Concat stringa and number by StrExpr to simstr::stringa_median 130 ns 129 ns 10
Concat stringa and number by StrExpr to simstr::stringa_stddev 9.52 ns 8.86 ns 10
Concat stringa and number by StrExpr to simstr::stringa_cv 7.41 % 6.90 % 10
Concat stringa and number by e_concat to simstr::stringa_mean 145 ns 146 ns 10
Concat stringa and number by e_concat to simstr::stringa_median 143 ns 144 ns 10
Concat stringa and number by e_concat to simstr::stringa_stddev 14.7 ns 15.4 ns 10
Concat stringa and number by e_concat to simstr::stringa_cv 10.12 % 10.61 % 10
----- Concatenate string + Hex Number + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string and hex number by std to std::string_mean 2092 ns 2090 ns 10
Concat std::string and hex number by std to std::string_median 2076 ns 2086 ns 10
Concat std::string and hex number by std to std::string_stddev 106 ns 96.7 ns 10
Concat std::string and hex number by std to std::string_cv 5.06 % 4.62 % 10
Concat std::string and hex number by StrExpr to std::string_mean 182 ns 182 ns 10
Concat std::string and hex number by StrExpr to std::string_median 181 ns 181 ns 10
Concat std::string and hex number by StrExpr to std::string_stddev 8.84 ns 8.67 ns 10
Concat std::string and hex number by StrExpr to std::string_cv 4.85 % 4.76 % 10
Concat stringa and hex number by StrExpr to simstr::stringa_mean 124 ns 124 ns 10
Concat stringa and hex number by StrExpr to simstr::stringa_median 122 ns 122 ns 10
Concat stringa and hex number by StrExpr to simstr::stringa_stddev 12.4 ns 12.7 ns 10
Concat stringa and hex number by StrExpr to simstr::stringa_cv 9.94 % 10.21 % 10
Concat stringa and hex number by e_concat to simstr::stringa_mean 180 ns 180 ns 10
Concat stringa and hex number by e_concat to simstr::stringa_median 178 ns 180 ns 10
Concat stringa and hex number by e_concat to simstr::stringa_stddev 13.0 ns 12.9 ns 10
Concat stringa and hex number by e_concat to simstr::stringa_cv 7.24 % 7.15 % 10
Concat stringa and hex number by e_subst to simstr::stringa_mean 266 ns 265 ns 10
Concat stringa and hex number by e_subst to simstr::stringa_median 273 ns 271 ns 10
Concat stringa and hex number by e_subst to simstr::stringa_stddev 19.2 ns 18.3 ns 10
Concat stringa and hex number by e_subst to simstr::stringa_cv 7.23 % 6.90 % 10
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 72.5 ns 72.4 ns 10
Concat std::string by std to std::string_median 73.3 ns 72.4 ns 10
Concat std::string by std to std::string_stddev 2.55 ns 2.76 ns 10
Concat std::string by std to std::string_cv 3.51 % 3.81 % 10
Concat std::string by StrExpr to std::string_mean 91.4 ns 91.6 ns 10
Concat std::string by StrExpr to std::string_median 89.4 ns 89.8 ns 10
Concat std::string by StrExpr to std::string_stddev 6.59 ns 6.64 ns 10
Concat std::string by StrExpr to std::string_cv 7.21 % 7.25 % 10
Concat stringa by StrExpr to stringa_mean 60.1 ns 60.2 ns 10
Concat stringa by StrExpr to stringa_median 60.3 ns 60.9 ns 10
Concat stringa by StrExpr to stringa_stddev 2.14 ns 2.24 ns 10
Concat stringa by StrExpr to stringa_cv 3.56 % 3.72 % 10
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 265 ns 265 ns 10
Find concat three std::string_median 267 ns 265 ns 10
Find concat three std::string_stddev 13.5 ns 14.7 ns 10
Find concat three std::string_cv 5.09 % 5.56 % 10
Find concat three strexpr_mean 150 ns 150 ns 10
Find concat three strexpr_median 149 ns 150 ns 10
Find concat three strexpr_stddev 8.98 ns 8.92 ns 10
Find concat three strexpr_cv 5.99 % 5.96 % 10
Find concat three simstr_mean 32.4 ns 32.5 ns 10
Find concat three simstr_median 32.4 ns 32.3 ns 10
Find concat three simstr_stddev 2.04 ns 2.01 ns 10
Find concat three simstr_cv 6.30 % 6.19 % 10
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 20.9 ns 20.9 ns 10
BuildTypeNameStr 0/0_median 20.4 ns 20.4 ns 10
BuildTypeNameStr 0/0_stddev 1.51 ns 1.53 ns 10
BuildTypeNameStr 0/0_cv 7.21 % 7.33 % 10
BuildTypeNameExp 0/0_mean 14.8 ns 14.8 ns 10
BuildTypeNameExp 0/0_median 14.8 ns 14.6 ns 10
BuildTypeNameExp 0/0_stddev 0.422 ns 0.524 ns 10
BuildTypeNameExp 0/0_cv 2.85 % 3.55 % 10
BuildTypeNameSim 0/0_mean 18.3 ns 18.2 ns 10
BuildTypeNameSim 0/0_median 18.2 ns 18.2 ns 10
BuildTypeNameSim 0/0_stddev 0.558 ns 0.491 ns 10
BuildTypeNameSim 0/0_cv 3.05 % 2.69 % 10
BuildTypeNameStr 10/10_mean 100 ns 100 ns 10
BuildTypeNameStr 10/10_median 100 ns 101 ns 10
BuildTypeNameStr 10/10_stddev 8.86 ns 8.72 ns 10
BuildTypeNameStr 10/10_cv 8.84 % 8.70 % 10
BuildTypeNameExp 10/10_mean 48.0 ns 48.0 ns 10
BuildTypeNameExp 10/10_median 48.4 ns 48.4 ns 10
BuildTypeNameExp 10/10_stddev 4.53 ns 4.54 ns 10
BuildTypeNameExp 10/10_cv 9.43 % 9.47 % 10
BuildTypeNameSim 10/10_mean 44.6 ns 44.7 ns 10
BuildTypeNameSim 10/10_median 44.2 ns 43.0 ns 10
BuildTypeNameSim 10/10_stddev 3.27 ns 3.55 ns 10
BuildTypeNameSim 10/10_cv 7.33 % 7.94 % 10
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 430 ns 430 ns 10
Concat with replace str_median 431 ns 432 ns 10
Concat with replace str_stddev 25.5 ns 27.0 ns 10
Concat with replace str_cv 5.93 % 6.27 % 10
Concat with replace exp_mean 278 ns 279 ns 10
Concat with replace exp_median 280 ns 280 ns 10
Concat with replace exp_stddev 25.3 ns 25.3 ns 10
Concat with replace exp_cv 9.11 % 9.06 % 10
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 2.85 ns 2.83 ns 10
std::string e;_median 2.83 ns 2.83 ns 10
std::string e;_stddev 0.105 ns 0.131 ns 10
std::string e;_cv 3.67 % 4.61 % 10
std::string_view e;_mean 2.02 ns 2.02 ns 10
std::string_view e;_median 2.00 ns 2.00 ns 10
std::string_view e;_stddev 0.129 ns 0.113 ns 10
std::string_view e;_cv 6.37 % 5.60 % 10
ssa e;_mean 2.05 ns 2.05 ns 10
ssa e;_median 2.06 ns 2.05 ns 10
ssa e;_stddev 0.070 ns 0.076 ns 10
ssa e;_cv 3.42 % 3.73 % 10
stringa e;_mean 2.42 ns 2.42 ns 10
stringa e;_median 2.42 ns 2.43 ns 10
stringa e;_stddev 0.062 ns 0.073 ns 10
stringa e;_cv 2.58 % 3.03 % 10
lstringa<20> e;_mean 2.91 ns 2.91 ns 10
lstringa<20> e;_median 2.88 ns 2.91 ns 10
lstringa<20> e;_stddev 0.104 ns 0.112 ns 10
lstringa<20> e;_cv 3.56 % 3.85 % 10
lstringa<40> e;_mean 3.01 ns 3.01 ns 10
lstringa<40> e;_median 3.02 ns 3.01 ns 10
lstringa<40> e;_stddev 0.104 ns 0.122 ns 10
lstringa<40> e;_cv 3.46 % 4.05 % 10
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 2.90 ns 2.90 ns 10
std::string e = "Test text";_median 2.90 ns 2.92 ns 10
std::string e = "Test text";_stddev 0.112 ns 0.099 ns 10
std::string e = "Test text";_cv 3.85 % 3.42 % 10
std::string_view e = "Test text";_mean 2.05 ns 2.04 ns 10
std::string_view e = "Test text";_median 2.03 ns 2.03 ns 10
std::string_view e = "Test text";_stddev 0.074 ns 0.081 ns 10
std::string_view e = "Test text";_cv 3.63 % 3.96 % 10
ssa e = "Test text";_mean 2.03 ns 2.02 ns 10
ssa e = "Test text";_median 2.01 ns 1.99 ns 10
ssa e = "Test text";_stddev 0.072 ns 0.078 ns 10
ssa e = "Test text";_cv 3.53 % 3.84 % 10
stringa e = "Test text";_mean 2.87 ns 2.86 ns 10
stringa e = "Test text";_median 2.88 ns 2.88 ns 10
stringa e = "Test text";_stddev 0.078 ns 0.084 ns 10
stringa e = "Test text";_cv 2.72 % 2.94 % 10
lstringa<20> e = "Test text";_mean 2.96 ns 2.96 ns 10
lstringa<20> e = "Test text";_median 2.94 ns 2.93 ns 10
lstringa<20> e = "Test text";_stddev 0.168 ns 0.181 ns 10
lstringa<20> e = "Test text";_cv 5.65 % 6.11 % 10
lstringa<40> e = "Test text";_mean 2.95 ns 2.94 ns 10
lstringa<40> e = "Test text";_median 2.93 ns 2.92 ns 10
lstringa<40> e = "Test text";_stddev 0.204 ns 0.207 ns 10
lstringa<40> e = "Test text";_cv 6.94 % 7.04 % 10
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 96.3 ns 96.1 ns 10
std::string e = "123456789012345678901234567890";_median 93.8 ns 93.5 ns 10
std::string e = "123456789012345678901234567890";_stddev 8.86 ns 8.81 ns 10
std::string e = "123456789012345678901234567890";_cv 9.20 % 9.17 % 10
std::string_view e = "123456789012345678901234567890";_mean 2.06 ns 2.05 ns 10
std::string_view e = "123456789012345678901234567890";_median 2.03 ns 2.04 ns 10
std::string_view e = "123456789012345678901234567890";_stddev 0.114 ns 0.125 ns 10
std::string_view e = "123456789012345678901234567890";_cv 5.54 % 6.07 % 10
ssa e = "123456789012345678901234567890";_mean 2.06 ns 2.06 ns 10
ssa e = "123456789012345678901234567890";_median 2.05 ns 2.05 ns 10
ssa e = "123456789012345678901234567890";_stddev 0.075 ns 0.073 ns 10
ssa e = "123456789012345678901234567890";_cv 3.66 % 3.56 % 10
stringa e = "123456789012345678901234567890";_mean 3.00 ns 3.00 ns 10
stringa e = "123456789012345678901234567890";_median 3.02 ns 2.98 ns 10
stringa e = "123456789012345678901234567890";_stddev 0.047 ns 0.052 ns 10
stringa e = "123456789012345678901234567890";_cv 1.56 % 1.75 % 10
lstringa<20> e = "123456789012345678901234567890";_mean 97.1 ns 96.7 ns 10
lstringa<20> e = "123456789012345678901234567890";_median 96.9 ns 96.3 ns 10
lstringa<20> e = "123456789012345678901234567890";_stddev 6.52 ns 6.30 ns 10
lstringa<20> e = "123456789012345678901234567890";_cv 6.72 % 6.52 % 10
lstringa<40> e = "123456789012345678901234567890";_mean 3.65 ns 3.64 ns 10
lstringa<40> e = "123456789012345678901234567890";_median 3.66 ns 3.66 ns 10
lstringa<40> e = "123456789012345678901234567890";_stddev 0.116 ns 0.153 ns 10
lstringa<40> e = "123456789012345678901234567890";_cv 3.18 % 4.19 % 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 5.61 ns 5.59 ns 10
std::string e = "Test text"; auto c{e};_median 5.71 ns 5.70 ns 10
std::string e = "Test text"; auto c{e};_stddev 0.279 ns 0.293 ns 10
std::string e = "Test text"; auto c{e};_cv 4.97 % 5.23 % 10
std::string_view e = "Test text"; auto c{e};_mean 3.95 ns 3.94 ns 10
std::string_view e = "Test text"; auto c{e};_median 3.92 ns 3.90 ns 10
std::string_view e = "Test text"; auto c{e};_stddev 0.071 ns 0.098 ns 10
std::string_view e = "Test text"; auto c{e};_cv 1.81 % 2.48 % 10
ssa e = "Test text"; auto c{e};_mean 3.92 ns 3.91 ns 10
ssa e = "Test text"; auto c{e};_median 3.93 ns 3.92 ns 10
ssa e = "Test text"; auto c{e};_stddev 0.043 ns 0.064 ns 10
ssa e = "Test text"; auto c{e};_cv 1.11 % 1.64 % 10
stringa e = "Test text"; auto c{e};_mean 4.44 ns 4.44 ns 10
stringa e = "Test text"; auto c{e};_median 4.41 ns 4.44 ns 10
stringa e = "Test text"; auto c{e};_stddev 0.161 ns 0.188 ns 10
stringa e = "Test text"; auto c{e};_cv 3.63 % 4.23 % 10
lstringa<20> e = "Test text"; auto c{e};_mean 9.72 ns 9.73 ns 10
lstringa<20> e = "Test text"; auto c{e};_median 9.62 ns 9.63 ns 10
lstringa<20> e = "Test text"; auto c{e};_stddev 0.404 ns 0.410 ns 10
lstringa<20> e = "Test text"; auto c{e};_cv 4.16 % 4.21 % 10
lstringa<40> e = "Test text"; auto c{e};_mean 9.61 ns 9.61 ns 10
lstringa<40> e = "Test text"; auto c{e};_median 9.74 ns 9.63 ns 10
lstringa<40> e = "Test text"; auto c{e};_stddev 0.690 ns 0.741 ns 10
lstringa<40> e = "Test text"; auto c{e};_cv 7.18 % 7.72 % 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 94.6 ns 94.5 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_median 90.2 ns 90.7 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 7.24 ns 7.16 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_cv 7.66 % 7.57 % 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 1.94 ns 1.93 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 1.94 ns 1.93 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.081 ns 0.080 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 4.19 % 4.15 % 10
ssa e = "123456789012345678901234567890"; auto c{e};_mean 1.97 ns 1.97 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_median 1.97 ns 1.97 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.067 ns 0.081 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_cv 3.40 % 4.09 % 10
stringa e = "123456789012345678901234567890"; auto c{e};_mean 3.36 ns 3.35 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_median 3.36 ns 3.38 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.141 ns 0.145 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_cv 4.18 % 4.32 % 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 97.1 ns 97.1 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 97.1 ns 97.3 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 6.80 ns 6.78 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 7.00 % 6.98 % 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 8.16 ns 8.12 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 8.10 ns 8.09 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.820 ns 0.752 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 10.05 % 9.26 % 10
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 46.3 ns 46.3 ns 10
std::string::find;_median 46.1 ns 46.0 ns 10
std::string::find;_stddev 1.91 ns 1.84 ns 10
std::string::find;_cv 4.13 % 3.97 % 10
std::string_view::find;_mean 45.0 ns 45.0 ns 10
std::string_view::find;_median 44.7 ns 44.5 ns 10
std::string_view::find;_stddev 1.35 ns 1.19 ns 10
std::string_view::find;_cv 3.00 % 2.65 % 10
ssa::find;_mean 25.5 ns 25.4 ns 10
ssa::find;_median 25.6 ns 25.7 ns 10
ssa::find;_stddev 1.48 ns 1.47 ns 10
ssa::find;_cv 5.81 % 5.77 % 10
stringa::find;_mean 34.4 ns 34.4 ns 10
stringa::find;_median 34.1 ns 34.1 ns 10
stringa::find;_stddev 1.03 ns 1.12 ns 10
stringa::find;_cv 3.01 % 3.25 % 10
lstringa<20>::find;_mean 34.1 ns 34.1 ns 10
lstringa<20>::find;_median 34.2 ns 34.1 ns 10
lstringa<20>::find;_stddev 1.26 ns 1.32 ns 10
lstringa<20>::find;_cv 3.69 % 3.86 % 10
lstringa<40>::find;_mean 24.0 ns 24.0 ns 10
lstringa<40>::find;_median 24.5 ns 24.5 ns 10
lstringa<40>::find;_stddev 1.30 ns 1.25 ns 10
lstringa<40>::find;_cv 5.44 % 5.21 % 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.91 ns 4.91 ns 10
std::string copy{str_with_len_N};/15_median 4.85 ns 4.84 ns 10
std::string copy{str_with_len_N};/15_stddev 0.278 ns 0.257 ns 10
std::string copy{str_with_len_N};/15_cv 5.65 % 5.24 % 10
std::string copy{str_with_len_N};/16_mean 107 ns 107 ns 10
std::string copy{str_with_len_N};/16_median 103 ns 104 ns 10
std::string copy{str_with_len_N};/16_stddev 11.9 ns 12.3 ns 10
std::string copy{str_with_len_N};/16_cv 11.10 % 11.53 % 10
std::string copy{str_with_len_N};/23_mean 100 ns 100 ns 10
std::string copy{str_with_len_N};/23_median 101 ns 100 ns 10
std::string copy{str_with_len_N};/23_stddev 7.26 ns 7.03 ns 10
std::string copy{str_with_len_N};/23_cv 7.25 % 7.03 % 10
std::string copy{str_with_len_N};/24_mean 104 ns 104 ns 10
std::string copy{str_with_len_N};/24_median 103 ns 103 ns 10
std::string copy{str_with_len_N};/24_stddev 9.08 ns 9.36 ns 10
std::string copy{str_with_len_N};/24_cv 8.74 % 9.00 % 10
std::string copy{str_with_len_N};/32_mean 108 ns 108 ns 10
std::string copy{str_with_len_N};/32_median 106 ns 106 ns 10
std::string copy{str_with_len_N};/32_stddev 8.69 ns 8.17 ns 10
std::string copy{str_with_len_N};/32_cv 8.02 % 7.54 % 10
std::string copy{str_with_len_N};/64_mean 113 ns 113 ns 10
std::string copy{str_with_len_N};/64_median 113 ns 113 ns 10
std::string copy{str_with_len_N};/64_stddev 6.57 ns 6.98 ns 10
std::string copy{str_with_len_N};/64_cv 5.81 % 6.17 % 10
std::string copy{str_with_len_N};/128_mean 104 ns 104 ns 10
std::string copy{str_with_len_N};/128_median 104 ns 104 ns 10
std::string copy{str_with_len_N};/128_stddev 5.20 ns 4.85 ns 10
std::string copy{str_with_len_N};/128_cv 5.00 % 4.68 % 10
std::string copy{str_with_len_N};/256_mean 110 ns 110 ns 10
std::string copy{str_with_len_N};/256_median 111 ns 111 ns 10
std::string copy{str_with_len_N};/256_stddev 9.71 ns 9.46 ns 10
std::string copy{str_with_len_N};/256_cv 8.81 % 8.58 % 10
std::string copy{str_with_len_N};/512_mean 110 ns 110 ns 10
std::string copy{str_with_len_N};/512_median 111 ns 111 ns 10
std::string copy{str_with_len_N};/512_stddev 10.2 ns 9.75 ns 10
std::string copy{str_with_len_N};/512_cv 9.29 % 8.90 % 10
std::string copy{str_with_len_N};/1024_mean 125 ns 125 ns 10
std::string copy{str_with_len_N};/1024_median 127 ns 128 ns 10
std::string copy{str_with_len_N};/1024_stddev 12.7 ns 12.4 ns 10
std::string copy{str_with_len_N};/1024_cv 10.13 % 9.90 % 10
std::string copy{str_with_len_N};/2048_mean 150 ns 150 ns 10
std::string copy{str_with_len_N};/2048_median 148 ns 148 ns 10
std::string copy{str_with_len_N};/2048_stddev 5.76 ns 6.25 ns 10
std::string copy{str_with_len_N};/2048_cv 3.83 % 4.16 % 10
std::string copy{str_with_len_N};/4096_mean 206 ns 206 ns 10
std::string copy{str_with_len_N};/4096_median 207 ns 206 ns 10
std::string copy{str_with_len_N};/4096_stddev 9.15 ns 9.11 ns 10
std::string copy{str_with_len_N};/4096_cv 4.44 % 4.41 % 10
stringa copy{str_with_len_N};/15_mean 4.44 ns 4.44 ns 10
stringa copy{str_with_len_N};/15_median 4.44 ns 4.50 ns 10
stringa copy{str_with_len_N};/15_stddev 0.187 ns 0.165 ns 10
stringa copy{str_with_len_N};/15_cv 4.21 % 3.72 % 10
stringa copy{str_with_len_N};/16_mean 4.43 ns 4.42 ns 10
stringa copy{str_with_len_N};/16_median 4.39 ns 4.39 ns 10
stringa copy{str_with_len_N};/16_stddev 0.235 ns 0.247 ns 10
stringa copy{str_with_len_N};/16_cv 5.32 % 5.57 % 10
stringa copy{str_with_len_N};/23_mean 4.45 ns 4.45 ns 10
stringa copy{str_with_len_N};/23_median 4.51 ns 4.50 ns 10
stringa copy{str_with_len_N};/23_stddev 0.189 ns 0.186 ns 10
stringa copy{str_with_len_N};/23_cv 4.24 % 4.19 % 10
stringa copy{str_with_len_N};/24_mean 19.1 ns 19.0 ns 10
stringa copy{str_with_len_N};/24_median 19.0 ns 19.0 ns 10
stringa copy{str_with_len_N};/24_stddev 0.289 ns 0.302 ns 10
stringa copy{str_with_len_N};/24_cv 1.51 % 1.59 % 10
stringa copy{str_with_len_N};/32_mean 19.0 ns 19.0 ns 10
stringa copy{str_with_len_N};/32_median 19.0 ns 19.0 ns 10
stringa copy{str_with_len_N};/32_stddev 0.184 ns 0.335 ns 10
stringa copy{str_with_len_N};/32_cv 0.96 % 1.76 % 10
stringa copy{str_with_len_N};/64_mean 19.0 ns 19.0 ns 10
stringa copy{str_with_len_N};/64_median 19.0 ns 18.8 ns 10
stringa copy{str_with_len_N};/64_stddev 0.232 ns 0.202 ns 10
stringa copy{str_with_len_N};/64_cv 1.22 % 1.07 % 10
stringa copy{str_with_len_N};/128_mean 18.9 ns 18.9 ns 10
stringa copy{str_with_len_N};/128_median 18.9 ns 18.8 ns 10
stringa copy{str_with_len_N};/128_stddev 0.261 ns 0.309 ns 10
stringa copy{str_with_len_N};/128_cv 1.38 % 1.64 % 10
stringa copy{str_with_len_N};/256_mean 19.2 ns 19.2 ns 10
stringa copy{str_with_len_N};/256_median 19.1 ns 18.8 ns 10
stringa copy{str_with_len_N};/256_stddev 0.543 ns 0.607 ns 10
stringa copy{str_with_len_N};/256_cv 2.82 % 3.16 % 10
stringa copy{str_with_len_N};/512_mean 18.9 ns 18.9 ns 10
stringa copy{str_with_len_N};/512_median 19.0 ns 18.8 ns 10
stringa copy{str_with_len_N};/512_stddev 0.263 ns 0.309 ns 10
stringa copy{str_with_len_N};/512_cv 1.39 % 1.64 % 10
stringa copy{str_with_len_N};/1024_mean 19.1 ns 19.0 ns 10
stringa copy{str_with_len_N};/1024_median 19.0 ns 18.8 ns 10
stringa copy{str_with_len_N};/1024_stddev 0.218 ns 0.216 ns 10
stringa copy{str_with_len_N};/1024_cv 1.15 % 1.14 % 10
stringa copy{str_with_len_N};/2048_mean 18.9 ns 18.9 ns 10
stringa copy{str_with_len_N};/2048_median 18.9 ns 19.0 ns 10
stringa copy{str_with_len_N};/2048_stddev 0.252 ns 0.306 ns 10
stringa copy{str_with_len_N};/2048_cv 1.33 % 1.62 % 10
stringa copy{str_with_len_N};/4096_mean 19.1 ns 19.0 ns 10
stringa copy{str_with_len_N};/4096_median 19.1 ns 19.3 ns 10
stringa copy{str_with_len_N};/4096_stddev 0.188 ns 0.296 ns 10
stringa copy{str_with_len_N};/4096_cv 0.98 % 1.55 % 10
lstringa<16> copy{str_with_len_N};/15_mean 8.49 ns 8.50 ns 10
lstringa<16> copy{str_with_len_N};/15_median 8.75 ns 8.65 ns 10
lstringa<16> copy{str_with_len_N};/15_stddev 0.621 ns 0.636 ns 10
lstringa<16> copy{str_with_len_N};/15_cv 7.31 % 7.48 % 10
lstringa<16> copy{str_with_len_N};/16_mean 8.68 ns 8.66 ns 10
lstringa<16> copy{str_with_len_N};/16_median 8.65 ns 8.68 ns 10
lstringa<16> copy{str_with_len_N};/16_stddev 0.527 ns 0.585 ns 10
lstringa<16> copy{str_with_len_N};/16_cv 6.07 % 6.76 % 10
lstringa<16> copy{str_with_len_N};/23_mean 9.22 ns 9.20 ns 10
lstringa<16> copy{str_with_len_N};/23_median 9.11 ns 9.16 ns 10
lstringa<16> copy{str_with_len_N};/23_stddev 0.524 ns 0.553 ns 10
lstringa<16> copy{str_with_len_N};/23_cv 5.68 % 6.00 % 10
lstringa<16> copy{str_with_len_N};/24_mean 95.6 ns 95.7 ns 10
lstringa<16> copy{str_with_len_N};/24_median 96.9 ns 96.4 ns 10
lstringa<16> copy{str_with_len_N};/24_stddev 7.28 ns 7.79 ns 10
lstringa<16> copy{str_with_len_N};/24_cv 7.61 % 8.14 % 10
lstringa<16> copy{str_with_len_N};/32_mean 103 ns 102 ns 10
lstringa<16> copy{str_with_len_N};/32_median 103 ns 103 ns 10
lstringa<16> copy{str_with_len_N};/32_stddev 10.4 ns 10.6 ns 10
lstringa<16> copy{str_with_len_N};/32_cv 10.18 % 10.40 % 10
lstringa<16> copy{str_with_len_N};/64_mean 104 ns 104 ns 10
lstringa<16> copy{str_with_len_N};/64_median 105 ns 105 ns 10
lstringa<16> copy{str_with_len_N};/64_stddev 7.78 ns 7.24 ns 10
lstringa<16> copy{str_with_len_N};/64_cv 7.45 % 6.94 % 10
lstringa<16> copy{str_with_len_N};/128_mean 109 ns 109 ns 10
lstringa<16> copy{str_with_len_N};/128_median 110 ns 110 ns 10
lstringa<16> copy{str_with_len_N};/128_stddev 5.44 ns 5.96 ns 10
lstringa<16> copy{str_with_len_N};/128_cv 4.99 % 5.48 % 10
lstringa<16> copy{str_with_len_N};/256_mean 706 ns 706 ns 10
lstringa<16> copy{str_with_len_N};/256_median 703 ns 705 ns 10
lstringa<16> copy{str_with_len_N};/256_stddev 18.9 ns 18.8 ns 10
lstringa<16> copy{str_with_len_N};/256_cv 2.67 % 2.67 % 10
lstringa<16> copy{str_with_len_N};/512_mean 108 ns 108 ns 10
lstringa<16> copy{str_with_len_N};/512_median 110 ns 109 ns 10
lstringa<16> copy{str_with_len_N};/512_stddev 11.0 ns 10.7 ns 10
lstringa<16> copy{str_with_len_N};/512_cv 10.16 % 9.91 % 10
lstringa<16> copy{str_with_len_N};/1024_mean 122 ns 122 ns 10
lstringa<16> copy{str_with_len_N};/1024_median 121 ns 120 ns 10
lstringa<16> copy{str_with_len_N};/1024_stddev 7.40 ns 7.48 ns 10
lstringa<16> copy{str_with_len_N};/1024_cv 6.07 % 6.15 % 10
lstringa<16> copy{str_with_len_N};/2048_mean 149 ns 149 ns 10
lstringa<16> copy{str_with_len_N};/2048_median 152 ns 152 ns 10
lstringa<16> copy{str_with_len_N};/2048_stddev 11.6 ns 12.2 ns 10
lstringa<16> copy{str_with_len_N};/2048_cv 7.76 % 8.19 % 10
lstringa<16> copy{str_with_len_N};/4096_mean 211 ns 210 ns 10
lstringa<16> copy{str_with_len_N};/4096_median 211 ns 213 ns 10
lstringa<16> copy{str_with_len_N};/4096_stddev 8.49 ns 8.95 ns 10
lstringa<16> copy{str_with_len_N};/4096_cv 4.03 % 4.25 % 10
lstringa<512> copy{str_with_len_N};/15_mean 9.83 ns 9.84 ns 10
lstringa<512> copy{str_with_len_N};/15_median 9.77 ns 9.73 ns 10
lstringa<512> copy{str_with_len_N};/15_stddev 0.527 ns 0.558 ns 10
lstringa<512> copy{str_with_len_N};/15_cv 5.36 % 5.67 % 10
lstringa<512> copy{str_with_len_N};/16_mean 10.2 ns 10.2 ns 10
lstringa<512> copy{str_with_len_N};/16_median 10.2 ns 10.1 ns 10
lstringa<512> copy{str_with_len_N};/16_stddev 0.632 ns 0.643 ns 10
lstringa<512> copy{str_with_len_N};/16_cv 6.17 % 6.28 % 10
lstringa<512> copy{str_with_len_N};/23_mean 9.69 ns 9.69 ns 10
lstringa<512> copy{str_with_len_N};/23_median 9.76 ns 9.63 ns 10
lstringa<512> copy{str_with_len_N};/23_stddev 0.150 ns 0.141 ns 10
lstringa<512> copy{str_with_len_N};/23_cv 1.55 % 1.46 % 10
lstringa<512> copy{str_with_len_N};/24_mean 10.2 ns 10.2 ns 10
lstringa<512> copy{str_with_len_N};/24_median 10.2 ns 10.3 ns 10
lstringa<512> copy{str_with_len_N};/24_stddev 0.558 ns 0.610 ns 10
lstringa<512> copy{str_with_len_N};/24_cv 5.49 % 5.99 % 10
lstringa<512> copy{str_with_len_N};/32_mean 14.1 ns 14.2 ns 10
lstringa<512> copy{str_with_len_N};/32_median 14.0 ns 14.0 ns 10
lstringa<512> copy{str_with_len_N};/32_stddev 0.971 ns 0.964 ns 10
lstringa<512> copy{str_with_len_N};/32_cv 6.86 % 6.81 % 10
lstringa<512> copy{str_with_len_N};/64_mean 13.7 ns 13.7 ns 10
lstringa<512> copy{str_with_len_N};/64_median 13.4 ns 13.5 ns 10
lstringa<512> copy{str_with_len_N};/64_stddev 0.932 ns 0.949 ns 10
lstringa<512> copy{str_with_len_N};/64_cv 6.81 % 6.94 % 10
lstringa<512> copy{str_with_len_N};/128_mean 14.1 ns 14.1 ns 10
lstringa<512> copy{str_with_len_N};/128_median 14.1 ns 14.0 ns 10
lstringa<512> copy{str_with_len_N};/128_stddev 0.542 ns 0.529 ns 10
lstringa<512> copy{str_with_len_N};/128_cv 3.85 % 3.76 % 10
lstringa<512> copy{str_with_len_N};/256_mean 15.2 ns 15.2 ns 10
lstringa<512> copy{str_with_len_N};/256_median 15.2 ns 15.3 ns 10
lstringa<512> copy{str_with_len_N};/256_stddev 1.06 ns 1.12 ns 10
lstringa<512> copy{str_with_len_N};/256_cv 6.93 % 7.32 % 10
lstringa<512> copy{str_with_len_N};/512_mean 16.7 ns 16.7 ns 10
lstringa<512> copy{str_with_len_N};/512_median 16.6 ns 16.5 ns 10
lstringa<512> copy{str_with_len_N};/512_stddev 0.918 ns 0.871 ns 10
lstringa<512> copy{str_with_len_N};/512_cv 5.50 % 5.23 % 10
lstringa<512> copy{str_with_len_N};/1024_mean 112 ns 112 ns 10
lstringa<512> copy{str_with_len_N};/1024_median 112 ns 112 ns 10
lstringa<512> copy{str_with_len_N};/1024_stddev 8.71 ns 9.16 ns 10
lstringa<512> copy{str_with_len_N};/1024_cv 7.75 % 8.18 % 10
lstringa<512> copy{str_with_len_N};/2048_mean 153 ns 152 ns 10
lstringa<512> copy{str_with_len_N};/2048_median 154 ns 153 ns 10
lstringa<512> copy{str_with_len_N};/2048_stddev 13.7 ns 14.4 ns 10
lstringa<512> copy{str_with_len_N};/2048_cv 8.96 % 9.44 % 10
lstringa<512> copy{str_with_len_N};/4096_mean 208 ns 208 ns 10
lstringa<512> copy{str_with_len_N};/4096_median 206 ns 206 ns 10
lstringa<512> copy{str_with_len_N};/4096_stddev 10.9 ns 11.6 ns 10
lstringa<512> copy{str_with_len_N};/4096_cv 5.24 % 5.57 % 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 38.8 ns 38.8 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 39.3 ns 39.3 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 2.58 ns 2.65 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 6.65 % 6.83 % 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 16.2 ns 16.2 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 16.5 ns 16.6 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.919 ns 0.915 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 5.68 % 5.65 % 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 17.3 ns 17.3 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 17.4 ns 17.3 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.643 ns 0.551 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.72 % 3.19 % 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 17.5 ns 17.5 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 17.7 ns 17.9 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 1.24 ns 1.34 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 7.06 % 7.61 % 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 17.4 ns 17.4 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 17.1 ns 17.3 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 1.07 ns 1.07 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 6.14 % 6.16 % 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 40.8 ns 40.9 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 41.3 ns 41.5 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 4.02 ns 4.13 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 9.86 % 10.12 % 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 11.0 ns 11.0 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 10.9 ns 10.9 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.443 ns 0.503 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 4.02 % 4.57 % 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 15.6 ns 15.6 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 15.6 ns 15.7 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.596 ns 0.578 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.82 % 3.71 % 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 16.3 ns 16.3 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 16.2 ns 16.3 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.503 ns 0.529 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.09 % 3.26 % 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 16.1 ns 16.1 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 16.0 ns 15.9 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.498 ns 0.543 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.09 % 3.37 % 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 54.1 ns 53.7 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 53.8 ns 53.1 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 3.29 ns 2.96 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 6.09 % 5.52 % 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 22.6 ns 22.6 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 22.2 ns 22.2 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 1.22 ns 1.12 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 5.39 % 4.98 % 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 18.5 ns 18.5 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 18.4 ns 18.6 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.875 ns 0.824 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 4.74 % 4.46 % 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 118 ns 118 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 117 ns 117 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 6.81 ns 7.42 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 5.79 % 6.30 % 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 95.8 ns 95.8 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 96.2 ns 95.6 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 3.72 ns 3.48 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 3.88 % 3.63 % 10
ssa s = "1234.567e10"; double res = *s.to_double()_mean 41.0 ns 41.0 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_median 41.0 ns 41.0 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.677 ns 0.797 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_cv 1.65 % 1.94 % 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 7262 ns 7261 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_median 7250 ns 7220 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 681 ns 725 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 9.38 % 9.99 % 10
std::string str; ... str += "abbaabbaabbaabba";_mean 1589 ns 1581 ns 10
std::string str; ... str += "abbaabbaabbaabba";_median 1556 ns 1554 ns 10
std::string str; ... str += "abbaabbaabbaabba";_stddev 70.2 ns 67.2 ns 10
std::string str; ... str += "abbaabbaabbaabba";_cv 4.42 % 4.25 % 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 1249 ns 1248 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 1254 ns 1245 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 63.9 ns 63.5 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 5.11 % 5.09 % 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 639 ns 638 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 622 ns 621 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 67.8 ns 64.1 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 10.61 % 10.06 % 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 511 ns 509 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 513 ns 508 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 16.7 ns 20.0 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 3.26 % 3.93 % 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 255 ns 254 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 255 ns 257 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 8.45 ns 10.4 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 3.32 % 4.07 % 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 6865 ns 6878 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 6905 ns 6975 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 557 ns 577 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 8.11 % 8.39 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 4507 ns 4491 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 4459 ns 4400 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 324 ns 351 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 7.20 % 7.82 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 1082 ns 1083 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 1075 ns 1067 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 63.4 ns 68.2 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.86 % 6.30 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 664 ns 664 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 654 ns 656 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 39.3 ns 38.5 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.91 % 5.79 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 538 ns 538 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 548 ns 547 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 28.6 ns 30.5 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.31 % 5.68 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 319 ns 319 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 322 ns 321 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 17.1 ns 17.7 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.36 % 5.56 % 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 323116 ns 323248 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 326460 ns 324852 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 32689 ns 34665 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 10.12 % 10.72 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 236019 ns 236006 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 238283 ns 240157 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 15984 ns 17635 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 6.77 % 7.47 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 26277 ns 26241 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 25999 ns 26088 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1262 ns 1344 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.80 % 5.12 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 24737 ns 24745 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 24685 ns 24588 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 873 ns 782 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.53 % 3.16 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 23810 ns 23699 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 23793 ns 23542 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 755 ns 782 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.17 % 3.30 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 24103 ns 24023 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 23564 ns 23438 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 2106 ns 2241 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 8.74 % 9.33 % 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 6233 ns 6222 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_median 6133 ns 6069 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_stddev 467 ns 466 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_cv 7.49 % 7.49 % 10
std::string str; ... str += str_var1 + str_var2;_mean 4436 ns 4436 ns 10
std::string str; ... str += str_var1 + str_var2;_median 4418 ns 4447 ns 10
std::string str; ... str += str_var1 + str_var2;_stddev 210 ns 199 ns 10
std::string str; ... str += str_var1 + str_var2;_cv 4.74 % 4.47 % 10
lstringa<16> str; ... str += str_var1 + str_var2;_mean 1198 ns 1193 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_median 1189 ns 1193 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 64.2 ns 69.4 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_cv 5.36 % 5.82 % 10
lstringa<128> str; ... str += str_var1 + str_var2;_mean 673 ns 672 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_median 677 ns 677 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 33.7 ns 35.3 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_cv 5.00 % 5.25 % 10
lstringa<512> str; ... str += str_var1 + str_var2;_mean 595 ns 593 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_median 594 ns 593 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 41.4 ns 42.2 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_cv 6.95 % 7.12 % 10
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 399 ns 399 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_median 396 ns 391 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 47.6 ns 46.5 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 11.92 % 11.64 % 10
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 13240 ns 13225 ns 10
std::stringstream str; str << "test = " << k << " times";_median 13019 ns 13114 ns 10
std::stringstream str; str << "test = " << k << " times";_stddev 877 ns 923 ns 10
std::stringstream str; str << "test = " << k << " times";_cv 6.62 % 6.98 % 10
std::string str = "test = " + std::to_string(k) + " times";_mean 1404 ns 1403 ns 10
std::string str = "test = " + std::to_string(k) + " times";_median 1356 ns 1350 ns 10
std::string str = "test = " + std::to_string(k) + " times";_stddev 168 ns 162 ns 10
std::string str = "test = " + std::to_string(k) + " times";_cv 11.94 % 11.55 % 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 3209 ns 3214 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 3134 ns 3139 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 232 ns 221 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 7.24 % 6.88 % 10
std::string str = std::format("test = {} times", k);_mean 2539 ns 2536 ns 10
std::string str = std::format("test = {} times", k);_median 2526 ns 2511 ns 10
std::string str = std::format("test = {} times", k);_stddev 150 ns 171 ns 10
std::string str = std::format("test = {} times", k);_cv 5.89 % 6.72 % 10
lstringa<8> str; str.format("test = {} times", k);_mean 3193 ns 3192 ns 10
lstringa<8> str; str.format("test = {} times", k);_median 3180 ns 3146 ns 10
lstringa<8> str; str.format("test = {} times", k);_stddev 119 ns 146 ns 10
lstringa<8> str; str.format("test = {} times", k);_cv 3.73 % 4.56 % 10
lstringa<32> str; str.format("test = {} times", k);_mean 1659 ns 1660 ns 10
lstringa<32> str; str.format("test = {} times", k);_median 1658 ns 1657 ns 10
lstringa<32> str; str.format("test = {} times", k);_stddev 51.1 ns 52.5 ns 10
lstringa<32> str; str.format("test = {} times", k);_cv 3.08 % 3.16 % 10
lstringa<8> str = "test = " + k + " times";_mean 975 ns 974 ns 10
lstringa<8> str = "test = " + k + " times";_median 959 ns 963 ns 10
lstringa<8> str = "test = " + k + " times";_stddev 42.9 ns 44.5 ns 10
lstringa<8> str = "test = " + k + " times";_cv 4.40 % 4.57 % 10
lstringa<32> str = "test = " + k + " times";_mean 217 ns 217 ns 10
lstringa<32> str = "test = " + k + " times";_median 214 ns 213 ns 10
lstringa<32> str = "test = " + k + " times";_stddev 16.3 ns 17.2 ns 10
lstringa<32> str = "test = " + k + " times";_cv 7.49 % 7.94 % 10
stringa str = "test = " + k + " times";_mean 276 ns 276 ns 10
stringa str = "test = " + k + " times";_median 277 ns 277 ns 10
stringa str = "test = " + k + " times";_stddev 24.4 ns 25.0 ns 10
stringa str = "test = " + k + " times";_cv 8.82 % 9.08 % 10
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 633 ns 631 ns 10
std::string::find + substr + std::strtol_median 620 ns 625 ns 10
std::string::find + substr + std::strtol_stddev 39.1 ns 39.8 ns 10
std::string::find + substr + std::strtol_cv 6.19 % 6.31 % 10
ssa::splitter + ssa::as_int_mean 329 ns 328 ns 10
ssa::splitter + ssa::as_int_median 325 ns 322 ns 10
ssa::splitter + ssa::as_int_stddev 19.3 ns 19.7 ns 10
ssa::splitter + ssa::as_int_cv 5.88 % 6.01 % 10
ssa::splitf + functor_mean 240 ns 239 ns 10
ssa::splitf + functor_median 237 ns 237 ns 10
ssa::splitf + functor_stddev 10.6 ns 9.77 ns 10
ssa::splitf + functor_cv 4.43 % 4.09 % 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 1428 ns 1423 ns 10
Naive (and wrong) replace symbols with std::string find + replace_median 1429 ns 1423 ns 10
Naive (and wrong) replace symbols with std::string find + replace_stddev 97.9 ns 97.5 ns 10
Naive (and wrong) replace symbols with std::string find + replace_cv 6.86 % 6.85 % 10
replace symbols with std::string find_first_of + replace_mean 2443 ns 2438 ns 10
replace symbols with std::string find_first_of + replace_median 2468 ns 2459 ns 10
replace symbols with std::string find_first_of + replace_stddev 120 ns 129 ns 10
replace symbols with std::string find_first_of + replace_cv 4.92 % 5.28 % 10
replace symbols with std::string_view find_first_of + copy_mean 2948 ns 2951 ns 10
replace symbols with std::string_view find_first_of + copy_median 2852 ns 2877 ns 10
replace symbols with std::string_view find_first_of + copy_stddev 295 ns 290 ns 10
replace symbols with std::string_view find_first_of + copy_cv 9.99 % 9.83 % 10
replace runtime symbols with string expressions and without remembering all search results_mean 1804 ns 1803 ns 10
replace runtime symbols with string expressions and without remembering all search results_median 1822 ns 1814 ns 10
replace runtime symbols with string expressions and without remembering all search results_stddev 89.1 ns 97.3 ns 10
replace runtime symbols with string expressions and without remembering all search results_cv 4.94 % 5.40 % 10
replace runtime symbols with simstr and memorization of all search results_mean 1612 ns 1611 ns 10
replace runtime symbols with simstr and memorization of all search results_median 1615 ns 1622 ns 10
replace runtime symbols with simstr and memorization of all search results_stddev 124 ns 118 ns 10
replace runtime symbols with simstr and memorization of all search results_cv 7.68 % 7.34 % 10
replace const symbols with string expressions and without remembering all search results_mean 1441 ns 1441 ns 10
replace const symbols with string expressions and without remembering all search results_median 1401 ns 1397 ns 10
replace const symbols with string expressions and without remembering all search results_stddev 96.6 ns 101 ns 10
replace const symbols with string expressions and without remembering all search results_cv 6.70 % 7.00 % 10
replace const symbols with string expressions and memorization of all search results_mean 1438 ns 1437 ns 10
replace const symbols with string expressions and memorization of all search results_median 1402 ns 1409 ns 10
replace const symbols with string expressions and memorization of all search results_stddev 86.9 ns 83.4 ns 10
replace const symbols with string expressions and memorization of all search results_cv 6.04 % 5.81 % 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 384 ns 384 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_median 388 ns 385 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 23.9 ns 23.2 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_cv 6.22 % 6.03 % 10
Short replace symbols with std::string find_first_of + replace_mean 475 ns 474 ns 10
Short replace symbols with std::string find_first_of + replace_median 490 ns 488 ns 10
Short replace symbols with std::string find_first_of + replace_stddev 35.4 ns 37.2 ns 10
Short replace symbols with std::string find_first_of + replace_cv 7.44 % 7.84 % 10
Short replace symbols with std::string_view find_first_of + copy_mean 388 ns 385 ns 10
Short replace symbols with std::string_view find_first_of + copy_median 381 ns 377 ns 10
Short replace symbols with std::string_view find_first_of + copy_stddev 26.8 ns 28.2 ns 10
Short replace symbols with std::string_view find_first_of + copy_cv 6.91 % 7.32 % 10
Short replace runtime symbols with string expressions and without remembering all search results_mean 302 ns 301 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_median 298 ns 300 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_stddev 10.2 ns 8.35 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_cv 3.39 % 2.78 % 10
Short replace runtime symbols with simstr and memorization of all search results_mean 434 ns 433 ns 10
Short replace runtime symbols with simstr and memorization of all search results_median 429 ns 431 ns 10
Short replace runtime symbols with simstr and memorization of all search results_stddev 36.0 ns 34.4 ns 10
Short replace runtime symbols with simstr and memorization of all search results_cv 8.30 % 7.94 % 10
Short replace const symbols with string expressions and without remembering all search results_mean 260 ns 259 ns 10
Short replace const symbols with string expressions and without remembering all search results_median 259 ns 262 ns 10
Short replace const symbols with string expressions and without remembering all search results_stddev 4.81 ns 6.17 ns 10
Short replace const symbols with string expressions and without remembering all search results_cv 1.85 % 2.38 % 10
Short replace const symbols with string expressions and memorization of all search results_mean 345 ns 344 ns 10
Short replace const symbols with string expressions and memorization of all search results_median 345 ns 341 ns 10
Short replace const symbols with string expressions and memorization of all search results_stddev 11.0 ns 11.9 ns 10
Short replace const symbols with string expressions and memorization of all search results_cv 3.20 % 3.46 % 10
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 249 ns 248 ns 10
replace bb to ---- in std::string|64_median 246 ns 248 ns 10
replace bb to ---- in std::string|64_stddev 9.44 ns 10.9 ns 10
replace bb to ---- in std::string|64_cv 3.79 % 4.40 % 10
replace bb to ---- in std::string|256_mean 810 ns 811 ns 10
replace bb to ---- in std::string|256_median 803 ns 802 ns 10
replace bb to ---- in std::string|256_stddev 18.3 ns 16.9 ns 10
replace bb to ---- in std::string|256_cv 2.25 % 2.09 % 10
replace bb to ---- in std::string|512_mean 1556 ns 1551 ns 10
replace bb to ---- in std::string|512_median 1544 ns 1538 ns 10
replace bb to ---- in std::string|512_stddev 60.5 ns 57.7 ns 10
replace bb to ---- in std::string|512_cv 3.89 % 3.72 % 10
replace bb to ---- in std::string|1024_mean 3229 ns 3208 ns 10
replace bb to ---- in std::string|1024_median 3191 ns 3149 ns 10
replace bb to ---- in std::string|1024_stddev 125 ns 146 ns 10
replace bb to ---- in std::string|1024_cv 3.86 % 4.54 % 10
replace bb to ---- in std::string|2048_mean 8174 ns 8126 ns 10
replace bb to ---- in std::string|2048_median 8102 ns 8022 ns 10
replace bb to ---- in std::string|2048_stddev 363 ns 413 ns 10
replace bb to ---- in std::string|2048_cv 4.44 % 5.08 % 10
replace bb to ---- in lstringa<8>|64_mean 312 ns 312 ns 10
replace bb to ---- in lstringa<8>|64_median 312 ns 310 ns 10
replace bb to ---- in lstringa<8>|64_stddev 7.11 ns 10.5 ns 10
replace bb to ---- in lstringa<8>|64_cv 2.28 % 3.36 % 10
replace bb to ---- in lstringa<8>|256_mean 660 ns 659 ns 10
replace bb to ---- in lstringa<8>|256_median 662 ns 663 ns 10
replace bb to ---- in lstringa<8>|256_stddev 17.2 ns 18.0 ns 10
replace bb to ---- in lstringa<8>|256_cv 2.61 % 2.73 % 10
replace bb to ---- in lstringa<8>|512_mean 1138 ns 1137 ns 10
replace bb to ---- in lstringa<8>|512_median 1139 ns 1134 ns 10
replace bb to ---- in lstringa<8>|512_stddev 31.0 ns 37.5 ns 10
replace bb to ---- in lstringa<8>|512_cv 2.72 % 3.30 % 10
replace bb to ---- in lstringa<8>|1024_mean 2056 ns 2049 ns 10
replace bb to ---- in lstringa<8>|1024_median 2060 ns 2040 ns 10
replace bb to ---- in lstringa<8>|1024_stddev 39.7 ns 46.8 ns 10
replace bb to ---- in lstringa<8>|1024_cv 1.93 % 2.28 % 10
replace bb to ---- in lstringa<8>|2048_mean 3917 ns 3901 ns 10
replace bb to ---- in lstringa<8>|2048_median 3889 ns 3850 ns 10
replace bb to ---- in lstringa<8>|2048_stddev 87.2 ns 90.0 ns 10
replace bb to ---- in lstringa<8>|2048_cv 2.23 % 2.31 % 10
replace bb to ---- by init stringa|64_mean 206 ns 205 ns 10
replace bb to ---- by init stringa|64_median 207 ns 203 ns 10
replace bb to ---- by init stringa|64_stddev 4.03 ns 5.64 ns 10
replace bb to ---- by init stringa|64_cv 1.96 % 2.75 % 10
replace bb to ---- by init stringa|256_mean 475 ns 474 ns 10
replace bb to ---- by init stringa|256_median 476 ns 474 ns 10
replace bb to ---- by init stringa|256_stddev 5.16 ns 9.30 ns 10
replace bb to ---- by init stringa|256_cv 1.09 % 1.96 % 10
replace bb to ---- by init stringa|512_mean 1056 ns 1052 ns 10
replace bb to ---- by init stringa|512_median 1058 ns 1050 ns 10
replace bb to ---- by init stringa|512_stddev 16.3 ns 24.3 ns 10
replace bb to ---- by init stringa|512_cv 1.54 % 2.31 % 10
replace bb to ---- by init stringa|1024_mean 2152 ns 2148 ns 10
replace bb to ---- by init stringa|1024_median 2141 ns 2148 ns 10
replace bb to ---- by init stringa|1024_stddev 28.6 ns 39.9 ns 10
replace bb to ---- by init stringa|1024_cv 1.33 % 1.86 % 10
replace bb to ---- by init stringa|2048_mean 4321 ns 4322 ns 10
replace bb to ---- by init stringa|2048_median 4309 ns 4332 ns 10
replace bb to ---- by init stringa|2048_stddev 76.0 ns 53.5 ns 10
replace bb to ---- by init stringa|2048_cv 1.76 % 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 215 ns 214 ns 10
replace bb to -- in std::string|64_median 211 ns 210 ns 10
replace bb to -- in std::string|64_stddev 9.19 ns 7.21 ns 10
replace bb to -- in std::string|64_cv 4.28 % 3.37 % 10
replace bb to -- in std::string|256_mean 552 ns 552 ns 10
replace bb to -- in std::string|256_median 542 ns 544 ns 10
replace bb to -- in std::string|256_stddev 35.0 ns 34.9 ns 10
replace bb to -- in std::string|256_cv 6.34 % 6.32 % 10
replace bb to -- in std::string|512_mean 969 ns 969 ns 10
replace bb to -- in std::string|512_median 964 ns 963 ns 10
replace bb to -- in std::string|512_stddev 34.9 ns 34.2 ns 10
replace bb to -- in std::string|512_cv 3.60 % 3.53 % 10
replace bb to -- in std::string|1024_mean 1820 ns 1818 ns 10
replace bb to -- in std::string|1024_median 1812 ns 1803 ns 10
replace bb to -- in std::string|1024_stddev 38.8 ns 45.0 ns 10
replace bb to -- in std::string|1024_cv 2.13 % 2.48 % 10
replace bb to -- in std::string|2048_mean 3593 ns 3594 ns 10
replace bb to -- in std::string|2048_median 3586 ns 3610 ns 10
replace bb to -- in std::string|2048_stddev 58.5 ns 73.7 ns 10
replace bb to -- in std::string|2048_cv 1.63 % 2.05 % 10
replace bb to -- in lstringa<8>|64_mean 193 ns 194 ns 10
replace bb to -- in lstringa<8>|64_median 189 ns 190 ns 10
replace bb to -- in lstringa<8>|64_stddev 10.6 ns 10.7 ns 10
replace bb to -- in lstringa<8>|64_cv 5.49 % 5.54 % 10
replace bb to -- in lstringa<8>|256_mean 465 ns 464 ns 10
replace bb to -- in lstringa<8>|256_median 450 ns 449 ns 10
replace bb to -- in lstringa<8>|256_stddev 38.5 ns 39.7 ns 10
replace bb to -- in lstringa<8>|256_cv 8.27 % 8.55 % 10
replace bb to -- in lstringa<8>|512_mean 788 ns 786 ns 10
replace bb to -- in lstringa<8>|512_median 789 ns 785 ns 10
replace bb to -- in lstringa<8>|512_stddev 11.4 ns 9.90 ns 10
replace bb to -- in lstringa<8>|512_cv 1.45 % 1.26 % 10
replace bb to -- in lstringa<8>|1024_mean 1447 ns 1447 ns 10
replace bb to -- in lstringa<8>|1024_median 1451 ns 1444 ns 10
replace bb to -- in lstringa<8>|1024_stddev 20.8 ns 27.5 ns 10
replace bb to -- in lstringa<8>|1024_cv 1.44 % 1.90 % 10
replace bb to -- in lstringa<8>|2048_mean 2857 ns 2856 ns 10
replace bb to -- in lstringa<8>|2048_median 2859 ns 2888 ns 10
replace bb to -- in lstringa<8>|2048_stddev 44.1 ns 44.4 ns 10
replace bb to -- in lstringa<8>|2048_cv 1.54 % 1.55 % 10
replace bb to -- by init stringa|64_mean 185 ns 184 ns 10
replace bb to -- by init stringa|64_median 184 ns 184 ns 10
replace bb to -- by init stringa|64_stddev 4.08 ns 3.13 ns 10
replace bb to -- by init stringa|64_cv 2.21 % 1.70 % 10
replace bb to -- by init stringa|256_mean 387 ns 387 ns 10
replace bb to -- by init stringa|256_median 386 ns 389 ns 10
replace bb to -- by init stringa|256_stddev 5.42 ns 7.69 ns 10
replace bb to -- by init stringa|256_cv 1.40 % 1.99 % 10
replace bb to -- by init stringa|512_mean 651 ns 652 ns 10
replace bb to -- by init stringa|512_median 649 ns 649 ns 10
replace bb to -- by init stringa|512_stddev 10.7 ns 11.5 ns 10
replace bb to -- by init stringa|512_cv 1.65 % 1.76 % 10
replace bb to -- by init stringa|1024_mean 1196 ns 1191 ns 10
replace bb to -- by init stringa|1024_median 1185 ns 1196 ns 10
replace bb to -- by init stringa|1024_stddev 37.6 ns 41.2 ns 10
replace bb to -- by init stringa|1024_cv 3.15 % 3.46 % 10
replace bb to -- by init stringa|2048_mean 2408 ns 2401 ns 10
replace bb to -- by init stringa|2048_median 2306 ns 2312 ns 10
replace bb to -- by init stringa|2048_stddev 218 ns 202 ns 10
replace bb to -- by init stringa|2048_cv 9.04 % 8.41 % 10
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 4239554 ns 4220779 ns 10
hashStrMapA<size_t> emplace & find stringa;_median 4290226 ns 4312094 ns 10
hashStrMapA<size_t> emplace & find stringa;_stddev 183556 ns 173772 ns 10
hashStrMapA<size_t> emplace & find stringa;_cv 4.33 % 4.12 % 10
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5843669 ns 5843750 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5784634 ns 5781250 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 244035 ns 277561 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 4.18 % 4.75 % 10
hashStrMapA<size_t> emplace & find ssa;_mean 3963034 ns 3936802 ns 10
hashStrMapA<size_t> emplace & find ssa;_median 3979594 ns 3971718 ns 10
hashStrMapA<size_t> emplace & find ssa;_stddev 101647 ns 96064 ns 10
hashStrMapA<size_t> emplace & find ssa;_cv 2.56 % 2.44 % 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6280080 ns 6277902 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6250248 ns 6277902 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 160517 ns 113909 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 2.56 % 1.81 % 10
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 1716 ns 1715 ns 10
Build func full name std::string;_median 1681 ns 1688 ns 10
Build func full name std::string;_stddev 108 ns 117 ns 10
Build func full name std::string;_cv 6.31 % 6.84 % 10
Build func full name std::string 1;_mean 1802 ns 1799 ns 10
Build func full name std::string 1;_median 1758 ns 1765 ns 10
Build func full name std::string 1;_stddev 124 ns 116 ns 10
Build func full name std::string 1;_cv 6.88 % 6.47 % 10
Build func full name std::stream;_mean 10011 ns 9950 ns 10
Build func full name std::stream;_median 9867 ns 9888 ns 10
Build func full name std::stream;_stddev 460 ns 445 ns 10
Build func full name std::stream;_cv 4.60 % 4.47 % 10
Build func full name stringa;_mean 1061 ns 1060 ns 10
Build func full name stringa;_median 1053 ns 1050 ns 10
Build func full name stringa;_stddev 35.1 ns 34.9 ns 10
Build func full name stringa;_cv 3.31 % 3.29 % 10
Build func full name stringa 1;_mean 1245 ns 1240 ns 10
Build func full name stringa 1;_median 1243 ns 1224 ns 10
Build func full name stringa 1;_stddev 25.8 ns 22.2 ns 10
Build func full name stringa 1;_cv 2.07 % 1.79 % 10