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

901 lines
134 KiB
Plaintext

2026-01-31T14:22:37+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 268 ns 267 ns 10
Concat std::string and number by std to std::string_median 265 ns 264 ns 10
Concat std::string and number by std to std::string_stddev 15.6 ns 17.1 ns 10
Concat std::string and number by std to std::string_cv 5.82 % 6.38 % 10
Concat std::string and number by StrExpr to std::string_mean 154 ns 154 ns 10
Concat std::string and number by StrExpr to std::string_median 153 ns 154 ns 10
Concat std::string and number by StrExpr to std::string_stddev 2.54 ns 3.31 ns 10
Concat std::string and number by StrExpr to std::string_cv 1.65 % 2.15 % 10
Concat stringa and number by StrExpr to simstr::stringa_mean 66.0 ns 65.7 ns 10
Concat stringa and number by StrExpr to simstr::stringa_median 66.2 ns 66.3 ns 10
Concat stringa and number by StrExpr to simstr::stringa_stddev 0.935 ns 1.18 ns 10
Concat stringa and number by StrExpr to simstr::stringa_cv 1.42 % 1.79 % 10
Concat stringa and number by e_concat to simstr::stringa_mean 76.6 ns 76.5 ns 10
Concat stringa and number by e_concat to simstr::stringa_median 75.3 ns 75.3 ns 10
Concat stringa and number by e_concat to simstr::stringa_stddev 4.88 ns 4.30 ns 10
Concat stringa and number by e_concat to simstr::stringa_cv 6.38 % 5.63 % 10
----- Concatenate string + Hex Number + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string and format hex number and literal to std::string_mean 741 ns 732 ns 10
Concat std::string and format hex number and literal to std::string_median 728 ns 732 ns 10
Concat std::string and format hex number and literal to std::string_stddev 53.2 ns 38.2 ns 10
Concat std::string and format hex number and literal to std::string_cv 7.18 % 5.22 % 10
std::format std::string and hex number by literal to std::string_mean 1538 ns 1534 ns 10
std::format std::string and hex number by literal to std::string_median 1519 ns 1497 ns 10
std::format std::string and hex number by literal to std::string_stddev 67.1 ns 78.0 ns 10
std::format std::string and hex number by literal to std::string_cv 4.36 % 5.09 % 10
Concat std::string and std::tochars and string to std::string_mean 195 ns 195 ns 10
Concat std::string and std::tochars and string to std::string_median 192 ns 193 ns 10
Concat std::string and std::tochars and string to std::string_stddev 10.2 ns 9.91 ns 10
Concat std::string and std::tochars and string to std::string_cv 5.20 % 5.09 % 10
Concat std::string and hex number and literal by StrExpr to std::string_mean 80.1 ns 80.0 ns 10
Concat std::string and hex number and literal by StrExpr to std::string_median 79.4 ns 78.5 ns 10
Concat std::string and hex number and literal by StrExpr to std::string_stddev 3.41 ns 3.90 ns 10
Concat std::string and hex number and literal by StrExpr to std::string_cv 4.25 % 4.87 % 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 72.4 ns 72.0 ns 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 71.3 ns 71.1 ns 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 2.06 ns 2.48 ns 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 2.84 % 3.44 % 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 87.1 ns 87.0 ns 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 85.6 ns 84.6 ns 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 8.19 ns 8.52 ns 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 9.40 % 9.79 % 10
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 149 ns 148 ns 10
Subst stringa and hex number by e_subst literal to simstr::stringa_median 147 ns 148 ns 10
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 4.57 ns 5.69 ns 10
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 3.08 % 3.84 % 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 263 ns 264 ns 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 264 ns 264 ns 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 3.37 ns 3.12 ns 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 1.28 % 1.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 40.1 ns 10
Concat std::string by std to std::string_median 39.7 ns 39.9 ns 10
Concat std::string by std to std::string_stddev 1.00 ns 1.03 ns 10
Concat std::string by std to std::string_cv 2.50 % 2.57 % 10
Concat std::string by StrExpr to std::string_mean 38.9 ns 38.8 ns 10
Concat std::string by StrExpr to std::string_median 39.1 ns 39.2 ns 10
Concat std::string by StrExpr to std::string_stddev 1.03 ns 1.32 ns 10
Concat std::string by StrExpr to std::string_cv 2.65 % 3.39 % 10
Concat stringa by StrExpr to stringa_mean 29.2 ns 29.1 ns 10
Concat stringa by StrExpr to stringa_median 28.8 ns 28.9 ns 10
Concat stringa by StrExpr to stringa_stddev 1.04 ns 1.19 ns 10
Concat stringa by StrExpr to stringa_cv 3.58 % 4.08 % 10
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 214 ns 213 ns 10
Find concat three std::string_median 214 ns 214 ns 10
Find concat three std::string_stddev 11.0 ns 12.0 ns 10
Find concat three std::string_cv 5.15 % 5.64 % 10
Find concat three strexpr_mean 115 ns 115 ns 10
Find concat three strexpr_median 115 ns 115 ns 10
Find concat three strexpr_stddev 1.90 ns 2.30 ns 10
Find concat three strexpr_cv 1.65 % 2.01 % 10
Find concat three simstr_mean 29.9 ns 29.9 ns 10
Find concat three simstr_median 29.9 ns 29.8 ns 10
Find concat three simstr_stddev 0.585 ns 0.659 ns 10
Find concat three simstr_cv 1.96 % 2.20 % 10
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 8.10 ns 8.10 ns 10
BuildTypeNameStr 0/0_median 8.11 ns 8.16 ns 10
BuildTypeNameStr 0/0_stddev 0.164 ns 0.141 ns 10
BuildTypeNameStr 0/0_cv 2.02 % 1.74 % 10
BuildTypeNameExp 0/0_mean 7.52 ns 7.52 ns 10
BuildTypeNameExp 0/0_median 7.47 ns 7.53 ns 10
BuildTypeNameExp 0/0_stddev 0.185 ns 0.191 ns 10
BuildTypeNameExp 0/0_cv 2.46 % 2.54 % 10
BuildTypeNameSim 0/0_mean 8.42 ns 8.42 ns 10
BuildTypeNameSim 0/0_median 8.16 ns 8.20 ns 10
BuildTypeNameSim 0/0_stddev 0.714 ns 0.722 ns 10
BuildTypeNameSim 0/0_cv 8.47 % 8.57 % 10
BuildTypeNameStr 10/10_mean 59.1 ns 59.1 ns 10
BuildTypeNameStr 10/10_median 59.0 ns 59.4 ns 10
BuildTypeNameStr 10/10_stddev 0.627 ns 0.988 ns 10
BuildTypeNameStr 10/10_cv 1.06 % 1.67 % 10
BuildTypeNameExp 10/10_mean 36.1 ns 36.1 ns 10
BuildTypeNameExp 10/10_median 35.7 ns 35.4 ns 10
BuildTypeNameExp 10/10_stddev 2.79 ns 2.70 ns 10
BuildTypeNameExp 10/10_cv 7.73 % 7.47 % 10
BuildTypeNameSim 10/10_mean 26.5 ns 26.5 ns 10
BuildTypeNameSim 10/10_median 26.0 ns 26.4 ns 10
BuildTypeNameSim 10/10_stddev 1.90 ns 1.87 ns 10
BuildTypeNameSim 10/10_cv 7.18 % 7.05 % 10
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 317 ns 315 ns 10
Concat with replace str_median 317 ns 314 ns 10
Concat with replace str_stddev 6.66 ns 7.92 ns 10
Concat with replace str_cv 2.10 % 2.51 % 10
Concat with replace exp_mean 210 ns 210 ns 10
Concat with replace exp_median 210 ns 211 ns 10
Concat with replace exp_stddev 6.44 ns 8.01 ns 10
Concat with replace exp_cv 3.07 % 3.82 % 10
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.11 ns 1.09 ns 10
std::string e;_median 1.09 ns 1.10 ns 10
std::string e;_stddev 0.051 ns 0.016 ns 10
std::string e;_cv 4.58 % 1.51 % 10
std::string_view e;_mean 0.362 ns 0.359 ns 10
std::string_view e;_median 0.360 ns 0.358 ns 10
std::string_view e;_stddev 0.006 ns 0.006 ns 10
std::string_view e;_cv 1.58 % 1.77 % 10
ssa e;_mean 0.371 ns 0.370 ns 10
ssa e;_median 0.368 ns 0.366 ns 10
ssa e;_stddev 0.013 ns 0.016 ns 10
ssa e;_cv 3.62 % 4.33 % 10
stringa e;_mean 0.763 ns 0.763 ns 10
stringa e;_median 0.746 ns 0.753 ns 10
stringa e;_stddev 0.039 ns 0.041 ns 10
stringa e;_cv 5.14 % 5.32 % 10
lstringa<20> e;_mean 1.12 ns 1.12 ns 10
lstringa<20> e;_median 1.14 ns 1.14 ns 10
lstringa<20> e;_stddev 0.034 ns 0.041 ns 10
lstringa<20> e;_cv 3.04 % 3.62 % 10
lstringa<40> e;_mean 1.12 ns 1.12 ns 10
lstringa<40> e;_median 1.10 ns 1.12 ns 10
lstringa<40> e;_stddev 0.044 ns 0.035 ns 10
lstringa<40> e;_cv 3.93 % 3.12 % 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.81 ns 1.80 ns 10
std::string e = "Test text";_stddev 0.027 ns 0.028 ns 10
std::string e = "Test text";_cv 1.51 % 1.56 % 10
std::string_view e = "Test text";_mean 0.732 ns 0.728 ns 10
std::string_view e = "Test text";_median 0.735 ns 0.725 ns 10
std::string_view e = "Test text";_stddev 0.009 ns 0.011 ns 10
std::string_view e = "Test text";_cv 1.17 % 1.51 % 10
ssa e = "Test text";_mean 0.362 ns 0.363 ns 10
ssa e = "Test text";_median 0.363 ns 0.365 ns 10
ssa e = "Test text";_stddev 0.006 ns 0.007 ns 10
ssa e = "Test text";_cv 1.65 % 2.03 % 10
stringa e = "Test text";_mean 1.10 ns 1.10 ns 10
stringa e = "Test text";_median 1.09 ns 1.10 ns 10
stringa e = "Test text";_stddev 0.034 ns 0.030 ns 10
stringa e = "Test text";_cv 3.08 % 2.77 % 10
lstringa<20> e = "Test text";_mean 1.88 ns 1.86 ns 10
lstringa<20> e = "Test text";_median 1.84 ns 1.84 ns 10
lstringa<20> e = "Test text";_stddev 0.070 ns 0.052 ns 10
lstringa<20> e = "Test text";_cv 3.72 % 2.79 % 10
lstringa<40> e = "Test text";_mean 1.86 ns 1.85 ns 10
lstringa<40> e = "Test text";_median 1.83 ns 1.83 ns 10
lstringa<40> e = "Test text";_stddev 0.096 ns 0.114 ns 10
lstringa<40> e = "Test text";_cv 5.15 % 6.13 % 10
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 79.3 ns 79.0 ns 10
std::string e = "123456789012345678901234567890";_median 78.4 ns 78.5 ns 10
std::string e = "123456789012345678901234567890";_stddev 1.87 ns 1.65 ns 10
std::string e = "123456789012345678901234567890";_cv 2.36 % 2.09 % 10
std::string_view e = "123456789012345678901234567890";_mean 0.726 ns 0.724 ns 10
std::string_view e = "123456789012345678901234567890";_median 0.728 ns 0.732 ns 10
std::string_view e = "123456789012345678901234567890";_stddev 0.007 ns 0.012 ns 10
std::string_view e = "123456789012345678901234567890";_cv 0.93 % 1.70 % 10
ssa e = "123456789012345678901234567890";_mean 0.364 ns 0.364 ns 10
ssa e = "123456789012345678901234567890";_median 0.363 ns 0.361 ns 10
ssa e = "123456789012345678901234567890";_stddev 0.006 ns 0.007 ns 10
ssa e = "123456789012345678901234567890";_cv 1.69 % 1.86 % 10
stringa e = "123456789012345678901234567890";_mean 1.11 ns 1.11 ns 10
stringa e = "123456789012345678901234567890";_median 1.10 ns 1.10 ns 10
stringa e = "123456789012345678901234567890";_stddev 0.027 ns 0.027 ns 10
stringa e = "123456789012345678901234567890";_cv 2.48 % 2.43 % 10
lstringa<20> e = "123456789012345678901234567890";_mean 75.7 ns 75.8 ns 10
lstringa<20> e = "123456789012345678901234567890";_median 75.4 ns 75.3 ns 10
lstringa<20> e = "123456789012345678901234567890";_stddev 1.38 ns 1.62 ns 10
lstringa<20> e = "123456789012345678901234567890";_cv 1.82 % 2.14 % 10
lstringa<40> e = "123456789012345678901234567890";_mean 2.53 ns 2.53 ns 10
lstringa<40> e = "123456789012345678901234567890";_median 2.53 ns 2.49 ns 10
lstringa<40> e = "123456789012345678901234567890";_stddev 0.035 ns 0.050 ns 10
lstringa<40> e = "123456789012345678901234567890";_cv 1.40 % 1.98 % 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.88 ns 1.88 ns 10
std::string e = "Test text"; auto c{e};_median 1.86 ns 1.86 ns 10
std::string e = "Test text"; auto c{e};_stddev 0.063 ns 0.071 ns 10
std::string e = "Test text"; auto c{e};_cv 3.36 % 3.78 % 10
std::string_view e = "Test text"; auto c{e};_mean 0.371 ns 0.370 ns 10
std::string_view e = "Test text"; auto c{e};_median 0.367 ns 0.369 ns 10
std::string_view e = "Test text"; auto c{e};_stddev 0.010 ns 0.010 ns 10
std::string_view e = "Test text"; auto c{e};_cv 2.77 % 2.79 % 10
ssa e = "Test text"; auto c{e};_mean 0.376 ns 0.374 ns 10
ssa e = "Test text"; auto c{e};_median 0.367 ns 0.367 ns 10
ssa e = "Test text"; auto c{e};_stddev 0.019 ns 0.015 ns 10
ssa e = "Test text"; auto c{e};_cv 4.96 % 3.93 % 10
stringa e = "Test text"; auto c{e};_mean 1.28 ns 1.28 ns 10
stringa e = "Test text"; auto c{e};_median 1.28 ns 1.27 ns 10
stringa e = "Test text"; auto c{e};_stddev 0.026 ns 0.023 ns 10
stringa e = "Test text"; auto c{e};_cv 2.05 % 1.80 % 10
lstringa<20> e = "Test text"; auto c{e};_mean 5.11 ns 5.12 ns 10
lstringa<20> e = "Test text"; auto c{e};_median 5.05 ns 5.02 ns 10
lstringa<20> e = "Test text"; auto c{e};_stddev 0.166 ns 0.198 ns 10
lstringa<20> e = "Test text"; auto c{e};_cv 3.24 % 3.86 % 10
lstringa<40> e = "Test text"; auto c{e};_mean 5.11 ns 5.11 ns 10
lstringa<40> e = "Test text"; auto c{e};_median 5.10 ns 5.16 ns 10
lstringa<40> e = "Test text"; auto c{e};_stddev 0.050 ns 0.075 ns 10
lstringa<40> e = "Test text"; auto c{e};_cv 0.98 % 1.48 % 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 77.2 ns 76.8 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_median 77.0 ns 77.4 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 2.34 ns 2.22 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_cv 3.03 % 2.89 % 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.731 ns 0.731 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.729 ns 0.725 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.011 ns 0.012 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.50 % 1.61 % 10
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.364 ns 0.362 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.363 ns 0.362 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.005 ns 0.005 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.28 % 1.27 % 10
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.86 ns 1.85 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.84 ns 1.84 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.047 ns 0.048 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_cv 2.53 % 2.59 % 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 78.6 ns 78.6 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 78.5 ns 78.1 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 4.25 ns 4.28 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 5.41 % 5.44 % 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.78 ns 4.77 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.77 ns 4.76 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.055 ns 0.080 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 1.15 % 1.67 % 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.3 ns 38.3 ns 10
std::string::find;_median 38.3 ns 38.4 ns 10
std::string::find;_stddev 0.351 ns 0.495 ns 10
std::string::find;_cv 0.92 % 1.29 % 10
std::string_view::find;_mean 38.8 ns 38.3 ns 10
std::string_view::find;_median 38.4 ns 38.1 ns 10
std::string_view::find;_stddev 1.25 ns 0.865 ns 10
std::string_view::find;_cv 3.24 % 2.26 % 10
ssa::find;_mean 17.4 ns 17.5 ns 10
ssa::find;_median 17.5 ns 17.5 ns 10
ssa::find;_stddev 0.301 ns 0.326 ns 10
ssa::find;_cv 1.73 % 1.87 % 10
stringa::find;_mean 18.3 ns 18.3 ns 10
stringa::find;_median 18.3 ns 18.4 ns 10
stringa::find;_stddev 0.343 ns 0.345 ns 10
stringa::find;_cv 1.87 % 1.88 % 10
lstringa<20>::find;_mean 17.5 ns 17.5 ns 10
lstringa<20>::find;_median 17.6 ns 17.6 ns 10
lstringa<20>::find;_stddev 0.383 ns 0.450 ns 10
lstringa<20>::find;_cv 2.18 % 2.57 % 10
lstringa<40>::find;_mean 17.8 ns 17.9 ns 10
lstringa<40>::find;_median 17.9 ns 17.8 ns 10
lstringa<40>::find;_stddev 0.199 ns 0.275 ns 10
lstringa<40>::find;_cv 1.12 % 1.54 % 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.92 ns 1.92 ns 10
std::string copy{str_with_len_N};/15_median 1.89 ns 1.90 ns 10
std::string copy{str_with_len_N};/15_stddev 0.108 ns 0.083 ns 10
std::string copy{str_with_len_N};/15_cv 5.61 % 4.32 % 10
std::string copy{str_with_len_N};/16_mean 79.1 ns 79.2 ns 10
std::string copy{str_with_len_N};/16_median 79.2 ns 79.3 ns 10
std::string copy{str_with_len_N};/16_stddev 1.30 ns 1.68 ns 10
std::string copy{str_with_len_N};/16_cv 1.65 % 2.13 % 10
std::string copy{str_with_len_N};/23_mean 80.3 ns 80.1 ns 10
std::string copy{str_with_len_N};/23_median 79.7 ns 79.5 ns 10
std::string copy{str_with_len_N};/23_stddev 2.21 ns 2.30 ns 10
std::string copy{str_with_len_N};/23_cv 2.75 % 2.87 % 10
std::string copy{str_with_len_N};/24_mean 79.5 ns 79.4 ns 10
std::string copy{str_with_len_N};/24_median 79.3 ns 79.5 ns 10
std::string copy{str_with_len_N};/24_stddev 1.05 ns 1.54 ns 10
std::string copy{str_with_len_N};/24_cv 1.32 % 1.93 % 10
std::string copy{str_with_len_N};/32_mean 81.8 ns 81.6 ns 10
std::string copy{str_with_len_N};/32_median 81.1 ns 81.1 ns 10
std::string copy{str_with_len_N};/32_stddev 1.83 ns 1.80 ns 10
std::string copy{str_with_len_N};/32_cv 2.24 % 2.21 % 10
std::string copy{str_with_len_N};/64_mean 81.2 ns 81.3 ns 10
std::string copy{str_with_len_N};/64_median 79.8 ns 80.2 ns 10
std::string copy{str_with_len_N};/64_stddev 3.38 ns 3.20 ns 10
std::string copy{str_with_len_N};/64_cv 4.15 % 3.94 % 10
std::string copy{str_with_len_N};/128_mean 84.4 ns 84.3 ns 10
std::string copy{str_with_len_N};/128_median 84.4 ns 83.7 ns 10
std::string copy{str_with_len_N};/128_stddev 5.15 ns 5.32 ns 10
std::string copy{str_with_len_N};/128_cv 6.10 % 6.30 % 10
std::string copy{str_with_len_N};/256_mean 87.2 ns 87.2 ns 10
std::string copy{str_with_len_N};/256_median 84.4 ns 84.2 ns 10
std::string copy{str_with_len_N};/256_stddev 10.4 ns 9.77 ns 10
std::string copy{str_with_len_N};/256_cv 11.87 % 11.21 % 10
std::string copy{str_with_len_N};/512_mean 84.9 ns 84.9 ns 10
std::string copy{str_with_len_N};/512_median 84.8 ns 85.4 ns 10
std::string copy{str_with_len_N};/512_stddev 1.78 ns 2.02 ns 10
std::string copy{str_with_len_N};/512_cv 2.09 % 2.38 % 10
std::string copy{str_with_len_N};/1024_mean 96.5 ns 96.5 ns 10
std::string copy{str_with_len_N};/1024_median 97.9 ns 98.4 ns 10
std::string copy{str_with_len_N};/1024_stddev 5.98 ns 6.04 ns 10
std::string copy{str_with_len_N};/1024_cv 6.19 % 6.26 % 10
std::string copy{str_with_len_N};/2048_mean 129 ns 129 ns 10
std::string copy{str_with_len_N};/2048_median 128 ns 128 ns 10
std::string copy{str_with_len_N};/2048_stddev 7.55 ns 7.49 ns 10
std::string copy{str_with_len_N};/2048_cv 5.87 % 5.83 % 10
std::string copy{str_with_len_N};/4096_mean 172 ns 171 ns 10
std::string copy{str_with_len_N};/4096_median 171 ns 171 ns 10
std::string copy{str_with_len_N};/4096_stddev 5.86 ns 4.14 ns 10
std::string copy{str_with_len_N};/4096_cv 3.42 % 2.43 % 10
stringa copy{str_with_len_N};/15_mean 1.28 ns 1.27 ns 10
stringa copy{str_with_len_N};/15_median 1.28 ns 1.29 ns 10
stringa copy{str_with_len_N};/15_stddev 0.030 ns 0.034 ns 10
stringa copy{str_with_len_N};/15_cv 2.37 % 2.65 % 10
stringa copy{str_with_len_N};/16_mean 1.28 ns 1.28 ns 10
stringa copy{str_with_len_N};/16_median 1.29 ns 1.26 ns 10
stringa copy{str_with_len_N};/16_stddev 0.036 ns 0.043 ns 10
stringa copy{str_with_len_N};/16_cv 2.84 % 3.38 % 10
stringa copy{str_with_len_N};/23_mean 1.29 ns 1.29 ns 10
stringa copy{str_with_len_N};/23_median 1.28 ns 1.28 ns 10
stringa copy{str_with_len_N};/23_stddev 0.025 ns 0.026 ns 10
stringa copy{str_with_len_N};/23_cv 1.93 % 1.99 % 10
stringa copy{str_with_len_N};/24_mean 15.9 ns 15.8 ns 10
stringa copy{str_with_len_N};/24_median 15.8 ns 15.7 ns 10
stringa copy{str_with_len_N};/24_stddev 0.168 ns 0.180 ns 10
stringa copy{str_with_len_N};/24_cv 1.06 % 1.14 % 10
stringa copy{str_with_len_N};/32_mean 16.0 ns 15.9 ns 10
stringa copy{str_with_len_N};/32_median 15.9 ns 15.9 ns 10
stringa copy{str_with_len_N};/32_stddev 0.239 ns 0.202 ns 10
stringa copy{str_with_len_N};/32_cv 1.50 % 1.27 % 10
stringa copy{str_with_len_N};/64_mean 16.7 ns 16.7 ns 10
stringa copy{str_with_len_N};/64_median 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/64_stddev 2.23 ns 2.23 ns 10
stringa copy{str_with_len_N};/64_cv 13.34 % 13.33 % 10
stringa copy{str_with_len_N};/128_mean 15.8 ns 15.8 ns 10
stringa copy{str_with_len_N};/128_median 15.8 ns 15.7 ns 10
stringa copy{str_with_len_N};/128_stddev 0.086 ns 0.168 ns 10
stringa copy{str_with_len_N};/128_cv 0.55 % 1.07 % 10
stringa copy{str_with_len_N};/256_mean 15.8 ns 15.8 ns 10
stringa copy{str_with_len_N};/256_median 15.8 ns 15.7 ns 10
stringa copy{str_with_len_N};/256_stddev 0.154 ns 0.168 ns 10
stringa copy{str_with_len_N};/256_cv 0.98 % 1.07 % 10
stringa copy{str_with_len_N};/512_mean 15.8 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.091 ns 0.168 ns 10
stringa copy{str_with_len_N};/512_cv 0.57 % 1.07 % 10
stringa copy{str_with_len_N};/1024_mean 15.8 ns 15.8 ns 10
stringa copy{str_with_len_N};/1024_median 15.8 ns 15.7 ns 10
stringa copy{str_with_len_N};/1024_stddev 0.099 ns 0.235 ns 10
stringa copy{str_with_len_N};/1024_cv 0.62 % 1.49 % 10
stringa copy{str_with_len_N};/2048_mean 15.8 ns 15.7 ns 10
stringa copy{str_with_len_N};/2048_median 15.7 ns 15.7 ns 10
stringa copy{str_with_len_N};/2048_stddev 0.047 ns 0.198 ns 10
stringa copy{str_with_len_N};/2048_cv 0.30 % 1.26 % 10
stringa copy{str_with_len_N};/4096_mean 15.8 ns 15.8 ns 10
stringa copy{str_with_len_N};/4096_median 15.8 ns 15.7 ns 10
stringa copy{str_with_len_N};/4096_stddev 0.048 ns 0.147 ns 10
stringa copy{str_with_len_N};/4096_cv 0.30 % 0.93 % 10
lstringa<16> copy{str_with_len_N};/15_mean 4.78 ns 4.77 ns 10
lstringa<16> copy{str_with_len_N};/15_median 4.72 ns 4.71 ns 10
lstringa<16> copy{str_with_len_N};/15_stddev 0.161 ns 0.165 ns 10
lstringa<16> copy{str_with_len_N};/15_cv 3.37 % 3.46 % 10
lstringa<16> copy{str_with_len_N};/16_mean 5.32 ns 5.32 ns 10
lstringa<16> copy{str_with_len_N};/16_median 5.37 ns 5.30 ns 10
lstringa<16> copy{str_with_len_N};/16_stddev 0.388 ns 0.397 ns 10
lstringa<16> copy{str_with_len_N};/16_cv 7.30 % 7.47 % 10
lstringa<16> copy{str_with_len_N};/23_mean 5.12 ns 5.11 ns 10
lstringa<16> copy{str_with_len_N};/23_median 4.95 ns 5.00 ns 10
lstringa<16> copy{str_with_len_N};/23_stddev 0.491 ns 0.505 ns 10
lstringa<16> copy{str_with_len_N};/23_cv 9.59 % 9.89 % 10
lstringa<16> copy{str_with_len_N};/24_mean 79.7 ns 79.5 ns 10
lstringa<16> copy{str_with_len_N};/24_median 78.9 ns 79.5 ns 10
lstringa<16> copy{str_with_len_N};/24_stddev 2.94 ns 2.42 ns 10
lstringa<16> copy{str_with_len_N};/24_cv 3.68 % 3.04 % 10
lstringa<16> copy{str_with_len_N};/32_mean 81.5 ns 81.2 ns 10
lstringa<16> copy{str_with_len_N};/32_median 81.6 ns 81.6 ns 10
lstringa<16> copy{str_with_len_N};/32_stddev 1.63 ns 1.65 ns 10
lstringa<16> copy{str_with_len_N};/32_cv 2.00 % 2.03 % 10
lstringa<16> copy{str_with_len_N};/64_mean 78.6 ns 78.5 ns 10
lstringa<16> copy{str_with_len_N};/64_median 78.2 ns 77.6 ns 10
lstringa<16> copy{str_with_len_N};/64_stddev 2.45 ns 2.33 ns 10
lstringa<16> copy{str_with_len_N};/64_cv 3.12 % 2.96 % 10
lstringa<16> copy{str_with_len_N};/128_mean 82.0 ns 82.0 ns 10
lstringa<16> copy{str_with_len_N};/128_median 81.5 ns 81.6 ns 10
lstringa<16> copy{str_with_len_N};/128_stddev 2.90 ns 3.09 ns 10
lstringa<16> copy{str_with_len_N};/128_cv 3.54 % 3.76 % 10
lstringa<16> copy{str_with_len_N};/256_mean 83.4 ns 83.4 ns 10
lstringa<16> copy{str_with_len_N};/256_median 82.8 ns 82.8 ns 10
lstringa<16> copy{str_with_len_N};/256_stddev 2.04 ns 2.14 ns 10
lstringa<16> copy{str_with_len_N};/256_cv 2.44 % 2.57 % 10
lstringa<16> copy{str_with_len_N};/512_mean 85.2 ns 84.8 ns 10
lstringa<16> copy{str_with_len_N};/512_median 85.2 ns 85.4 ns 10
lstringa<16> copy{str_with_len_N};/512_stddev 1.15 ns 0.901 ns 10
lstringa<16> copy{str_with_len_N};/512_cv 1.35 % 1.06 % 10
lstringa<16> copy{str_with_len_N};/1024_mean 96.3 ns 96.1 ns 10
lstringa<16> copy{str_with_len_N};/1024_median 97.3 ns 97.3 ns 10
lstringa<16> copy{str_with_len_N};/1024_stddev 4.47 ns 4.88 ns 10
lstringa<16> copy{str_with_len_N};/1024_cv 4.65 % 5.08 % 10
lstringa<16> copy{str_with_len_N};/2048_mean 124 ns 124 ns 10
lstringa<16> copy{str_with_len_N};/2048_median 124 ns 124 ns 10
lstringa<16> copy{str_with_len_N};/2048_stddev 4.04 ns 4.96 ns 10
lstringa<16> copy{str_with_len_N};/2048_cv 3.25 % 4.00 % 10
lstringa<16> copy{str_with_len_N};/4096_mean 181 ns 180 ns 10
lstringa<16> copy{str_with_len_N};/4096_median 180 ns 180 ns 10
lstringa<16> copy{str_with_len_N};/4096_stddev 2.14 ns 2.38 ns 10
lstringa<16> copy{str_with_len_N};/4096_cv 1.18 % 1.32 % 10
lstringa<512> copy{str_with_len_N};/15_mean 5.22 ns 5.20 ns 10
lstringa<512> copy{str_with_len_N};/15_median 5.11 ns 5.00 ns 10
lstringa<512> copy{str_with_len_N};/15_stddev 0.406 ns 0.423 ns 10
lstringa<512> copy{str_with_len_N};/15_cv 7.79 % 8.14 % 10
lstringa<512> copy{str_with_len_N};/16_mean 5.27 ns 5.27 ns 10
lstringa<512> copy{str_with_len_N};/16_median 5.13 ns 5.16 ns 10
lstringa<512> copy{str_with_len_N};/16_stddev 0.409 ns 0.445 ns 10
lstringa<512> copy{str_with_len_N};/16_cv 7.75 % 8.44 % 10
lstringa<512> copy{str_with_len_N};/23_mean 5.42 ns 5.42 ns 10
lstringa<512> copy{str_with_len_N};/23_median 5.26 ns 5.23 ns 10
lstringa<512> copy{str_with_len_N};/23_stddev 0.317 ns 0.354 ns 10
lstringa<512> copy{str_with_len_N};/23_cv 5.85 % 6.52 % 10
lstringa<512> copy{str_with_len_N};/24_mean 5.13 ns 5.09 ns 10
lstringa<512> copy{str_with_len_N};/24_median 5.06 ns 5.00 ns 10
lstringa<512> copy{str_with_len_N};/24_stddev 0.195 ns 0.257 ns 10
lstringa<512> copy{str_with_len_N};/24_cv 3.79 % 5.05 % 10
lstringa<512> copy{str_with_len_N};/32_mean 7.99 ns 7.99 ns 10
lstringa<512> copy{str_with_len_N};/32_median 7.93 ns 7.93 ns 10
lstringa<512> copy{str_with_len_N};/32_stddev 0.148 ns 0.198 ns 10
lstringa<512> copy{str_with_len_N};/32_cv 1.86 % 2.48 % 10
lstringa<512> copy{str_with_len_N};/64_mean 8.09 ns 8.07 ns 10
lstringa<512> copy{str_with_len_N};/64_median 8.05 ns 8.02 ns 10
lstringa<512> copy{str_with_len_N};/64_stddev 0.166 ns 0.218 ns 10
lstringa<512> copy{str_with_len_N};/64_cv 2.06 % 2.70 % 10
lstringa<512> copy{str_with_len_N};/128_mean 8.40 ns 8.39 ns 10
lstringa<512> copy{str_with_len_N};/128_median 8.36 ns 8.37 ns 10
lstringa<512> copy{str_with_len_N};/128_stddev 0.202 ns 0.239 ns 10
lstringa<512> copy{str_with_len_N};/128_cv 2.40 % 2.85 % 10
lstringa<512> copy{str_with_len_N};/256_mean 9.69 ns 9.69 ns 10
lstringa<512> copy{str_with_len_N};/256_median 9.62 ns 9.52 ns 10
lstringa<512> copy{str_with_len_N};/256_stddev 0.580 ns 0.592 ns 10
lstringa<512> copy{str_with_len_N};/256_cv 5.98 % 6.11 % 10
lstringa<512> copy{str_with_len_N};/512_mean 11.4 ns 11.3 ns 10
lstringa<512> copy{str_with_len_N};/512_median 11.1 ns 11.0 ns 10
lstringa<512> copy{str_with_len_N};/512_stddev 0.916 ns 0.918 ns 10
lstringa<512> copy{str_with_len_N};/512_cv 8.07 % 8.10 % 10
lstringa<512> copy{str_with_len_N};/1024_mean 98.1 ns 97.7 ns 10
lstringa<512> copy{str_with_len_N};/1024_median 94.6 ns 94.2 ns 10
lstringa<512> copy{str_with_len_N};/1024_stddev 10.2 ns 10.2 ns 10
lstringa<512> copy{str_with_len_N};/1024_cv 10.43 % 10.40 % 10
lstringa<512> copy{str_with_len_N};/2048_mean 129 ns 129 ns 10
lstringa<512> copy{str_with_len_N};/2048_median 126 ns 126 ns 10
lstringa<512> copy{str_with_len_N};/2048_stddev 7.85 ns 7.52 ns 10
lstringa<512> copy{str_with_len_N};/2048_cv 6.07 % 5.81 % 10
lstringa<512> copy{str_with_len_N};/4096_mean 185 ns 184 ns 10
lstringa<512> copy{str_with_len_N};/4096_median 182 ns 184 ns 10
lstringa<512> copy{str_with_len_N};/4096_stddev 6.15 ns 5.39 ns 10
lstringa<512> copy{str_with_len_N};/4096_cv 3.33 % 2.93 % 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 30.7 ns 30.8 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 30.8 ns 30.7 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.237 ns 0.221 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 0.77 % 0.72 % 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 13.5 ns 13.5 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 13.4 ns 13.4 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.363 ns 0.399 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 2.69 % 2.95 % 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 14.1 ns 14.1 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 14.2 ns 14.1 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.184 ns 0.199 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.30 % 1.41 % 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.8 ns 13.8 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.5 ns 13.7 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.857 ns 0.856 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 6.21 % 6.21 % 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 14.8 ns 14.8 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 15.0 ns 15.1 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.912 ns 0.959 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 6.17 % 6.50 % 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.2 ns 33.2 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 32.9 ns 33.0 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.655 ns 0.776 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.97 % 2.34 % 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 8.21 ns 8.20 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 8.19 ns 8.20 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.093 ns 0.116 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 1.13 % 1.42 % 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.5 ns 12.5 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.4 ns 12.6 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.186 ns 0.199 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.49 % 1.59 % 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.0 ns 12.0 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.0 ns 12.0 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.194 ns 0.214 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.62 % 1.78 % 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.1 ns 12.1 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.1 ns 12.0 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.231 ns 0.343 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.91 % 2.85 % 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 43.5 ns 43.6 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 43.3 ns 43.0 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.768 ns 0.824 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.77 % 1.89 % 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 18.8 ns 18.8 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 18.6 ns 18.6 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.492 ns 0.574 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 2.62 % 3.06 % 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 15.4 ns 15.3 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 15.4 ns 15.2 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.542 ns 0.658 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 3.52 % 4.29 % 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 101 ns 99.6 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 99.3 ns 99.4 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 5.32 ns 4.54 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 5.26 % 4.56 % 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 64.1 ns 64.0 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 61.6 ns 61.4 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 6.54 ns 6.59 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 10.19 % 10.29 % 10
ssa s = "1234.567e10"; double res = *s.to_double()_mean 36.0 ns 35.9 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_median 35.5 ns 35.3 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 1.57 ns 1.45 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_cv 4.37 % 4.05 % 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 4750 ns 4736 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_median 4724 ns 4757 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 143 ns 123 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 3.01 % 2.59 % 10
std::string str; ... str += "abbaabbaabbaabba";_mean 1063 ns 1064 ns 10
std::string str; ... str += "abbaabbaabbaabba";_median 1064 ns 1074 ns 10
std::string str; ... str += "abbaabbaabbaabba";_stddev 14.6 ns 20.6 ns 10
std::string str; ... str += "abbaabbaabbaabba";_cv 1.38 % 1.93 % 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 730 ns 731 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 733 ns 732 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 5.75 ns 12.9 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 0.79 % 1.76 % 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 395 ns 394 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 389 ns 391 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 25.5 ns 26.6 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 6.45 % 6.75 % 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 250 ns 249 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 248 ns 251 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 4.48 ns 3.77 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 1.80 % 1.51 % 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 156 ns 155 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 155 ns 153 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 3.95 ns 3.16 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 2.53 % 2.04 % 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 4613 ns 4604 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 4645 ns 4604 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 106 ns 98.6 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 2.29 % 2.14 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 3808 ns 3790 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 3791 ns 3809 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 91.6 ns 93.7 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 2.41 % 2.47 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 734 ns 731 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 734 ns 732 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 8.60 ns 12.9 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.17 % 1.76 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 475 ns 475 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 469 ns 464 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 22.9 ns 24.0 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.81 % 5.06 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 288 ns 288 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 288 ns 291 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 4.07 ns 5.00 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.41 % 1.74 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 184 ns 185 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 183 ns 184 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 3.87 ns 3.09 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.10 % 1.67 % 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 219319 ns 218656 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 218121 ns 217087 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 5660 ns 6430 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 2.58 % 2.94 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 194821 ns 194066 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 190089 ns 190438 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 9008 ns 9268 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.62 % 4.78 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18897 ns 18862 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18855 ns 18973 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 451 ns 513 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.39 % 2.72 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17335 ns 17285 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17207 ns 17160 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 579 ns 594 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.34 % 3.43 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16905 ns 16783 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16853 ns 16741 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 517 ns 309 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.06 % 1.84 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16758 ns 16741 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16700 ns 16741 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 437 ns 493 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.61 % 2.95 % 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 4306 ns 4287 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_median 4309 ns 4297 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_stddev 44.4 ns 72.1 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_cv 1.03 % 1.68 % 10
std::string str; ... str += str_var1 + str_var2;_mean 3942 ns 3906 ns 10
std::string str; ... str += str_var1 + str_var2;_median 3890 ns 3880 ns 10
std::string str; ... str += str_var1 + str_var2;_stddev 132 ns 135 ns 10
std::string str; ... str += str_var1 + str_var2;_cv 3.35 % 3.46 % 10
lstringa<16> str; ... str += str_var1 + str_var2;_mean 795 ns 795 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_median 796 ns 802 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 13.6 ns 14.7 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_cv 1.72 % 1.85 % 10
lstringa<128> str; ... str += str_var1 + str_var2;_mean 530 ns 528 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_median 525 ns 531 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 12.9 ns 14.4 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_cv 2.43 % 2.72 % 10
lstringa<512> str; ... str += str_var1 + str_var2;_mean 404 ns 404 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_median 408 ns 406 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 25.8 ns 27.1 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_cv 6.39 % 6.69 % 10
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 281 ns 281 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_median 280 ns 283 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 4.68 ns 4.95 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 1.66 % 1.76 % 10
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 10756 ns 10718 ns 10
std::stringstream str; str << "test = " << k << " times";_median 10757 ns 10742 ns 10
std::stringstream str; str << "test = " << k << " times";_stddev 253 ns 292 ns 10
std::stringstream str; str << "test = " << k << " times";_cv 2.35 % 2.73 % 10
std::string str = "test = " + std::to_string(k) + " times";_mean 1072 ns 1071 ns 10
std::string str = "test = " + std::to_string(k) + " times";_median 1055 ns 1057 ns 10
std::string str = "test = " + std::to_string(k) + " times";_stddev 50.8 ns 48.1 ns 10
std::string str = "test = " + std::to_string(k) + " times";_cv 4.74 % 4.49 % 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2827 ns 2825 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2779 ns 2762 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 132 ns 129 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 4.68 % 4.57 % 10
std::string str = std::format("test = {} times", k);_mean 1907 ns 1908 ns 10
std::string str = std::format("test = {} times", k);_median 1910 ns 1904 ns 10
std::string str = std::format("test = {} times", k);_stddev 40.3 ns 52.9 ns 10
std::string str = std::format("test = {} times", k);_cv 2.11 % 2.77 % 10
lstringa<8> str; str.format("test = {} times", k);_mean 2160 ns 2149 ns 10
lstringa<8> str; str.format("test = {} times", k);_median 2192 ns 2154 ns 10
lstringa<8> str; str.format("test = {} times", k);_stddev 87.6 ns 86.0 ns 10
lstringa<8> str; str.format("test = {} times", k);_cv 4.06 % 4.00 % 10
lstringa<32> str; str.format("test = {} times", k);_mean 1009 ns 1007 ns 10
lstringa<32> str; str.format("test = {} times", k);_median 1008 ns 1004 ns 10
lstringa<32> str; str.format("test = {} times", k);_stddev 17.4 ns 15.4 ns 10
lstringa<32> str; str.format("test = {} times", k);_cv 1.72 % 1.53 % 10
lstringa<8> str = "test = " + k + " times";_mean 831 ns 831 ns 10
lstringa<8> str = "test = " + k + " times";_median 834 ns 837 ns 10
lstringa<8> str = "test = " + k + " times";_stddev 21.2 ns 24.3 ns 10
lstringa<8> str = "test = " + k + " times";_cv 2.55 % 2.92 % 10
lstringa<32> str = "test = " + k + " times";_mean 154 ns 154 ns 10
lstringa<32> str = "test = " + k + " times";_median 152 ns 152 ns 10
lstringa<32> str = "test = " + k + " times";_stddev 6.25 ns 7.25 ns 10
lstringa<32> str = "test = " + k + " times";_cv 4.05 % 4.71 % 10
stringa str = "test = " + k + " times";_mean 151 ns 151 ns 10
stringa str = "test = " + k + " times";_median 151 ns 150 ns 10
stringa str = "test = " + k + " times";_stddev 3.48 ns 2.94 ns 10
stringa str = "test = " + k + " times";_cv 2.30 % 1.94 % 10
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 540 ns 540 ns 10
std::string::find + substr + std::strtol_median 538 ns 544 ns 10
std::string::find + substr + std::strtol_stddev 15.5 ns 14.8 ns 10
std::string::find + substr + std::strtol_cv 2.88 % 2.74 % 10
ssa::splitter + ssa::as_int_mean 168 ns 167 ns 10
ssa::splitter + ssa::as_int_median 168 ns 170 ns 10
ssa::splitter + ssa::as_int_stddev 3.41 ns 4.83 ns 10
ssa::splitter + ssa::as_int_cv 2.03 % 2.89 % 10
ssa::splitf + functor_mean 191 ns 190 ns 10
ssa::splitf + functor_median 189 ns 188 ns 10
ssa::splitf + functor_stddev 5.33 ns 6.91 ns 10
ssa::splitf + functor_cv 2.79 % 3.64 % 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 1089 ns 1088 ns 10
Naive (and wrong) replace symbols with std::string find + replace_median 1094 ns 1088 ns 10
Naive (and wrong) replace symbols with std::string find + replace_stddev 16.1 ns 17.1 ns 10
Naive (and wrong) replace symbols with std::string find + replace_cv 1.48 % 1.57 % 10
replace symbols with std::string find_first_of + replace_mean 2072 ns 2072 ns 10
replace symbols with std::string find_first_of + replace_median 2010 ns 2018 ns 10
replace symbols with std::string find_first_of + replace_stddev 110 ns 115 ns 10
replace symbols with std::string find_first_of + replace_cv 5.33 % 5.56 % 10
replace symbols with std::string_view find_first_of + copy_mean 2459 ns 2454 ns 10
replace symbols with std::string_view find_first_of + copy_median 2462 ns 2433 ns 10
replace symbols with std::string_view find_first_of + copy_stddev 149 ns 157 ns 10
replace symbols with std::string_view find_first_of + copy_cv 6.05 % 6.39 % 10
replace runtime symbols with string expressions and without remembering all search results_mean 1413 ns 1409 ns 10
replace runtime symbols with string expressions and without remembering all search results_median 1409 ns 1413 ns 10
replace runtime symbols with string expressions and without remembering all search results_stddev 23.7 ns 33.7 ns 10
replace runtime symbols with string expressions and without remembering all search results_cv 1.68 % 2.39 % 10
replace runtime symbols with simstr and memorization of all search results_mean 1334 ns 1328 ns 10
replace runtime symbols with simstr and memorization of all search results_median 1318 ns 1311 ns 10
replace runtime symbols with simstr and memorization of all search results_stddev 42.5 ns 32.8 ns 10
replace runtime symbols with simstr and memorization of all search results_cv 3.18 % 2.47 % 10
replace const symbols with string expressions and without remembering all search results_mean 1140 ns 1140 ns 10
replace const symbols with string expressions and without remembering all search results_median 1139 ns 1147 ns 10
replace const symbols with string expressions and without remembering all search results_stddev 24.7 ns 25.9 ns 10
replace const symbols with string expressions and without remembering all search results_cv 2.17 % 2.27 % 10
replace const symbols with string expressions and memorization of all search results_mean 1280 ns 1278 ns 10
replace const symbols with string expressions and memorization of all search results_median 1264 ns 1256 ns 10
replace const symbols with string expressions and memorization of all search results_stddev 66.0 ns 71.8 ns 10
replace const symbols with string expressions and memorization of all search results_cv 5.16 % 5.62 % 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 314 ns 313 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_median 313 ns 310 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 6.62 ns 9.18 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.11 % 2.94 % 10
Short replace symbols with std::string find_first_of + replace_mean 368 ns 368 ns 10
Short replace symbols with std::string find_first_of + replace_median 367 ns 365 ns 10
Short replace symbols with std::string find_first_of + replace_stddev 10.3 ns 12.2 ns 10
Short replace symbols with std::string find_first_of + replace_cv 2.81 % 3.32 % 10
Short replace symbols with std::string_view find_first_of + copy_mean 326 ns 326 ns 10
Short replace symbols with std::string_view find_first_of + copy_median 324 ns 326 ns 10
Short replace symbols with std::string_view find_first_of + copy_stddev 7.28 ns 9.30 ns 10
Short replace symbols with std::string_view find_first_of + copy_cv 2.24 % 2.85 % 10
Short replace runtime symbols with string expressions and without remembering all search results_mean 266 ns 265 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_median 260 ns 259 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_stddev 19.6 ns 19.6 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_cv 7.40 % 7.38 % 10
Short replace runtime symbols with simstr and memorization of all search results_mean 374 ns 375 ns 10
Short replace runtime symbols with simstr and memorization of all search results_median 365 ns 361 ns 10
Short replace runtime symbols with simstr and memorization of all search results_stddev 24.0 ns 24.8 ns 10
Short replace runtime symbols with simstr and memorization of all search results_cv 6.42 % 6.62 % 10
Short replace const symbols with string expressions and without remembering all search results_mean 217 ns 217 ns 10
Short replace const symbols with string expressions and without remembering all search results_median 217 ns 215 ns 10
Short replace const symbols with string expressions and without remembering all search results_stddev 6.03 ns 7.35 ns 10
Short replace const symbols with string expressions and without remembering all search results_cv 2.78 % 3.39 % 10
Short replace const symbols with string expressions and memorization of all search results_mean 315 ns 315 ns 10
Short replace const symbols with string expressions and memorization of all search results_median 315 ns 315 ns 10
Short replace const symbols with string expressions and memorization of all search results_stddev 5.16 ns 6.91 ns 10
Short replace const symbols with string expressions and memorization of all search results_cv 1.64 % 2.19 % 10
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 228 ns 227 ns 10
replace bb to ---- in std::string|64_median 229 ns 225 ns 10
replace bb to ---- in std::string|64_stddev 6.48 ns 6.59 ns 10
replace bb to ---- in std::string|64_cv 2.84 % 2.91 % 10
replace bb to ---- in std::string|256_mean 754 ns 750 ns 10
replace bb to ---- in std::string|256_median 757 ns 750 ns 10
replace bb to ---- in std::string|256_stddev 13.8 ns 16.4 ns 10
replace bb to ---- in std::string|256_cv 1.84 % 2.19 % 10
replace bb to ---- in std::string|512_mean 1411 ns 1409 ns 10
replace bb to ---- in std::string|512_median 1410 ns 1413 ns 10
replace bb to ---- in std::string|512_stddev 16.9 ns 23.2 ns 10
replace bb to ---- in std::string|512_cv 1.20 % 1.64 % 10
replace bb to ---- in std::string|1024_mean 3115 ns 3118 ns 10
replace bb to ---- in std::string|1024_median 3109 ns 3139 ns 10
replace bb to ---- in std::string|1024_stddev 36.1 ns 47.1 ns 10
replace bb to ---- in std::string|1024_cv 1.16 % 1.51 % 10
replace bb to ---- in std::string|2048_mean 8203 ns 8161 ns 10
replace bb to ---- in std::string|2048_median 7969 ns 7952 ns 10
replace bb to ---- in std::string|2048_stddev 538 ns 527 ns 10
replace bb to ---- in std::string|2048_cv 6.56 % 6.46 % 10
replace bb to ---- in lstringa<8>|64_mean 231 ns 230 ns 10
replace bb to ---- in lstringa<8>|64_median 223 ns 222 ns 10
replace bb to ---- in lstringa<8>|64_stddev 16.5 ns 17.0 ns 10
replace bb to ---- in lstringa<8>|64_cv 7.16 % 7.39 % 10
replace bb to ---- in lstringa<8>|256_mean 624 ns 623 ns 10
replace bb to ---- in lstringa<8>|256_median 615 ns 609 ns 10
replace bb to ---- in lstringa<8>|256_stddev 33.9 ns 33.3 ns 10
replace bb to ---- in lstringa<8>|256_cv 5.44 % 5.34 % 10
replace bb to ---- in lstringa<8>|512_mean 1021 ns 1018 ns 10
replace bb to ---- in lstringa<8>|512_median 1019 ns 1025 ns 10
replace bb to ---- in lstringa<8>|512_stddev 10.6 ns 16.5 ns 10
replace bb to ---- in lstringa<8>|512_cv 1.04 % 1.62 % 10
replace bb to ---- in lstringa<8>|1024_mean 1832 ns 1826 ns 10
replace bb to ---- in lstringa<8>|1024_median 1824 ns 1822 ns 10
replace bb to ---- in lstringa<8>|1024_stddev 36.5 ns 26.8 ns 10
replace bb to ---- in lstringa<8>|1024_cv 1.99 % 1.47 % 10
replace bb to ---- in lstringa<8>|2048_mean 3573 ns 3560 ns 10
replace bb to ---- in lstringa<8>|2048_median 3537 ns 3530 ns 10
replace bb to ---- in lstringa<8>|2048_stddev 97.3 ns 97.1 ns 10
replace bb to ---- in lstringa<8>|2048_cv 2.72 % 2.73 % 10
replace bb to ---- by init stringa|64_mean 179 ns 179 ns 10
replace bb to ---- by init stringa|64_median 180 ns 180 ns 10
replace bb to ---- by init stringa|64_stddev 4.23 ns 4.80 ns 10
replace bb to ---- by init stringa|64_cv 2.36 % 2.68 % 10
replace bb to ---- by init stringa|256_mean 384 ns 383 ns 10
replace bb to ---- by init stringa|256_median 384 ns 385 ns 10
replace bb to ---- by init stringa|256_stddev 9.03 ns 8.65 ns 10
replace bb to ---- by init stringa|256_cv 2.35 % 2.26 % 10
replace bb to ---- by init stringa|512_mean 825 ns 825 ns 10
replace bb to ---- by init stringa|512_median 823 ns 820 ns 10
replace bb to ---- by init stringa|512_stddev 17.3 ns 16.5 ns 10
replace bb to ---- by init stringa|512_cv 2.10 % 2.01 % 10
replace bb to ---- by init stringa|1024_mean 1750 ns 1746 ns 10
replace bb to ---- by init stringa|1024_median 1707 ns 1707 ns 10
replace bb to ---- by init stringa|1024_stddev 113 ns 123 ns 10
replace bb to ---- by init stringa|1024_cv 6.45 % 7.05 % 10
replace bb to ---- by init stringa|2048_mean 3143 ns 3147 ns 10
replace bb to ---- by init stringa|2048_median 3113 ns 3128 ns 10
replace bb to ---- by init stringa|2048_stddev 73.8 ns 74.7 ns 10
replace bb to ---- by init stringa|2048_cv 2.35 % 2.37 % 10
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 198 ns 198 ns 10
replace bb to -- in std::string|64_median 197 ns 197 ns 10
replace bb to -- in std::string|64_stddev 7.91 ns 6.85 ns 10
replace bb to -- in std::string|64_cv 4.01 % 3.46 % 10
replace bb to -- in std::string|256_mean 476 ns 475 ns 10
replace bb to -- in std::string|256_median 473 ns 469 ns 10
replace bb to -- in std::string|256_stddev 22.6 ns 22.3 ns 10
replace bb to -- in std::string|256_cv 4.75 % 4.70 % 10
replace bb to -- in std::string|512_mean 838 ns 834 ns 10
replace bb to -- in std::string|512_median 837 ns 837 ns 10
replace bb to -- in std::string|512_stddev 12.3 ns 18.0 ns 10
replace bb to -- in std::string|512_cv 1.47 % 2.16 % 10
replace bb to -- in std::string|1024_mean 1609 ns 1604 ns 10
replace bb to -- in std::string|1024_median 1606 ns 1611 ns 10
replace bb to -- in std::string|1024_stddev 29.7 ns 30.3 ns 10
replace bb to -- in std::string|1024_cv 1.85 % 1.89 % 10
replace bb to -- in std::string|2048_mean 3121 ns 3125 ns 10
replace bb to -- in std::string|2048_median 3113 ns 3139 ns 10
replace bb to -- in std::string|2048_stddev 80.0 ns 79.2 ns 10
replace bb to -- in std::string|2048_cv 2.56 % 2.53 % 10
replace bb to -- in lstringa<8>|64_mean 185 ns 185 ns 10
replace bb to -- in lstringa<8>|64_median 183 ns 184 ns 10
replace bb to -- in lstringa<8>|64_stddev 6.48 ns 5.66 ns 10
replace bb to -- in lstringa<8>|64_cv 3.50 % 3.06 % 10
replace bb to -- in lstringa<8>|256_mean 445 ns 445 ns 10
replace bb to -- in lstringa<8>|256_median 442 ns 445 ns 10
replace bb to -- in lstringa<8>|256_stddev 9.46 ns 6.74 ns 10
replace bb to -- in lstringa<8>|256_cv 2.12 % 1.52 % 10
replace bb to -- in lstringa<8>|512_mean 763 ns 764 ns 10
replace bb to -- in lstringa<8>|512_median 766 ns 767 ns 10
replace bb to -- in lstringa<8>|512_stddev 14.7 ns 16.0 ns 10
replace bb to -- in lstringa<8>|512_cv 1.93 % 2.10 % 10
replace bb to -- in lstringa<8>|1024_mean 1417 ns 1417 ns 10
replace bb to -- in lstringa<8>|1024_median 1419 ns 1423 ns 10
replace bb to -- in lstringa<8>|1024_stddev 23.3 ns 28.8 ns 10
replace bb to -- in lstringa<8>|1024_cv 1.64 % 2.03 % 10
replace bb to -- in lstringa<8>|2048_mean 2763 ns 2763 ns 10
replace bb to -- in lstringa<8>|2048_median 2780 ns 2787 ns 10
replace bb to -- in lstringa<8>|2048_stddev 43.9 ns 50.0 ns 10
replace bb to -- in lstringa<8>|2048_cv 1.59 % 1.81 % 10
replace bb to -- by init stringa|64_mean 172 ns 171 ns 10
replace bb to -- by init stringa|64_median 169 ns 167 ns 10
replace bb to -- by init stringa|64_stddev 15.8 ns 15.8 ns 10
replace bb to -- by init stringa|64_cv 9.19 % 9.20 % 10
replace bb to -- by init stringa|256_mean 361 ns 361 ns 10
replace bb to -- by init stringa|256_median 347 ns 344 ns 10
replace bb to -- by init stringa|256_stddev 30.1 ns 29.4 ns 10
replace bb to -- by init stringa|256_cv 8.33 % 8.15 % 10
replace bb to -- by init stringa|512_mean 568 ns 568 ns 10
replace bb to -- by init stringa|512_median 565 ns 572 ns 10
replace bb to -- by init stringa|512_stddev 11.5 ns 13.2 ns 10
replace bb to -- by init stringa|512_cv 2.02 % 2.33 % 10
replace bb to -- by init stringa|1024_mean 1050 ns 1046 ns 10
replace bb to -- by init stringa|1024_median 1046 ns 1046 ns 10
replace bb to -- by init stringa|1024_stddev 21.4 ns 22.1 ns 10
replace bb to -- by init stringa|1024_cv 2.04 % 2.11 % 10
replace bb to -- by init stringa|2048_mean 1968 ns 1967 ns 10
replace bb to -- by init stringa|2048_median 1950 ns 1967 ns 10
replace bb to -- by init stringa|2048_stddev 51.5 ns 44.1 ns 10
replace bb to -- by init stringa|2048_cv 2.62 % 2.24 % 10
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3812101 ns 3806323 ns 10
hashStrMapA<size_t> emplace & find stringa;_median 3815927 ns 3815407 ns 10
hashStrMapA<size_t> emplace & find stringa;_stddev 166367 ns 178889 ns 10
hashStrMapA<size_t> emplace & find stringa;_cv 4.36 % 4.70 % 10
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5442291 ns 5426897 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5389030 ns 5371094 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 264610 ns 311605 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 4.86 % 5.74 % 10
hashStrMapA<size_t> emplace & find ssa;_mean 3443667 ns 3403756 ns 10
hashStrMapA<size_t> emplace & find ssa;_median 3430798 ns 3374413 ns 10
hashStrMapA<size_t> emplace & find ssa;_stddev 42379 ns 78856 ns 10
hashStrMapA<size_t> emplace & find ssa;_cv 1.23 % 2.32 % 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6274459 ns 6267361 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6286233 ns 6250000 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 123993 ns 172644 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 1.98 % 2.75 % 10
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 1557 ns 1556 ns 10
Build func full name std::string;_median 1559 ns 1552 ns 10
Build func full name std::string;_stddev 28.8 ns 40.9 ns 10
Build func full name std::string;_cv 1.85 % 2.63 % 10
Build func full name std::string 1;_mean 1575 ns 1569 ns 10
Build func full name std::string 1;_median 1564 ns 1549 ns 10
Build func full name std::string 1;_stddev 44.6 ns 40.7 ns 10
Build func full name std::string 1;_cv 2.83 % 2.59 % 10
Build func full name std::stream;_mean 8287 ns 8287 ns 10
Build func full name std::stream;_median 8092 ns 8161 ns 10
Build func full name std::stream;_stddev 591 ns 648 ns 10
Build func full name std::stream;_cv 7.13 % 7.82 % 10
Build func full name stringa;_mean 813 ns 813 ns 10
Build func full name stringa;_median 811 ns 802 ns 10
Build func full name stringa;_stddev 8.81 ns 14.7 ns 10
Build func full name stringa;_cv 1.08 % 1.81 % 10
Build func full name stringa 1;_mean 940 ns 942 ns 10
Build func full name stringa 1;_median 924 ns 924 ns 10
Build func full name stringa 1;_stddev 41.7 ns 43.5 ns 10
Build func full name stringa 1;_cv 4.44 % 4.62 % 10