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

889 lines
132 KiB
Plaintext

2026-01-29T19:33:03+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 265 ns 261 ns 10
Concat std::string and number by std to std::string_median 262 ns 261 ns 10
Concat std::string and number by std to std::string_stddev 6.94 ns 7.10 ns 10
Concat std::string and number by std to std::string_cv 2.63 % 2.71 % 10
Concat std::string and number by StrExpr to std::string_mean 178 ns 178 ns 10
Concat std::string and number by StrExpr to std::string_median 178 ns 178 ns 10
Concat std::string and number by StrExpr to std::string_stddev 13.8 ns 13.8 ns 10
Concat std::string and number by StrExpr to std::string_cv 7.79 % 7.77 % 10
Concat stringa and number by StrExpr to simstr::stringa_mean 66.5 ns 66.1 ns 10
Concat stringa and number by StrExpr to simstr::stringa_median 66.1 ns 66.3 ns 10
Concat stringa and number by StrExpr to simstr::stringa_stddev 1.69 ns 2.09 ns 10
Concat stringa and number by StrExpr to simstr::stringa_cv 2.54 % 3.16 % 10
Concat stringa and number by e_concat to simstr::stringa_mean 74.9 ns 74.5 ns 10
Concat stringa and number by e_concat to simstr::stringa_median 73.9 ns 74.1 ns 10
Concat stringa and number by e_concat to simstr::stringa_stddev 3.72 ns 3.29 ns 10
Concat stringa and number by e_concat to simstr::stringa_cv 4.97 % 4.42 % 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 1518 ns 1510 ns 10
Concat std::string and hex number by std to std::string_median 1521 ns 1500 ns 10
Concat std::string and hex number by std to std::string_stddev 43.0 ns 52.1 ns 10
Concat std::string and hex number by std to std::string_cv 2.83 % 3.45 % 10
Concat std::string and hex number by StrExpr to std::string_mean 81.0 ns 80.9 ns 10
Concat std::string and hex number by StrExpr to std::string_median 80.3 ns 80.2 ns 10
Concat std::string and hex number by StrExpr to std::string_stddev 3.01 ns 3.87 ns 10
Concat std::string and hex number by StrExpr to std::string_cv 3.71 % 4.79 % 10
Concat stringa and hex number by StrExpr to simstr::stringa_mean 76.6 ns 75.5 ns 10
Concat stringa and hex number by StrExpr to simstr::stringa_median 76.0 ns 75.9 ns 10
Concat stringa and hex number by StrExpr to simstr::stringa_stddev 5.48 ns 6.10 ns 10
Concat stringa and hex number by StrExpr to simstr::stringa_cv 7.16 % 8.08 % 10
Concat stringa and hex number by e_concat to simstr::stringa_mean 78.3 ns 77.8 ns 10
Concat stringa and hex number by e_concat to simstr::stringa_median 77.5 ns 76.7 ns 10
Concat stringa and hex number by e_concat to simstr::stringa_stddev 3.97 ns 3.20 ns 10
Concat stringa and hex number by e_concat to simstr::stringa_cv 5.08 % 4.12 % 10
Concat stringa and hex number by e_subst to simstr::stringa_mean 150 ns 149 ns 10
Concat stringa and hex number by e_subst to simstr::stringa_median 149 ns 146 ns 10
Concat stringa and hex number by e_subst to simstr::stringa_stddev 7.28 ns 7.72 ns 10
Concat stringa and hex number by e_subst to simstr::stringa_cv 4.85 % 5.18 % 10
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 40.1 ns 39.8 ns 10
Concat std::string by std to std::string_median 40.3 ns 39.8 ns 10
Concat std::string by std to std::string_stddev 1.11 ns 1.26 ns 10
Concat std::string by std to std::string_cv 2.77 % 3.16 % 10
Concat std::string by StrExpr to std::string_mean 39.4 ns 39.1 ns 10
Concat std::string by StrExpr to std::string_median 38.6 ns 38.4 ns 10
Concat std::string by StrExpr to std::string_stddev 1.51 ns 1.47 ns 10
Concat std::string by StrExpr to std::string_cv 3.83 % 3.76 % 10
Concat stringa by StrExpr to stringa_mean 28.7 ns 28.5 ns 10
Concat stringa by StrExpr to stringa_median 29.0 ns 28.5 ns 10
Concat stringa by StrExpr to stringa_stddev 0.620 ns 0.699 ns 10
Concat stringa by StrExpr to stringa_cv 2.16 % 2.45 % 10
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 205 ns 204 ns 10
Find concat three std::string_median 205 ns 204 ns 10
Find concat three std::string_stddev 5.53 ns 6.21 ns 10
Find concat three std::string_cv 2.69 % 3.05 % 10
Find concat three strexpr_mean 114 ns 114 ns 10
Find concat three strexpr_median 113 ns 114 ns 10
Find concat three strexpr_stddev 2.57 ns 2.64 ns 10
Find concat three strexpr_cv 2.26 % 2.32 % 10
Find concat three simstr_mean 21.5 ns 21.5 ns 10
Find concat three simstr_median 21.2 ns 21.2 ns 10
Find concat three simstr_stddev 0.643 ns 0.669 ns 10
Find concat three simstr_cv 2.99 % 3.11 % 10
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 8.22 ns 8.14 ns 10
BuildTypeNameStr 0/0_median 8.18 ns 8.11 ns 10
BuildTypeNameStr 0/0_stddev 0.297 ns 0.297 ns 10
BuildTypeNameStr 0/0_cv 3.61 % 3.65 % 10
BuildTypeNameExp 0/0_mean 7.62 ns 7.57 ns 10
BuildTypeNameExp 0/0_median 7.58 ns 7.50 ns 10
BuildTypeNameExp 0/0_stddev 0.165 ns 0.187 ns 10
BuildTypeNameExp 0/0_cv 2.17 % 2.48 % 10
BuildTypeNameSim 0/0_mean 8.19 ns 8.16 ns 10
BuildTypeNameSim 0/0_median 7.92 ns 7.85 ns 10
BuildTypeNameSim 0/0_stddev 0.776 ns 0.788 ns 10
BuildTypeNameSim 0/0_cv 9.47 % 9.65 % 10
BuildTypeNameStr 10/10_mean 64.1 ns 63.6 ns 10
BuildTypeNameStr 10/10_median 58.8 ns 57.9 ns 10
BuildTypeNameStr 10/10_stddev 9.60 ns 10.2 ns 10
BuildTypeNameStr 10/10_cv 14.97 % 16.06 % 10
BuildTypeNameExp 10/10_mean 33.9 ns 33.8 ns 10
BuildTypeNameExp 10/10_median 33.3 ns 33.4 ns 10
BuildTypeNameExp 10/10_stddev 1.37 ns 1.20 ns 10
BuildTypeNameExp 10/10_cv 4.05 % 3.55 % 10
BuildTypeNameSim 10/10_mean 25.3 ns 25.2 ns 10
BuildTypeNameSim 10/10_median 25.1 ns 25.1 ns 10
BuildTypeNameSim 10/10_stddev 0.834 ns 0.765 ns 10
BuildTypeNameSim 10/10_cv 3.30 % 3.04 % 10
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 312 ns 309 ns 10
Concat with replace str_median 315 ns 308 ns 10
Concat with replace str_stddev 11.3 ns 10.5 ns 10
Concat with replace str_cv 3.64 % 3.39 % 10
Concat with replace exp_mean 228 ns 224 ns 10
Concat with replace exp_median 223 ns 217 ns 10
Concat with replace exp_stddev 23.9 ns 24.8 ns 10
Concat with replace exp_cv 10.47 % 11.08 % 10
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.17 ns 1.16 ns 10
std::string e;_median 1.14 ns 1.14 ns 10
std::string e;_stddev 0.083 ns 0.088 ns 10
std::string e;_cv 7.11 % 7.62 % 10
std::string_view e;_mean 0.363 ns 0.361 ns 10
std::string_view e;_median 0.360 ns 0.361 ns 10
std::string_view e;_stddev 0.008 ns 0.009 ns 10
std::string_view e;_cv 2.15 % 2.57 % 10
ssa e;_mean 0.360 ns 0.355 ns 10
ssa e;_median 0.363 ns 0.357 ns 10
ssa e;_stddev 0.007 ns 0.008 ns 10
ssa e;_cv 1.97 % 2.39 % 10
stringa e;_mean 0.740 ns 0.734 ns 10
stringa e;_median 0.740 ns 0.732 ns 10
stringa e;_stddev 0.019 ns 0.022 ns 10
stringa e;_cv 2.55 % 3.06 % 10
lstringa<20> e;_mean 1.11 ns 1.10 ns 10
lstringa<20> e;_median 1.08 ns 1.07 ns 10
lstringa<20> e;_stddev 0.066 ns 0.068 ns 10
lstringa<20> e;_cv 5.96 % 6.13 % 10
lstringa<40> e;_mean 1.10 ns 1.08 ns 10
lstringa<40> e;_median 1.08 ns 1.09 ns 10
lstringa<40> e;_stddev 0.032 ns 0.018 ns 10
lstringa<40> e;_cv 2.93 % 1.63 % 10
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 1.82 ns 1.81 ns 10
std::string e = "Test text";_median 1.79 ns 1.78 ns 10
std::string e = "Test text";_stddev 0.071 ns 0.065 ns 10
std::string e = "Test text";_cv 3.88 % 3.60 % 10
std::string_view e = "Test text";_mean 0.769 ns 0.765 ns 10
std::string_view e = "Test text";_median 0.756 ns 0.746 ns 10
std::string_view e = "Test text";_stddev 0.054 ns 0.055 ns 10
std::string_view e = "Test text";_cv 7.08 % 7.24 % 10
ssa e = "Test text";_mean 0.365 ns 0.363 ns 10
ssa e = "Test text";_median 0.358 ns 0.358 ns 10
ssa e = "Test text";_stddev 0.016 ns 0.014 ns 10
ssa e = "Test text";_cv 4.43 % 3.91 % 10
stringa e = "Test text";_mean 1.08 ns 1.07 ns 10
stringa e = "Test text";_median 1.08 ns 1.07 ns 10
stringa e = "Test text";_stddev 0.017 ns 0.012 ns 10
stringa e = "Test text";_cv 1.56 % 1.07 % 10
lstringa<20> e = "Test text";_mean 1.85 ns 1.86 ns 10
lstringa<20> e = "Test text";_median 1.85 ns 1.84 ns 10
lstringa<20> e = "Test text";_stddev 0.054 ns 0.055 ns 10
lstringa<20> e = "Test text";_cv 2.89 % 2.95 % 10
lstringa<40> e = "Test text";_mean 1.87 ns 1.85 ns 10
lstringa<40> e = "Test text";_median 1.86 ns 1.84 ns 10
lstringa<40> e = "Test text";_stddev 0.067 ns 0.062 ns 10
lstringa<40> e = "Test text";_cv 3.61 % 3.34 % 10
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 72.1 ns 71.0 ns 10
std::string e = "123456789012345678901234567890";_median 72.4 ns 70.6 ns 10
std::string e = "123456789012345678901234567890";_stddev 2.45 ns 2.33 ns 10
std::string e = "123456789012345678901234567890";_cv 3.39 % 3.29 % 10
std::string_view e = "123456789012345678901234567890";_mean 0.734 ns 0.734 ns 10
std::string_view e = "123456789012345678901234567890";_median 0.721 ns 0.724 ns 10
std::string_view e = "123456789012345678901234567890";_stddev 0.032 ns 0.033 ns 10
std::string_view e = "123456789012345678901234567890";_cv 4.40 % 4.54 % 10
ssa e = "123456789012345678901234567890";_mean 0.360 ns 0.356 ns 10
ssa e = "123456789012345678901234567890";_median 0.355 ns 0.353 ns 10
ssa e = "123456789012345678901234567890";_stddev 0.010 ns 0.007 ns 10
ssa e = "123456789012345678901234567890";_cv 2.76 % 1.90 % 10
stringa e = "123456789012345678901234567890";_mean 1.08 ns 1.07 ns 10
stringa e = "123456789012345678901234567890";_median 1.06 ns 1.07 ns 10
stringa e = "123456789012345678901234567890";_stddev 0.028 ns 0.030 ns 10
stringa e = "123456789012345678901234567890";_cv 2.59 % 2.83 % 10
lstringa<20> e = "123456789012345678901234567890";_mean 74.5 ns 73.4 ns 10
lstringa<20> e = "123456789012345678901234567890";_median 74.3 ns 73.9 ns 10
lstringa<20> e = "123456789012345678901234567890";_stddev 1.41 ns 1.64 ns 10
lstringa<20> e = "123456789012345678901234567890";_cv 1.89 % 2.23 % 10
lstringa<40> e = "123456789012345678901234567890";_mean 2.52 ns 2.48 ns 10
lstringa<40> e = "123456789012345678901234567890";_median 2.49 ns 2.46 ns 10
lstringa<40> e = "123456789012345678901234567890";_stddev 0.080 ns 0.039 ns 10
lstringa<40> e = "123456789012345678901234567890";_cv 3.18 % 1.59 % 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 1.84 ns 1.83 ns 10
std::string e = "Test text"; auto c{e};_median 1.80 ns 1.82 ns 10
std::string e = "Test text"; auto c{e};_stddev 0.089 ns 0.092 ns 10
std::string e = "Test text"; auto c{e};_cv 4.83 % 5.03 % 10
std::string_view e = "Test text"; auto c{e};_mean 0.373 ns 0.368 ns 10
std::string_view e = "Test text"; auto c{e};_median 0.373 ns 0.366 ns 10
std::string_view e = "Test text"; auto c{e};_stddev 0.015 ns 0.017 ns 10
std::string_view e = "Test text"; auto c{e};_cv 4.02 % 4.58 % 10
ssa e = "Test text"; auto c{e};_mean 0.363 ns 0.363 ns 10
ssa e = "Test text"; auto c{e};_median 0.359 ns 0.361 ns 10
ssa e = "Test text"; auto c{e};_stddev 0.010 ns 0.011 ns 10
ssa e = "Test text"; auto c{e};_cv 2.79 % 3.13 % 10
stringa e = "Test text"; auto c{e};_mean 1.28 ns 1.27 ns 10
stringa e = "Test text"; auto c{e};_median 1.29 ns 1.27 ns 10
stringa e = "Test text"; auto c{e};_stddev 0.030 ns 0.035 ns 10
stringa e = "Test text"; auto c{e};_cv 2.34 % 2.79 % 10
lstringa<20> e = "Test text"; auto c{e};_mean 4.74 ns 4.71 ns 10
lstringa<20> e = "Test text"; auto c{e};_median 4.70 ns 4.65 ns 10
lstringa<20> e = "Test text"; auto c{e};_stddev 0.131 ns 0.152 ns 10
lstringa<20> e = "Test text"; auto c{e};_cv 2.77 % 3.23 % 10
lstringa<40> e = "Test text"; auto c{e};_mean 4.70 ns 4.67 ns 10
lstringa<40> e = "Test text"; auto c{e};_median 4.65 ns 4.60 ns 10
lstringa<40> e = "Test text"; auto c{e};_stddev 0.155 ns 0.141 ns 10
lstringa<40> e = "Test text"; auto c{e};_cv 3.29 % 3.03 % 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 76.6 ns 75.9 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_median 75.4 ns 75.0 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 3.30 ns 2.76 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_cv 4.30 % 3.63 % 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.714 ns 0.710 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.707 ns 0.715 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.014 ns 0.017 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.99 % 2.33 % 10
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.362 ns 0.361 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.361 ns 0.361 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.007 ns 0.007 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_cv 2.00 % 2.01 % 10
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.84 ns 1.83 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.80 ns 1.80 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.105 ns 0.079 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_cv 5.69 % 4.34 % 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 79.1 ns 79.0 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 78.1 ns 78.5 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 5.13 ns 4.94 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 6.48 % 6.25 % 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.46 ns 4.40 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.43 ns 4.39 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.163 ns 0.126 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 3.67 % 2.85 % 10
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 38.2 ns 38.3 ns 10
std::string::find;_median 37.9 ns 37.7 ns 10
std::string::find;_stddev 0.923 ns 1.19 ns 10
std::string::find;_cv 2.41 % 3.10 % 10
std::string_view::find;_mean 38.2 ns 37.8 ns 10
std::string_view::find;_median 37.7 ns 37.7 ns 10
std::string_view::find;_stddev 1.44 ns 0.769 ns 10
std::string_view::find;_cv 3.77 % 2.03 % 10
ssa::find;_mean 17.8 ns 17.6 ns 10
ssa::find;_median 17.7 ns 17.4 ns 10
ssa::find;_stddev 0.592 ns 0.711 ns 10
ssa::find;_cv 3.33 % 4.05 % 10
stringa::find;_mean 18.7 ns 18.7 ns 10
stringa::find;_median 18.2 ns 17.9 ns 10
stringa::find;_stddev 1.67 ns 1.65 ns 10
stringa::find;_cv 8.93 % 8.85 % 10
lstringa<20>::find;_mean 19.6 ns 19.6 ns 10
lstringa<20>::find;_median 18.9 ns 18.6 ns 10
lstringa<20>::find;_stddev 1.77 ns 1.93 ns 10
lstringa<20>::find;_cv 9.03 % 9.87 % 10
lstringa<40>::find;_mean 17.5 ns 17.3 ns 10
lstringa<40>::find;_median 17.2 ns 17.3 ns 10
lstringa<40>::find;_stddev 0.751 ns 0.741 ns 10
lstringa<40>::find;_cv 4.28 % 4.27 % 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 1.80 ns 1.79 ns 10
std::string copy{str_with_len_N};/15_median 1.79 ns 1.77 ns 10
std::string copy{str_with_len_N};/15_stddev 0.033 ns 0.049 ns 10
std::string copy{str_with_len_N};/15_cv 1.84 % 2.73 % 10
std::string copy{str_with_len_N};/16_mean 80.7 ns 80.4 ns 10
std::string copy{str_with_len_N};/16_median 80.4 ns 80.2 ns 10
std::string copy{str_with_len_N};/16_stddev 2.05 ns 2.39 ns 10
std::string copy{str_with_len_N};/16_cv 2.54 % 2.97 % 10
std::string copy{str_with_len_N};/23_mean 81.5 ns 80.4 ns 10
std::string copy{str_with_len_N};/23_median 81.6 ns 79.5 ns 10
std::string copy{str_with_len_N};/23_stddev 3.76 ns 3.72 ns 10
std::string copy{str_with_len_N};/23_cv 4.61 % 4.63 % 10
std::string copy{str_with_len_N};/24_mean 79.1 ns 78.0 ns 10
std::string copy{str_with_len_N};/24_median 78.2 ns 78.5 ns 10
std::string copy{str_with_len_N};/24_stddev 3.54 ns 1.85 ns 10
std::string copy{str_with_len_N};/24_cv 4.47 % 2.37 % 10
std::string copy{str_with_len_N};/32_mean 81.0 ns 79.9 ns 10
std::string copy{str_with_len_N};/32_median 80.7 ns 79.3 ns 10
std::string copy{str_with_len_N};/32_stddev 1.83 ns 2.30 ns 10
std::string copy{str_with_len_N};/32_cv 2.26 % 2.87 % 10
std::string copy{str_with_len_N};/64_mean 82.1 ns 80.0 ns 10
std::string copy{str_with_len_N};/64_median 80.6 ns 79.3 ns 10
std::string copy{str_with_len_N};/64_stddev 6.31 ns 3.33 ns 10
std::string copy{str_with_len_N};/64_cv 7.68 % 4.17 % 10
std::string copy{str_with_len_N};/128_mean 84.9 ns 83.5 ns 10
std::string copy{str_with_len_N};/128_median 83.3 ns 82.0 ns 10
std::string copy{str_with_len_N};/128_stddev 6.18 ns 6.65 ns 10
std::string copy{str_with_len_N};/128_cv 7.29 % 7.96 % 10
std::string copy{str_with_len_N};/256_mean 84.9 ns 84.4 ns 10
std::string copy{str_with_len_N};/256_median 84.7 ns 83.7 ns 10
std::string copy{str_with_len_N};/256_stddev 1.41 ns 1.47 ns 10
std::string copy{str_with_len_N};/256_cv 1.66 % 1.74 % 10
std::string copy{str_with_len_N};/512_mean 95.7 ns 95.4 ns 10
std::string copy{str_with_len_N};/512_median 91.2 ns 91.0 ns 10
std::string copy{str_with_len_N};/512_stddev 11.0 ns 11.0 ns 10
std::string copy{str_with_len_N};/512_cv 11.50 % 11.57 % 10
std::string copy{str_with_len_N};/1024_mean 95.9 ns 95.7 ns 10
std::string copy{str_with_len_N};/1024_median 93.5 ns 93.5 ns 10
std::string copy{str_with_len_N};/1024_stddev 6.97 ns 6.97 ns 10
std::string copy{str_with_len_N};/1024_cv 7.26 % 7.28 % 10
std::string copy{str_with_len_N};/2048_mean 131 ns 130 ns 10
std::string copy{str_with_len_N};/2048_median 131 ns 131 ns 10
std::string copy{str_with_len_N};/2048_stddev 2.72 ns 2.35 ns 10
std::string copy{str_with_len_N};/2048_cv 2.08 % 1.81 % 10
std::string copy{str_with_len_N};/4096_mean 175 ns 174 ns 10
std::string copy{str_with_len_N};/4096_median 175 ns 173 ns 10
std::string copy{str_with_len_N};/4096_stddev 5.31 ns 5.44 ns 10
std::string copy{str_with_len_N};/4096_cv 3.04 % 3.13 % 10
stringa copy{str_with_len_N};/15_mean 1.31 ns 1.31 ns 10
stringa copy{str_with_len_N};/15_median 1.29 ns 1.28 ns 10
stringa copy{str_with_len_N};/15_stddev 0.078 ns 0.085 ns 10
stringa copy{str_with_len_N};/15_cv 5.99 % 6.50 % 10
stringa copy{str_with_len_N};/16_mean 1.29 ns 1.28 ns 10
stringa copy{str_with_len_N};/16_median 1.29 ns 1.27 ns 10
stringa copy{str_with_len_N};/16_stddev 0.037 ns 0.037 ns 10
stringa copy{str_with_len_N};/16_cv 2.88 % 2.93 % 10
stringa copy{str_with_len_N};/23_mean 1.29 ns 1.27 ns 10
stringa copy{str_with_len_N};/23_median 1.27 ns 1.26 ns 10
stringa copy{str_with_len_N};/23_stddev 0.043 ns 0.040 ns 10
stringa copy{str_with_len_N};/23_cv 3.36 % 3.12 % 10
stringa copy{str_with_len_N};/24_mean 15.8 ns 15.5 ns 10
stringa copy{str_with_len_N};/24_median 15.8 ns 15.3 ns 10
stringa copy{str_with_len_N};/24_stddev 0.176 ns 0.294 ns 10
stringa copy{str_with_len_N};/24_cv 1.11 % 1.90 % 10
stringa copy{str_with_len_N};/32_mean 16.0 ns 15.3 ns 10
stringa copy{str_with_len_N};/32_median 15.9 ns 15.3 ns 10
stringa copy{str_with_len_N};/32_stddev 0.362 ns 0.443 ns 10
stringa copy{str_with_len_N};/32_cv 2.27 % 2.89 % 10
stringa copy{str_with_len_N};/64_mean 15.7 ns 15.6 ns 10
stringa copy{str_with_len_N};/64_median 15.7 ns 15.7 ns 10
stringa copy{str_with_len_N};/64_stddev 0.216 ns 0.275 ns 10
stringa copy{str_with_len_N};/64_cv 1.37 % 1.76 % 10
stringa copy{str_with_len_N};/128_mean 15.9 ns 15.8 ns 10
stringa copy{str_with_len_N};/128_median 16.0 ns 15.9 ns 10
stringa copy{str_with_len_N};/128_stddev 0.183 ns 0.287 ns 10
stringa copy{str_with_len_N};/128_cv 1.15 % 1.82 % 10
stringa copy{str_with_len_N};/256_mean 16.0 ns 15.9 ns 10
stringa copy{str_with_len_N};/256_median 16.1 ns 15.9 ns 10
stringa copy{str_with_len_N};/256_stddev 0.265 ns 0.244 ns 10
stringa copy{str_with_len_N};/256_cv 1.66 % 1.53 % 10
stringa copy{str_with_len_N};/512_mean 15.9 ns 15.8 ns 10
stringa copy{str_with_len_N};/512_median 15.8 ns 15.7 ns 10
stringa copy{str_with_len_N};/512_stddev 0.265 ns 0.283 ns 10
stringa copy{str_with_len_N};/512_cv 1.66 % 1.80 % 10
stringa copy{str_with_len_N};/1024_mean 16.1 ns 15.7 ns 10
stringa copy{str_with_len_N};/1024_median 16.1 ns 15.7 ns 10
stringa copy{str_with_len_N};/1024_stddev 0.211 ns 0.435 ns 10
stringa copy{str_with_len_N};/1024_cv 1.32 % 2.77 % 10
stringa copy{str_with_len_N};/2048_mean 16.1 ns 15.7 ns 10
stringa copy{str_with_len_N};/2048_median 16.1 ns 15.7 ns 10
stringa copy{str_with_len_N};/2048_stddev 0.298 ns 0.257 ns 10
stringa copy{str_with_len_N};/2048_cv 1.85 % 1.64 % 10
stringa copy{str_with_len_N};/4096_mean 16.0 ns 15.8 ns 10
stringa copy{str_with_len_N};/4096_median 16.0 ns 15.7 ns 10
stringa copy{str_with_len_N};/4096_stddev 0.233 ns 0.316 ns 10
stringa copy{str_with_len_N};/4096_cv 1.45 % 1.99 % 10
lstringa<16> copy{str_with_len_N};/15_mean 5.02 ns 4.97 ns 10
lstringa<16> copy{str_with_len_N};/15_median 4.99 ns 5.02 ns 10
lstringa<16> copy{str_with_len_N};/15_stddev 0.223 ns 0.188 ns 10
lstringa<16> copy{str_with_len_N};/15_cv 4.45 % 3.79 % 10
lstringa<16> copy{str_with_len_N};/16_mean 4.96 ns 4.93 ns 10
lstringa<16> copy{str_with_len_N};/16_median 4.96 ns 4.92 ns 10
lstringa<16> copy{str_with_len_N};/16_stddev 0.121 ns 0.127 ns 10
lstringa<16> copy{str_with_len_N};/16_cv 2.43 % 2.57 % 10
lstringa<16> copy{str_with_len_N};/23_mean 5.42 ns 5.38 ns 10
lstringa<16> copy{str_with_len_N};/23_median 5.25 ns 5.24 ns 10
lstringa<16> copy{str_with_len_N};/23_stddev 0.408 ns 0.435 ns 10
lstringa<16> copy{str_with_len_N};/23_cv 7.53 % 8.08 % 10
lstringa<16> copy{str_with_len_N};/24_mean 78.1 ns 77.4 ns 10
lstringa<16> copy{str_with_len_N};/24_median 77.1 ns 76.4 ns 10
lstringa<16> copy{str_with_len_N};/24_stddev 3.87 ns 3.12 ns 10
lstringa<16> copy{str_with_len_N};/24_cv 4.96 % 4.03 % 10
lstringa<16> copy{str_with_len_N};/32_mean 84.7 ns 83.5 ns 10
lstringa<16> copy{str_with_len_N};/32_median 83.8 ns 82.0 ns 10
lstringa<16> copy{str_with_len_N};/32_stddev 4.08 ns 4.68 ns 10
lstringa<16> copy{str_with_len_N};/32_cv 4.81 % 5.61 % 10
lstringa<16> copy{str_with_len_N};/64_mean 82.4 ns 81.4 ns 10
lstringa<16> copy{str_with_len_N};/64_median 81.8 ns 80.2 ns 10
lstringa<16> copy{str_with_len_N};/64_stddev 4.29 ns 3.49 ns 10
lstringa<16> copy{str_with_len_N};/64_cv 5.21 % 4.29 % 10
lstringa<16> copy{str_with_len_N};/128_mean 87.2 ns 85.6 ns 10
lstringa<16> copy{str_with_len_N};/128_median 86.9 ns 85.4 ns 10
lstringa<16> copy{str_with_len_N};/128_stddev 5.47 ns 5.90 ns 10
lstringa<16> copy{str_with_len_N};/128_cv 6.27 % 6.89 % 10
lstringa<16> copy{str_with_len_N};/256_mean 93.7 ns 92.6 ns 10
lstringa<16> copy{str_with_len_N};/256_median 94.8 ns 93.5 ns 10
lstringa<16> copy{str_with_len_N};/256_stddev 6.19 ns 6.55 ns 10
lstringa<16> copy{str_with_len_N};/256_cv 6.61 % 7.07 % 10
lstringa<16> copy{str_with_len_N};/512_mean 93.0 ns 92.9 ns 10
lstringa<16> copy{str_with_len_N};/512_median 92.3 ns 91.6 ns 10
lstringa<16> copy{str_with_len_N};/512_stddev 4.38 ns 4.20 ns 10
lstringa<16> copy{str_with_len_N};/512_cv 4.71 % 4.51 % 10
lstringa<16> copy{str_with_len_N};/1024_mean 99.6 ns 99.0 ns 10
lstringa<16> copy{str_with_len_N};/1024_median 99.5 ns 98.4 ns 10
lstringa<16> copy{str_with_len_N};/1024_stddev 6.50 ns 6.69 ns 10
lstringa<16> copy{str_with_len_N};/1024_cv 6.53 % 6.76 % 10
lstringa<16> copy{str_with_len_N};/2048_mean 127 ns 126 ns 10
lstringa<16> copy{str_with_len_N};/2048_median 125 ns 126 ns 10
lstringa<16> copy{str_with_len_N};/2048_stddev 6.35 ns 6.03 ns 10
lstringa<16> copy{str_with_len_N};/2048_cv 5.01 % 4.77 % 10
lstringa<16> copy{str_with_len_N};/4096_mean 198 ns 196 ns 10
lstringa<16> copy{str_with_len_N};/4096_median 198 ns 197 ns 10
lstringa<16> copy{str_with_len_N};/4096_stddev 4.38 ns 4.16 ns 10
lstringa<16> copy{str_with_len_N};/4096_cv 2.21 % 2.12 % 10
lstringa<512> copy{str_with_len_N};/15_mean 4.94 ns 4.84 ns 10
lstringa<512> copy{str_with_len_N};/15_median 4.93 ns 4.84 ns 10
lstringa<512> copy{str_with_len_N};/15_stddev 0.241 ns 0.285 ns 10
lstringa<512> copy{str_with_len_N};/15_cv 4.88 % 5.89 % 10
lstringa<512> copy{str_with_len_N};/16_mean 4.93 ns 4.87 ns 10
lstringa<512> copy{str_with_len_N};/16_median 4.97 ns 4.80 ns 10
lstringa<512> copy{str_with_len_N};/16_stddev 0.161 ns 0.187 ns 10
lstringa<512> copy{str_with_len_N};/16_cv 3.28 % 3.85 % 10
lstringa<512> copy{str_with_len_N};/23_mean 4.71 ns 4.66 ns 10
lstringa<512> copy{str_with_len_N};/23_median 4.69 ns 4.66 ns 10
lstringa<512> copy{str_with_len_N};/23_stddev 0.088 ns 0.055 ns 10
lstringa<512> copy{str_with_len_N};/23_cv 1.87 % 1.18 % 10
lstringa<512> copy{str_with_len_N};/24_mean 4.87 ns 4.85 ns 10
lstringa<512> copy{str_with_len_N};/24_median 4.86 ns 4.81 ns 10
lstringa<512> copy{str_with_len_N};/24_stddev 0.104 ns 0.123 ns 10
lstringa<512> copy{str_with_len_N};/24_cv 2.13 % 2.53 % 10
lstringa<512> copy{str_with_len_N};/32_mean 7.69 ns 7.60 ns 10
lstringa<512> copy{str_with_len_N};/32_median 7.64 ns 7.67 ns 10
lstringa<512> copy{str_with_len_N};/32_stddev 0.197 ns 0.187 ns 10
lstringa<512> copy{str_with_len_N};/32_cv 2.56 % 2.47 % 10
lstringa<512> copy{str_with_len_N};/64_mean 7.79 ns 7.71 ns 10
lstringa<512> copy{str_with_len_N};/64_median 7.77 ns 7.67 ns 10
lstringa<512> copy{str_with_len_N};/64_stddev 0.212 ns 0.138 ns 10
lstringa<512> copy{str_with_len_N};/64_cv 2.73 % 1.78 % 10
lstringa<512> copy{str_with_len_N};/128_mean 8.68 ns 8.62 ns 10
lstringa<512> copy{str_with_len_N};/128_median 8.58 ns 8.48 ns 10
lstringa<512> copy{str_with_len_N};/128_stddev 0.462 ns 0.511 ns 10
lstringa<512> copy{str_with_len_N};/128_cv 5.32 % 5.92 % 10
lstringa<512> copy{str_with_len_N};/256_mean 9.48 ns 9.33 ns 10
lstringa<512> copy{str_with_len_N};/256_median 9.44 ns 9.21 ns 10
lstringa<512> copy{str_with_len_N};/256_stddev 0.363 ns 0.330 ns 10
lstringa<512> copy{str_with_len_N};/256_cv 3.83 % 3.54 % 10
lstringa<512> copy{str_with_len_N};/512_mean 10.9 ns 10.8 ns 10
lstringa<512> copy{str_with_len_N};/512_median 10.8 ns 10.6 ns 10
lstringa<512> copy{str_with_len_N};/512_stddev 0.418 ns 0.437 ns 10
lstringa<512> copy{str_with_len_N};/512_cv 3.84 % 4.06 % 10
lstringa<512> copy{str_with_len_N};/1024_mean 98.5 ns 98.6 ns 10
lstringa<512> copy{str_with_len_N};/1024_median 99.5 ns 99.4 ns 10
lstringa<512> copy{str_with_len_N};/1024_stddev 6.81 ns 6.87 ns 10
lstringa<512> copy{str_with_len_N};/1024_cv 6.91 % 6.97 % 10
lstringa<512> copy{str_with_len_N};/2048_mean 132 ns 132 ns 10
lstringa<512> copy{str_with_len_N};/2048_median 130 ns 131 ns 10
lstringa<512> copy{str_with_len_N};/2048_stddev 6.33 ns 5.39 ns 10
lstringa<512> copy{str_with_len_N};/2048_cv 4.78 % 4.09 % 10
lstringa<512> copy{str_with_len_N};/4096_mean 199 ns 196 ns 10
lstringa<512> copy{str_with_len_N};/4096_median 198 ns 197 ns 10
lstringa<512> copy{str_with_len_N};/4096_stddev 7.07 ns 7.06 ns 10
lstringa<512> copy{str_with_len_N};/4096_cv 3.56 % 3.60 % 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 31.8 ns 31.6 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 31.3 ns 31.1 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 1.99 ns 2.03 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 6.24 % 6.41 % 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 14.1 ns 14.0 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 14.0 ns 13.8 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.462 ns 0.473 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 3.28 % 3.38 % 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 14.4 ns 14.3 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 14.5 ns 14.3 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.407 ns 0.465 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.83 % 3.25 % 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.8 ns 13.6 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.7 ns 13.5 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.355 ns 0.256 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.58 % 1.88 % 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.8 ns 13.6 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.7 ns 13.5 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.460 ns 0.356 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.35 % 2.63 % 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 33.8 ns 33.6 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 33.4 ns 33.3 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.875 ns 1.17 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 2.59 % 3.48 % 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 8.36 ns 8.27 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 8.37 ns 8.27 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.254 ns 0.283 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 3.04 % 3.43 % 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 13.0 ns 13.0 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 13.0 ns 13.0 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.814 ns 0.803 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 6.24 % 6.19 % 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.4 ns 12.3 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.5 ns 12.2 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.369 ns 0.420 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.97 % 3.40 % 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.3 ns 12.0 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.3 ns 12.0 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.474 ns 0.327 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.85 % 2.71 % 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 45.7 ns 45.2 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 46.0 ns 44.4 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 2.11 ns 2.39 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 4.61 % 5.30 % 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 19.5 ns 19.5 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 19.2 ns 19.3 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.860 ns 1.01 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 4.42 % 5.21 % 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 15.9 ns 15.7 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 16.1 ns 15.7 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.606 ns 0.600 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 3.82 % 3.82 % 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 104 ns 104 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 103 ns 104 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 4.01 ns 3.49 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 3.86 % 3.36 % 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 62.1 ns 61.8 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 62.6 ns 62.1 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 1.88 ns 2.19 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 3.03 % 3.54 % 10
ssa s = "1234.567e10"; double res = *s.to_double()_mean 35.8 ns 35.4 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_median 35.6 ns 35.3 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.859 ns 0.844 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_cv 2.40 % 2.39 % 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 5448 ns 5391 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_median 5281 ns 5234 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 582 ns 600 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 10.69 % 11.12 % 10
std::string str; ... str += "abbaabbaabbaabba";_mean 1058 ns 1052 ns 10
std::string str; ... str += "abbaabbaabbaabba";_median 1049 ns 1038 ns 10
std::string str; ... str += "abbaabbaabbaabba";_stddev 35.4 ns 43.7 ns 10
std::string str; ... str += "abbaabbaabbaabba";_cv 3.34 % 4.16 % 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 784 ns 778 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 766 ns 759 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 67.9 ns 68.4 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 8.66 % 8.79 % 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 397 ns 395 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 383 ns 377 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 32.7 ns 32.0 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 8.23 % 8.10 % 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 241 ns 238 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 234 ns 234 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 15.3 ns 14.9 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 6.37 % 6.28 % 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 152 ns 152 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 152 ns 152 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 1.05 ns 1.84 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 0.69 % 1.21 % 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 4534 ns 4506 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 4512 ns 4464 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 180 ns 162 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 3.97 % 3.59 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 3803 ns 3775 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 3832 ns 3793 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 138 ns 130 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 3.64 % 3.45 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 698 ns 699 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 691 ns 698 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 20.3 ns 19.1 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.91 % 2.74 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 446 ns 443 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 443 ns 445 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 12.4 ns 10.4 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.79 % 2.36 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 293 ns 290 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 292 ns 285 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 8.20 ns 9.90 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.80 % 3.42 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 205 ns 203 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 202 ns 202 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 7.28 ns 6.87 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.55 % 3.38 % 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 226006 ns 224609 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 228886 ns 227051 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 8619 ns 8612 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 3.81 % 3.83 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 202060 ns 202166 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 200845 ns 200911 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 17255 ns 17764 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 8.54 % 8.79 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18025 ns 17955 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17996 ns 17840 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 524 ns 594 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.91 % 3.31 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16217 ns 16152 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16181 ns 16113 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 297 ns 382 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.83 % 2.36 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 15826 ns 15625 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 15620 ns 15695 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 416 ns 396 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.63 % 2.53 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16177 ns 16148 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 15872 ns 15869 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 890 ns 886 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 5.50 % 5.49 % 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 4604 ns 4548 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_median 4425 ns 4332 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_stddev 417 ns 435 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_cv 9.05 % 9.57 % 10
std::string str; ... str += str_var1 + str_var2;_mean 3797 ns 3784 ns 10
std::string str; ... str += str_var1 + str_var2;_median 3746 ns 3749 ns 10
std::string str; ... str += str_var1 + str_var2;_stddev 169 ns 180 ns 10
std::string str; ... str += str_var1 + str_var2;_cv 4.45 % 4.76 % 10
lstringa<16> str; ... str += str_var1 + str_var2;_mean 813 ns 788 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_median 803 ns 785 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 38.4 ns 19.8 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_cv 4.73 % 2.51 % 10
lstringa<128> str; ... str += str_var1 + str_var2;_mean 527 ns 525 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_median 523 ns 516 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 24.2 ns 24.8 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_cv 4.58 % 4.72 % 10
lstringa<512> str; ... str += str_var1 + str_var2;_mean 381 ns 376 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_median 381 ns 375 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 8.04 ns 9.60 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_cv 2.11 % 2.55 % 10
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 278 ns 276 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_median 278 ns 276 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 4.29 ns 4.19 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 1.54 % 1.52 % 10
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 10665 ns 10631 ns 10
std::stringstream str; str << "test = " << k << " times";_median 10596 ns 10568 ns 10
std::stringstream str; str << "test = " << k << " times";_stddev 219 ns 192 ns 10
std::stringstream str; str << "test = " << k << " times";_cv 2.06 % 1.81 % 10
std::string str = "test = " + std::to_string(k) + " times";_mean 1052 ns 1042 ns 10
std::string str = "test = " + std::to_string(k) + " times";_median 1046 ns 1038 ns 10
std::string str = "test = " + std::to_string(k) + " times";_stddev 24.8 ns 28.3 ns 10
std::string str = "test = " + std::to_string(k) + " times";_cv 2.36 % 2.72 % 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2789 ns 2781 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2746 ns 2727 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 103 ns 103 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 3.70 % 3.69 % 10
std::string str = std::format("test = {} times", k);_mean 1904 ns 1888 ns 10
std::string str = std::format("test = {} times", k);_median 1868 ns 1883 ns 10
std::string str = std::format("test = {} times", k);_stddev 66.4 ns 69.6 ns 10
std::string str = std::format("test = {} times", k);_cv 3.48 % 3.69 % 10
lstringa<8> str; str.format("test = {} times", k);_mean 2168 ns 2149 ns 10
lstringa<8> str; str.format("test = {} times", k);_median 2162 ns 2131 ns 10
lstringa<8> str; str.format("test = {} times", k);_stddev 145 ns 162 ns 10
lstringa<8> str; str.format("test = {} times", k);_cv 6.71 % 7.52 % 10
lstringa<32> str; str.format("test = {} times", k);_mean 1029 ns 1021 ns 10
lstringa<32> str; str.format("test = {} times", k);_median 1031 ns 1013 ns 10
lstringa<32> str; str.format("test = {} times", k);_stddev 41.9 ns 47.2 ns 10
lstringa<32> str; str.format("test = {} times", k);_cv 4.07 % 4.62 % 10
lstringa<8> str = "test = " + k + " times";_mean 807 ns 799 ns 10
lstringa<8> str = "test = " + k + " times";_median 786 ns 776 ns 10
lstringa<8> str = "test = " + k + " times";_stddev 61.1 ns 59.2 ns 10
lstringa<8> str = "test = " + k + " times";_cv 7.57 % 7.41 % 10
lstringa<32> str = "test = " + k + " times";_mean 155 ns 154 ns 10
lstringa<32> str = "test = " + k + " times";_median 153 ns 154 ns 10
lstringa<32> str = "test = " + k + " times";_stddev 8.84 ns 9.53 ns 10
lstringa<32> str = "test = " + k + " times";_cv 5.71 % 6.18 % 10
stringa str = "test = " + k + " times";_mean 151 ns 150 ns 10
stringa str = "test = " + k + " times";_median 151 ns 151 ns 10
stringa str = "test = " + k + " times";_stddev 3.50 ns 4.45 ns 10
stringa str = "test = " + k + " times";_cv 2.32 % 2.97 % 10
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 539 ns 530 ns 10
std::string::find + substr + std::strtol_median 533 ns 531 ns 10
std::string::find + substr + std::strtol_stddev 16.5 ns 11.5 ns 10
std::string::find + substr + std::strtol_cv 3.05 % 2.18 % 10
ssa::splitter + ssa::as_int_mean 173 ns 172 ns 10
ssa::splitter + ssa::as_int_median 174 ns 174 ns 10
ssa::splitter + ssa::as_int_stddev 12.7 ns 12.7 ns 10
ssa::splitter + ssa::as_int_cv 7.38 % 7.34 % 10
ssa::splitf + functor_mean 191 ns 190 ns 10
ssa::splitf + functor_median 189 ns 190 ns 10
ssa::splitf + functor_stddev 5.99 ns 6.57 ns 10
ssa::splitf + functor_cv 3.13 % 3.46 % 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 1185 ns 1184 ns 10
Naive (and wrong) replace symbols with std::string find + replace_median 1161 ns 1147 ns 10
Naive (and wrong) replace symbols with std::string find + replace_stddev 77.2 ns 79.9 ns 10
Naive (and wrong) replace symbols with std::string find + replace_cv 6.51 % 6.75 % 10
replace symbols with std::string find_first_of + replace_mean 2165 ns 2158 ns 10
replace symbols with std::string find_first_of + replace_median 2114 ns 2105 ns 10
replace symbols with std::string find_first_of + replace_stddev 188 ns 196 ns 10
replace symbols with std::string find_first_of + replace_cv 8.69 % 9.08 % 10
replace symbols with std::string_view find_first_of + copy_mean 2298 ns 2285 ns 10
replace symbols with std::string_view find_first_of + copy_median 2297 ns 2295 ns 10
replace symbols with std::string_view find_first_of + copy_stddev 34.5 ns 38.5 ns 10
replace symbols with std::string_view find_first_of + copy_cv 1.50 % 1.69 % 10
replace runtime symbols with string expressions and without remembering all search results_mean 1439 ns 1422 ns 10
replace runtime symbols with string expressions and without remembering all search results_median 1453 ns 1413 ns 10
replace runtime symbols with string expressions and without remembering all search results_stddev 55.0 ns 46.9 ns 10
replace runtime symbols with string expressions and without remembering all search results_cv 3.82 % 3.30 % 10
replace runtime symbols with simstr and memorization of all search results_mean 1270 ns 1270 ns 10
replace runtime symbols with simstr and memorization of all search results_median 1256 ns 1256 ns 10
replace runtime symbols with simstr and memorization of all search results_stddev 51.5 ns 42.1 ns 10
replace runtime symbols with simstr and memorization of all search results_cv 4.06 % 3.32 % 10
replace const symbols with string expressions and without remembering all search results_mean 1135 ns 1119 ns 10
replace const symbols with string expressions and without remembering all search results_median 1134 ns 1116 ns 10
replace const symbols with string expressions and without remembering all search results_stddev 28.1 ns 33.4 ns 10
replace const symbols with string expressions and without remembering all search results_cv 2.48 % 2.99 % 10
replace const symbols with string expressions and memorization of all search results_mean 1210 ns 1189 ns 10
replace const symbols with string expressions and memorization of all search results_median 1206 ns 1184 ns 10
replace const symbols with string expressions and memorization of all search results_stddev 32.6 ns 38.3 ns 10
replace const symbols with string expressions and memorization of all search results_cv 2.69 % 3.22 % 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 321 ns 317 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_median 321 ns 315 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 7.98 ns 6.59 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.49 % 2.08 % 10
Short replace symbols with std::string find_first_of + replace_mean 385 ns 383 ns 10
Short replace symbols with std::string find_first_of + replace_median 381 ns 385 ns 10
Short replace symbols with std::string find_first_of + replace_stddev 15.7 ns 17.1 ns 10
Short replace symbols with std::string find_first_of + replace_cv 4.07 % 4.46 % 10
Short replace symbols with std::string_view find_first_of + copy_mean 330 ns 327 ns 10
Short replace symbols with std::string_view find_first_of + copy_median 327 ns 326 ns 10
Short replace symbols with std::string_view find_first_of + copy_stddev 17.1 ns 20.4 ns 10
Short replace symbols with std::string_view find_first_of + copy_cv 5.18 % 6.23 % 10
Short replace runtime symbols with string expressions and without remembering all search results_mean 269 ns 267 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_median 269 ns 267 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_stddev 9.88 ns 6.85 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_cv 3.67 % 2.57 % 10
Short replace runtime symbols with simstr and memorization of all search results_mean 348 ns 346 ns 10
Short replace runtime symbols with simstr and memorization of all search results_median 350 ns 345 ns 10
Short replace runtime symbols with simstr and memorization of all search results_stddev 15.4 ns 13.2 ns 10
Short replace runtime symbols with simstr and memorization of all search results_cv 4.44 % 3.83 % 10
Short replace const symbols with string expressions and without remembering all search results_mean 232 ns 228 ns 10
Short replace const symbols with string expressions and without remembering all search results_median 230 ns 225 ns 10
Short replace const symbols with string expressions and without remembering all search results_stddev 16.6 ns 17.5 ns 10
Short replace const symbols with string expressions and without remembering all search results_cv 7.19 % 7.66 % 10
Short replace const symbols with string expressions and memorization of all search results_mean 323 ns 322 ns 10
Short replace const symbols with string expressions and memorization of all search results_median 323 ns 322 ns 10
Short replace const symbols with string expressions and memorization of all search results_stddev 9.17 ns 10.4 ns 10
Short replace const symbols with string expressions and memorization of all search results_cv 2.84 % 3.21 % 10
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 232 ns 231 ns 10
replace bb to ---- in std::string|64_median 233 ns 233 ns 10
replace bb to ---- in std::string|64_stddev 7.63 ns 6.73 ns 10
replace bb to ---- in std::string|64_cv 3.29 % 2.92 % 10
replace bb to ---- in std::string|256_mean 757 ns 755 ns 10
replace bb to ---- in std::string|256_median 752 ns 750 ns 10
replace bb to ---- in std::string|256_stddev 26.0 ns 24.7 ns 10
replace bb to ---- in std::string|256_cv 3.44 % 3.28 % 10
replace bb to ---- in std::string|512_mean 1482 ns 1472 ns 10
replace bb to ---- in std::string|512_median 1474 ns 1475 ns 10
replace bb to ---- in std::string|512_stddev 59.8 ns 60.0 ns 10
replace bb to ---- in std::string|512_cv 4.03 % 4.08 % 10
replace bb to ---- in std::string|1024_mean 3150 ns 3134 ns 10
replace bb to ---- in std::string|1024_median 3098 ns 3115 ns 10
replace bb to ---- in std::string|1024_stddev 102 ns 99.0 ns 10
replace bb to ---- in std::string|1024_cv 3.25 % 3.16 % 10
replace bb to ---- in std::string|2048_mean 8049 ns 7987 ns 10
replace bb to ---- in std::string|2048_median 8074 ns 7935 ns 10
replace bb to ---- in std::string|2048_stddev 217 ns 198 ns 10
replace bb to ---- in std::string|2048_cv 2.70 % 2.48 % 10
replace bb to ---- in lstringa<8>|64_mean 304 ns 300 ns 10
replace bb to ---- in lstringa<8>|64_median 302 ns 298 ns 10
replace bb to ---- in lstringa<8>|64_stddev 13.4 ns 10.7 ns 10
replace bb to ---- in lstringa<8>|64_cv 4.40 % 3.58 % 10
replace bb to ---- in lstringa<8>|256_mean 606 ns 603 ns 10
replace bb to ---- in lstringa<8>|256_median 607 ns 609 ns 10
replace bb to ---- in lstringa<8>|256_stddev 12.0 ns 15.1 ns 10
replace bb to ---- in lstringa<8>|256_cv 1.98 % 2.50 % 10
replace bb to ---- in lstringa<8>|512_mean 1054 ns 1035 ns 10
replace bb to ---- in lstringa<8>|512_median 1045 ns 1025 ns 10
replace bb to ---- in lstringa<8>|512_stddev 37.3 ns 38.5 ns 10
replace bb to ---- in lstringa<8>|512_cv 3.54 % 3.72 % 10
replace bb to ---- in lstringa<8>|1024_mean 1839 ns 1816 ns 10
replace bb to ---- in lstringa<8>|1024_median 1826 ns 1800 ns 10
replace bb to ---- in lstringa<8>|1024_stddev 46.2 ns 45.0 ns 10
replace bb to ---- in lstringa<8>|1024_cv 2.51 % 2.48 % 10
replace bb to ---- in lstringa<8>|2048_mean 3503 ns 3479 ns 10
replace bb to ---- in lstringa<8>|2048_median 3474 ns 3442 ns 10
replace bb to ---- in lstringa<8>|2048_stddev 95.2 ns 105 ns 10
replace bb to ---- in lstringa<8>|2048_cv 2.72 % 3.02 % 10
replace bb to ---- by init stringa|64_mean 183 ns 183 ns 10
replace bb to ---- by init stringa|64_median 186 ns 183 ns 10
replace bb to ---- by init stringa|64_stddev 16.6 ns 16.5 ns 10
replace bb to ---- by init stringa|64_cv 9.07 % 9.01 % 10
replace bb to ---- by init stringa|256_mean 374 ns 372 ns 10
replace bb to ---- by init stringa|256_median 371 ns 369 ns 10
replace bb to ---- by init stringa|256_stddev 12.3 ns 9.42 ns 10
replace bb to ---- by init stringa|256_cv 3.28 % 2.53 % 10
replace bb to ---- by init stringa|512_mean 824 ns 818 ns 10
replace bb to ---- by init stringa|512_median 816 ns 802 ns 10
replace bb to ---- by init stringa|512_stddev 37.6 ns 36.3 ns 10
replace bb to ---- by init stringa|512_cv 4.56 % 4.43 % 10
replace bb to ---- by init stringa|1024_mean 1681 ns 1657 ns 10
replace bb to ---- by init stringa|1024_median 1670 ns 1639 ns 10
replace bb to ---- by init stringa|1024_stddev 79.8 ns 85.8 ns 10
replace bb to ---- by init stringa|1024_cv 4.75 % 5.18 % 10
replace bb to ---- by init stringa|2048_mean 3111 ns 3090 ns 10
replace bb to ---- by init stringa|2048_median 3071 ns 3069 ns 10
replace bb to ---- by init stringa|2048_stddev 113 ns 93.3 ns 10
replace bb to ---- by init stringa|2048_cv 3.63 % 3.02 % 10
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 196 ns 195 ns 10
replace bb to -- in std::string|64_median 195 ns 195 ns 10
replace bb to -- in std::string|64_stddev 10.4 ns 10.3 ns 10
replace bb to -- in std::string|64_cv 5.28 % 5.28 % 10
replace bb to -- in std::string|256_mean 487 ns 484 ns 10
replace bb to -- in std::string|256_median 487 ns 476 ns 10
replace bb to -- in std::string|256_stddev 21.2 ns 22.1 ns 10
replace bb to -- in std::string|256_cv 4.35 % 4.56 % 10
replace bb to -- in std::string|512_mean 899 ns 891 ns 10
replace bb to -- in std::string|512_median 888 ns 889 ns 10
replace bb to -- in std::string|512_stddev 45.6 ns 43.2 ns 10
replace bb to -- in std::string|512_cv 5.07 % 4.85 % 10
replace bb to -- in std::string|1024_mean 1687 ns 1671 ns 10
replace bb to -- in std::string|1024_median 1675 ns 1639 ns 10
replace bb to -- in std::string|1024_stddev 54.7 ns 60.3 ns 10
replace bb to -- in std::string|1024_cv 3.24 % 3.61 % 10
replace bb to -- in std::string|2048_mean 3148 ns 3125 ns 10
replace bb to -- in std::string|2048_median 3169 ns 3104 ns 10
replace bb to -- in std::string|2048_stddev 80.9 ns 85.7 ns 10
replace bb to -- in std::string|2048_cv 2.57 % 2.74 % 10
replace bb to -- in lstringa<8>|64_mean 179 ns 175 ns 10
replace bb to -- in lstringa<8>|64_median 177 ns 173 ns 10
replace bb to -- in lstringa<8>|64_stddev 6.25 ns 5.73 ns 10
replace bb to -- in lstringa<8>|64_cv 3.50 % 3.27 % 10
replace bb to -- in lstringa<8>|256_mean 440 ns 436 ns 10
replace bb to -- in lstringa<8>|256_median 438 ns 430 ns 10
replace bb to -- in lstringa<8>|256_stddev 10.5 ns 8.24 ns 10
replace bb to -- in lstringa<8>|256_cv 2.38 % 1.89 % 10
replace bb to -- in lstringa<8>|512_mean 797 ns 774 ns 10
replace bb to -- in lstringa<8>|512_median 794 ns 767 ns 10
replace bb to -- in lstringa<8>|512_stddev 21.6 ns 20.5 ns 10
replace bb to -- in lstringa<8>|512_cv 2.72 % 2.64 % 10
replace bb to -- in lstringa<8>|1024_mean 1542 ns 1531 ns 10
replace bb to -- in lstringa<8>|1024_median 1580 ns 1569 ns 10
replace bb to -- in lstringa<8>|1024_stddev 99.5 ns 105 ns 10
replace bb to -- in lstringa<8>|1024_cv 6.46 % 6.83 % 10
replace bb to -- in lstringa<8>|2048_mean 2927 ns 2907 ns 10
replace bb to -- in lstringa<8>|2048_median 2841 ns 2825 ns 10
replace bb to -- in lstringa<8>|2048_stddev 231 ns 242 ns 10
replace bb to -- in lstringa<8>|2048_cv 7.90 % 8.34 % 10
replace bb to -- by init stringa|64_mean 156 ns 155 ns 10
replace bb to -- by init stringa|64_median 155 ns 153 ns 10
replace bb to -- by init stringa|64_stddev 3.02 ns 4.04 ns 10
replace bb to -- by init stringa|64_cv 1.94 % 2.62 % 10
replace bb to -- by init stringa|256_mean 349 ns 343 ns 10
replace bb to -- by init stringa|256_median 347 ns 341 ns 10
replace bb to -- by init stringa|256_stddev 10.00 ns 8.90 ns 10
replace bb to -- by init stringa|256_cv 2.86 % 2.59 % 10
replace bb to -- by init stringa|512_mean 583 ns 575 ns 10
replace bb to -- by init stringa|512_median 583 ns 572 ns 10
replace bb to -- by init stringa|512_stddev 19.5 ns 15.8 ns 10
replace bb to -- by init stringa|512_cv 3.35 % 2.76 % 10
replace bb to -- by init stringa|1024_mean 1099 ns 1082 ns 10
replace bb to -- by init stringa|1024_median 1087 ns 1057 ns 10
replace bb to -- by init stringa|1024_stddev 53.9 ns 60.9 ns 10
replace bb to -- by init stringa|1024_cv 4.91 % 5.62 % 10
replace bb to -- by init stringa|2048_mean 2073 ns 2040 ns 10
replace bb to -- by init stringa|2048_median 2063 ns 2018 ns 10
replace bb to -- by init stringa|2048_stddev 70.0 ns 95.6 ns 10
replace bb to -- by init stringa|2048_cv 3.38 % 4.68 % 10
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3795773 ns 3769531 ns 10
hashStrMapA<size_t> emplace & find stringa;_median 3826396 ns 3759766 ns 10
hashStrMapA<size_t> emplace & find stringa;_stddev 227197 ns 226465 ns 10
hashStrMapA<size_t> emplace & find stringa;_cv 5.99 % 6.01 % 10
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5814563 ns 5747768 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5763449 ns 5719866 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 192134 ns 128200 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 3.30 % 2.23 % 10
hashStrMapA<size_t> emplace & find ssa;_mean 3507480 ns 3461538 ns 10
hashStrMapA<size_t> emplace & find ssa;_median 3499011 ns 3485577 ns 10
hashStrMapA<size_t> emplace & find ssa;_stddev 78058 ns 82756 ns 10
hashStrMapA<size_t> emplace & find ssa;_cv 2.23 % 2.39 % 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6774393 ns 6753472 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6769412 ns 6770833 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 180301 ns 207851 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 2.66 % 3.08 % 10
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 1611 ns 1597 ns 10
Build func full name std::string;_median 1604 ns 1569 ns 10
Build func full name std::string;_stddev 90.8 ns 99.7 ns 10
Build func full name std::string;_cv 5.64 % 6.24 % 10
Build func full name std::string 1;_mean 1681 ns 1664 ns 10
Build func full name std::string 1;_median 1619 ns 1604 ns 10
Build func full name std::string 1;_stddev 131 ns 127 ns 10
Build func full name std::string 1;_cv 7.78 % 7.66 % 10
Build func full name std::stream;_mean 8266 ns 8144 ns 10
Build func full name std::stream;_median 8267 ns 8196 ns 10
Build func full name std::stream;_stddev 309 ns 261 ns 10
Build func full name std::stream;_cv 3.74 % 3.20 % 10
Build func full name stringa;_mean 821 ns 814 ns 10
Build func full name stringa;_median 814 ns 811 ns 10
Build func full name stringa;_stddev 32.6 ns 34.9 ns 10
Build func full name stringa;_cv 3.98 % 4.29 % 10
Build func full name stringa 1;_mean 963 ns 945 ns 10
Build func full name stringa 1;_median 963 ns 945 ns 10
Build func full name stringa 1;_stddev 34.6 ns 27.5 ns 10
Build func full name stringa 1;_cv 3.60 % 2.91 % 10