simstr/bench/results/000-Xeon E5-2682 v4, Ubuntu...

903 lines
134 KiB
Plaintext

2026-01-31T16:21:34+03:00
Running ./benchStr
Run on (32 X 2494.22 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)
Load Average: 0.02, 0.47, 0.66
***WARNING*** ASLR is enabled, the results may have unreproducible noise in them.
--------------------------------------------------------------------------------------------------------------------------------------------------------
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 209 ns 209 ns 10
Concat std::string and number by std to std::string_median 208 ns 208 ns 10
Concat std::string and number by std to std::string_stddev 5.82 ns 5.82 ns 10
Concat std::string and number by std to std::string_cv 2.79 % 2.79 % 10
Concat std::string and number by StrExpr to std::string_mean 107 ns 107 ns 10
Concat std::string and number by StrExpr to std::string_median 105 ns 105 ns 10
Concat std::string and number by StrExpr to std::string_stddev 3.74 ns 3.74 ns 10
Concat std::string and number by StrExpr to std::string_cv 3.48 % 3.48 % 10
Concat stringa and number by StrExpr to simstr::stringa_mean 64.5 ns 64.5 ns 10
Concat stringa and number by StrExpr to simstr::stringa_median 63.8 ns 63.8 ns 10
Concat stringa and number by StrExpr to simstr::stringa_stddev 2.68 ns 2.68 ns 10
Concat stringa and number by StrExpr to simstr::stringa_cv 4.16 % 4.16 % 10
Concat stringa and number by e_concat to simstr::stringa_mean 72.8 ns 72.8 ns 10
Concat stringa and number by e_concat to simstr::stringa_median 72.3 ns 72.3 ns 10
Concat stringa and number by e_concat to simstr::stringa_stddev 3.64 ns 3.64 ns 10
Concat stringa and number by e_concat to simstr::stringa_cv 5.00 % 5.00 % 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 682 ns 682 ns 10
Concat std::string and format hex number and literal to std::string_median 677 ns 677 ns 10
Concat std::string and format hex number and literal to std::string_stddev 27.0 ns 27.0 ns 10
Concat std::string and format hex number and literal to std::string_cv 3.95 % 3.95 % 10
std::format std::string and hex number by literal to std::string_mean 862 ns 862 ns 10
std::format std::string and hex number by literal to std::string_median 856 ns 856 ns 10
std::format std::string and hex number by literal to std::string_stddev 27.5 ns 27.5 ns 10
std::format std::string and hex number by literal to std::string_cv 3.18 % 3.18 % 10
Concat std::string and std::tochars and string to std::string_mean 198 ns 198 ns 10
Concat std::string and std::tochars and string to std::string_median 198 ns 198 ns 10
Concat std::string and std::tochars and string to std::string_stddev 2.77 ns 2.77 ns 10
Concat std::string and std::tochars and string to std::string_cv 1.40 % 1.40 % 10
Concat std::string and hex number and literal by StrExpr to std::string_mean 132 ns 132 ns 10
Concat std::string and hex number and literal by StrExpr to std::string_median 130 ns 130 ns 10
Concat std::string and hex number and literal by StrExpr to std::string_stddev 3.79 ns 3.79 ns 10
Concat std::string and hex number and literal by StrExpr to std::string_cv 2.87 % 2.87 % 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 116 ns 116 ns 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 115 ns 115 ns 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 2.64 ns 2.64 ns 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 2.28 % 2.28 % 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 115 ns 115 ns 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 115 ns 115 ns 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 1.62 ns 1.62 ns 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 1.40 % 1.40 % 10
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 180 ns 180 ns 10
Subst stringa and hex number by e_subst literal to simstr::stringa_median 180 ns 180 ns 10
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 3.03 ns 3.03 ns 10
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 1.68 % 1.68 % 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 315 ns 315 ns 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 313 ns 313 ns 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 8.79 ns 8.79 ns 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 2.79 % 2.79 % 10
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 44.3 ns 44.3 ns 10
Concat std::string by std to std::string_median 44.3 ns 44.3 ns 10
Concat std::string by std to std::string_stddev 1.57 ns 1.57 ns 10
Concat std::string by std to std::string_cv 3.54 % 3.54 % 10
Concat std::string by StrExpr to std::string_mean 34.8 ns 34.8 ns 10
Concat std::string by StrExpr to std::string_median 34.9 ns 34.9 ns 10
Concat std::string by StrExpr to std::string_stddev 1.47 ns 1.47 ns 10
Concat std::string by StrExpr to std::string_cv 4.22 % 4.22 % 10
Concat stringa by StrExpr to stringa_mean 29.1 ns 29.1 ns 10
Concat stringa by StrExpr to stringa_median 28.2 ns 28.2 ns 10
Concat stringa by StrExpr to stringa_stddev 2.12 ns 2.12 ns 10
Concat stringa by StrExpr to stringa_cv 7.30 % 7.30 % 10
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 114 ns 114 ns 10
Find concat three std::string_median 111 ns 111 ns 10
Find concat three std::string_stddev 6.06 ns 6.06 ns 10
Find concat three std::string_cv 5.33 % 5.33 % 10
Find concat three strexpr_mean 50.5 ns 50.5 ns 10
Find concat three strexpr_median 50.7 ns 50.7 ns 10
Find concat three strexpr_stddev 1.03 ns 1.03 ns 10
Find concat three strexpr_cv 2.04 % 2.04 % 10
Find concat three simstr_mean 53.3 ns 53.3 ns 10
Find concat three simstr_median 53.2 ns 53.2 ns 10
Find concat three simstr_stddev 0.963 ns 0.963 ns 10
Find concat three simstr_cv 1.81 % 1.80 % 10
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 7.14 ns 7.14 ns 10
BuildTypeNameStr 0/0_median 7.15 ns 7.15 ns 10
BuildTypeNameStr 0/0_stddev 0.166 ns 0.166 ns 10
BuildTypeNameStr 0/0_cv 2.32 % 2.32 % 10
BuildTypeNameExp 0/0_mean 6.74 ns 6.74 ns 10
BuildTypeNameExp 0/0_median 6.67 ns 6.67 ns 10
BuildTypeNameExp 0/0_stddev 0.366 ns 0.366 ns 10
BuildTypeNameExp 0/0_cv 5.43 % 5.43 % 10
BuildTypeNameSim 0/0_mean 5.10 ns 5.10 ns 10
BuildTypeNameSim 0/0_median 4.84 ns 4.84 ns 10
BuildTypeNameSim 0/0_stddev 0.629 ns 0.629 ns 10
BuildTypeNameSim 0/0_cv 12.33 % 12.33 % 10
BuildTypeNameStr 10/10_mean 56.6 ns 56.6 ns 10
BuildTypeNameStr 10/10_median 56.5 ns 56.5 ns 10
BuildTypeNameStr 10/10_stddev 1.58 ns 1.58 ns 10
BuildTypeNameStr 10/10_cv 2.78 % 2.78 % 10
BuildTypeNameExp 10/10_mean 30.1 ns 30.1 ns 10
BuildTypeNameExp 10/10_median 30.3 ns 30.3 ns 10
BuildTypeNameExp 10/10_stddev 0.682 ns 0.682 ns 10
BuildTypeNameExp 10/10_cv 2.26 % 2.26 % 10
BuildTypeNameSim 10/10_mean 22.6 ns 22.6 ns 10
BuildTypeNameSim 10/10_median 22.6 ns 22.6 ns 10
BuildTypeNameSim 10/10_stddev 0.532 ns 0.532 ns 10
BuildTypeNameSim 10/10_cv 2.35 % 2.35 % 10
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 205 ns 205 ns 10
Concat with replace str_median 200 ns 200 ns 10
Concat with replace str_stddev 12.4 ns 12.4 ns 10
Concat with replace str_cv 6.05 % 6.05 % 10
Concat with replace exp_mean 143 ns 143 ns 10
Concat with replace exp_median 142 ns 142 ns 10
Concat with replace exp_stddev 3.04 ns 3.04 ns 10
Concat with replace exp_cv 2.13 % 2.13 % 10
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.10 ns 1.10 ns 10
std::string e;_median 1.11 ns 1.11 ns 10
std::string e;_stddev 0.014 ns 0.014 ns 10
std::string e;_cv 1.28 % 1.28 % 10
std::string_view e;_mean 0.376 ns 0.376 ns 10
std::string_view e;_median 0.370 ns 0.370 ns 10
std::string_view e;_stddev 0.018 ns 0.018 ns 10
std::string_view e;_cv 4.81 % 4.81 % 10
ssa e;_mean 0.374 ns 0.374 ns 10
ssa e;_median 0.366 ns 0.366 ns 10
ssa e;_stddev 0.020 ns 0.020 ns 10
ssa e;_cv 5.33 % 5.33 % 10
stringa e;_mean 0.740 ns 0.740 ns 10
stringa e;_median 0.743 ns 0.743 ns 10
stringa e;_stddev 0.011 ns 0.011 ns 10
stringa e;_cv 1.48 % 1.48 % 10
lstringa<20> e;_mean 1.13 ns 1.13 ns 10
lstringa<20> e;_median 1.12 ns 1.12 ns 10
lstringa<20> e;_stddev 0.027 ns 0.027 ns 10
lstringa<20> e;_cv 2.40 % 2.40 % 10
lstringa<40> e;_mean 1.19 ns 1.19 ns 10
lstringa<40> e;_median 1.19 ns 1.19 ns 10
lstringa<40> e;_stddev 0.070 ns 0.070 ns 10
lstringa<40> e;_cv 5.92 % 5.92 % 10
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 1.83 ns 1.83 ns 10
std::string e = "Test text";_median 1.83 ns 1.83 ns 10
std::string e = "Test text";_stddev 0.026 ns 0.026 ns 10
std::string e = "Test text";_cv 1.44 % 1.44 % 10
std::string_view e = "Test text";_mean 0.738 ns 0.738 ns 10
std::string_view e = "Test text";_median 0.735 ns 0.735 ns 10
std::string_view e = "Test text";_stddev 0.022 ns 0.022 ns 10
std::string_view e = "Test text";_cv 2.98 % 2.98 % 10
ssa e = "Test text";_mean 0.368 ns 0.368 ns 10
ssa e = "Test text";_median 0.369 ns 0.369 ns 10
ssa e = "Test text";_stddev 0.007 ns 0.007 ns 10
ssa e = "Test text";_cv 2.03 % 2.03 % 10
stringa e = "Test text";_mean 1.12 ns 1.12 ns 10
stringa e = "Test text";_median 1.12 ns 1.12 ns 10
stringa e = "Test text";_stddev 0.023 ns 0.023 ns 10
stringa e = "Test text";_cv 2.09 % 2.09 % 10
lstringa<20> e = "Test text";_mean 1.89 ns 1.89 ns 10
lstringa<20> e = "Test text";_median 1.87 ns 1.87 ns 10
lstringa<20> e = "Test text";_stddev 0.054 ns 0.054 ns 10
lstringa<20> e = "Test text";_cv 2.88 % 2.88 % 10
lstringa<40> e = "Test text";_mean 1.90 ns 1.90 ns 10
lstringa<40> e = "Test text";_median 1.85 ns 1.85 ns 10
lstringa<40> e = "Test text";_stddev 0.115 ns 0.115 ns 10
lstringa<40> e = "Test text";_cv 6.05 % 6.05 % 10
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 18.7 ns 18.7 ns 10
std::string e = "123456789012345678901234567890";_median 18.4 ns 18.4 ns 10
std::string e = "123456789012345678901234567890";_stddev 1.00 ns 1.00 ns 10
std::string e = "123456789012345678901234567890";_cv 5.36 % 5.36 % 10
std::string_view e = "123456789012345678901234567890";_mean 0.741 ns 0.741 ns 10
std::string_view e = "123456789012345678901234567890";_median 0.732 ns 0.732 ns 10
std::string_view e = "123456789012345678901234567890";_stddev 0.016 ns 0.016 ns 10
std::string_view e = "123456789012345678901234567890";_cv 2.22 % 2.22 % 10
ssa e = "123456789012345678901234567890";_mean 0.369 ns 0.369 ns 10
ssa e = "123456789012345678901234567890";_median 0.369 ns 0.369 ns 10
ssa e = "123456789012345678901234567890";_stddev 0.007 ns 0.007 ns 10
ssa e = "123456789012345678901234567890";_cv 2.01 % 2.01 % 10
stringa e = "123456789012345678901234567890";_mean 1.11 ns 1.11 ns 10
stringa e = "123456789012345678901234567890";_median 1.11 ns 1.11 ns 10
stringa e = "123456789012345678901234567890";_stddev 0.015 ns 0.015 ns 10
stringa e = "123456789012345678901234567890";_cv 1.34 % 1.34 % 10
lstringa<20> e = "123456789012345678901234567890";_mean 20.5 ns 20.5 ns 10
lstringa<20> e = "123456789012345678901234567890";_median 20.3 ns 20.3 ns 10
lstringa<20> e = "123456789012345678901234567890";_stddev 0.731 ns 0.731 ns 10
lstringa<20> e = "123456789012345678901234567890";_cv 3.57 % 3.57 % 10
lstringa<40> e = "123456789012345678901234567890";_mean 2.55 ns 2.55 ns 10
lstringa<40> e = "123456789012345678901234567890";_median 2.54 ns 2.54 ns 10
lstringa<40> e = "123456789012345678901234567890";_stddev 0.055 ns 0.055 ns 10
lstringa<40> e = "123456789012345678901234567890";_cv 2.14 % 2.14 % 10
----- Create copy of Str with 9 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text"; auto c{e};_mean 5.14 ns 5.14 ns 10
std::string e = "Test text"; auto c{e};_median 5.14 ns 5.14 ns 10
std::string e = "Test text"; auto c{e};_stddev 0.102 ns 0.102 ns 10
std::string e = "Test text"; auto c{e};_cv 1.99 % 1.99 % 10
std::string_view e = "Test text"; auto c{e};_mean 0.388 ns 0.388 ns 10
std::string_view e = "Test text"; auto c{e};_median 0.382 ns 0.382 ns 10
std::string_view e = "Test text"; auto c{e};_stddev 0.028 ns 0.028 ns 10
std::string_view e = "Test text"; auto c{e};_cv 7.15 % 7.15 % 10
ssa e = "Test text"; auto c{e};_mean 0.367 ns 0.367 ns 10
ssa e = "Test text"; auto c{e};_median 0.365 ns 0.365 ns 10
ssa e = "Test text"; auto c{e};_stddev 0.008 ns 0.008 ns 10
ssa e = "Test text"; auto c{e};_cv 2.30 % 2.30 % 10
stringa e = "Test text"; auto c{e};_mean 1.10 ns 1.10 ns 10
stringa e = "Test text"; auto c{e};_median 1.10 ns 1.10 ns 10
stringa e = "Test text"; auto c{e};_stddev 0.022 ns 0.022 ns 10
stringa e = "Test text"; auto c{e};_cv 2.00 % 2.00 % 10
lstringa<20> e = "Test text"; auto c{e};_mean 4.38 ns 4.38 ns 10
lstringa<20> e = "Test text"; auto c{e};_median 4.38 ns 4.38 ns 10
lstringa<20> e = "Test text"; auto c{e};_stddev 0.075 ns 0.075 ns 10
lstringa<20> e = "Test text"; auto c{e};_cv 1.71 % 1.71 % 10
lstringa<40> e = "Test text"; auto c{e};_mean 4.52 ns 4.52 ns 10
lstringa<40> e = "Test text"; auto c{e};_median 4.47 ns 4.47 ns 10
lstringa<40> e = "Test text"; auto c{e};_stddev 0.146 ns 0.146 ns 10
lstringa<40> e = "Test text"; auto c{e};_cv 3.23 % 3.23 % 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 18.9 ns 18.9 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_median 18.8 ns 18.8 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.425 ns 0.425 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_cv 2.25 % 2.25 % 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.733 ns 0.733 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.731 ns 0.731 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.009 ns 0.009 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.18 % 1.18 % 10
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.367 ns 0.367 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.368 ns 0.368 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.006 ns 0.006 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.53 % 1.53 % 10
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.15 ns 1.15 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.12 ns 1.12 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.075 ns 0.075 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_cv 6.49 % 6.49 % 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 19.9 ns 19.9 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 20.0 ns 20.0 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.678 ns 0.678 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 3.40 % 3.40 % 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.50 ns 4.50 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.45 ns 4.45 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.240 ns 0.240 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 5.33 % 5.33 % 10
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 6.71 ns 6.71 ns 10
std::string::find;_median 6.70 ns 6.70 ns 10
std::string::find;_stddev 0.084 ns 0.084 ns 10
std::string::find;_cv 1.26 % 1.26 % 10
std::string_view::find;_mean 7.24 ns 7.24 ns 10
std::string_view::find;_median 7.15 ns 7.15 ns 10
std::string_view::find;_stddev 0.323 ns 0.323 ns 10
std::string_view::find;_cv 4.46 % 4.46 % 10
ssa::find;_mean 6.72 ns 6.72 ns 10
ssa::find;_median 6.75 ns 6.75 ns 10
ssa::find;_stddev 0.141 ns 0.141 ns 10
ssa::find;_cv 2.10 % 2.10 % 10
stringa::find;_mean 7.59 ns 7.59 ns 10
stringa::find;_median 7.50 ns 7.50 ns 10
stringa::find;_stddev 0.327 ns 0.327 ns 10
stringa::find;_cv 4.30 % 4.30 % 10
lstringa<20>::find;_mean 6.27 ns 6.27 ns 10
lstringa<20>::find;_median 6.29 ns 6.29 ns 10
lstringa<20>::find;_stddev 0.110 ns 0.110 ns 10
lstringa<20>::find;_cv 1.76 % 1.76 % 10
lstringa<40>::find;_mean 6.32 ns 6.32 ns 10
lstringa<40>::find;_median 6.31 ns 6.31 ns 10
lstringa<40>::find;_stddev 0.124 ns 0.124 ns 10
lstringa<40>::find;_cv 1.97 % 1.97 % 10
------- Copy not literal Str with N symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string copy{str_with_len_N};/15_mean 4.85 ns 4.85 ns 10
std::string copy{str_with_len_N};/15_median 4.81 ns 4.81 ns 10
std::string copy{str_with_len_N};/15_stddev 0.104 ns 0.104 ns 10
std::string copy{str_with_len_N};/15_cv 2.15 % 2.16 % 10
std::string copy{str_with_len_N};/16_mean 22.2 ns 22.2 ns 10
std::string copy{str_with_len_N};/16_median 22.2 ns 22.2 ns 10
std::string copy{str_with_len_N};/16_stddev 0.305 ns 0.305 ns 10
std::string copy{str_with_len_N};/16_cv 1.38 % 1.38 % 10
std::string copy{str_with_len_N};/23_mean 22.2 ns 22.2 ns 10
std::string copy{str_with_len_N};/23_median 22.3 ns 22.3 ns 10
std::string copy{str_with_len_N};/23_stddev 0.484 ns 0.484 ns 10
std::string copy{str_with_len_N};/23_cv 2.18 % 2.18 % 10
std::string copy{str_with_len_N};/24_mean 24.0 ns 24.0 ns 10
std::string copy{str_with_len_N};/24_median 23.6 ns 23.6 ns 10
std::string copy{str_with_len_N};/24_stddev 1.77 ns 1.77 ns 10
std::string copy{str_with_len_N};/24_cv 7.39 % 7.39 % 10
std::string copy{str_with_len_N};/32_mean 23.4 ns 23.4 ns 10
std::string copy{str_with_len_N};/32_median 22.5 ns 22.5 ns 10
std::string copy{str_with_len_N};/32_stddev 1.94 ns 1.94 ns 10
std::string copy{str_with_len_N};/32_cv 8.32 % 8.32 % 10
std::string copy{str_with_len_N};/64_mean 22.0 ns 22.0 ns 10
std::string copy{str_with_len_N};/64_median 21.9 ns 21.9 ns 10
std::string copy{str_with_len_N};/64_stddev 0.465 ns 0.464 ns 10
std::string copy{str_with_len_N};/64_cv 2.11 % 2.11 % 10
std::string copy{str_with_len_N};/128_mean 23.5 ns 23.5 ns 10
std::string copy{str_with_len_N};/128_median 23.4 ns 23.4 ns 10
std::string copy{str_with_len_N};/128_stddev 0.398 ns 0.398 ns 10
std::string copy{str_with_len_N};/128_cv 1.70 % 1.70 % 10
std::string copy{str_with_len_N};/256_mean 28.6 ns 28.6 ns 10
std::string copy{str_with_len_N};/256_median 28.5 ns 28.5 ns 10
std::string copy{str_with_len_N};/256_stddev 1.01 ns 1.01 ns 10
std::string copy{str_with_len_N};/256_cv 3.52 % 3.52 % 10
std::string copy{str_with_len_N};/512_mean 28.7 ns 28.7 ns 10
std::string copy{str_with_len_N};/512_median 27.9 ns 27.9 ns 10
std::string copy{str_with_len_N};/512_stddev 2.24 ns 2.24 ns 10
std::string copy{str_with_len_N};/512_cv 7.82 % 7.82 % 10
std::string copy{str_with_len_N};/1024_mean 35.9 ns 35.9 ns 10
std::string copy{str_with_len_N};/1024_median 35.4 ns 35.4 ns 10
std::string copy{str_with_len_N};/1024_stddev 2.19 ns 2.19 ns 10
std::string copy{str_with_len_N};/1024_cv 6.10 % 6.10 % 10
std::string copy{str_with_len_N};/2048_mean 119 ns 119 ns 10
std::string copy{str_with_len_N};/2048_median 119 ns 119 ns 10
std::string copy{str_with_len_N};/2048_stddev 7.65 ns 7.65 ns 10
std::string copy{str_with_len_N};/2048_cv 6.43 % 6.43 % 10
std::string copy{str_with_len_N};/4096_mean 150 ns 150 ns 10
std::string copy{str_with_len_N};/4096_median 152 ns 152 ns 10
std::string copy{str_with_len_N};/4096_stddev 8.20 ns 8.20 ns 10
std::string copy{str_with_len_N};/4096_cv 5.45 % 5.45 % 10
stringa copy{str_with_len_N};/15_mean 1.10 ns 1.10 ns 10
stringa copy{str_with_len_N};/15_median 1.10 ns 1.10 ns 10
stringa copy{str_with_len_N};/15_stddev 0.012 ns 0.012 ns 10
stringa copy{str_with_len_N};/15_cv 1.07 % 1.07 % 10
stringa copy{str_with_len_N};/16_mean 1.10 ns 1.10 ns 10
stringa copy{str_with_len_N};/16_median 1.09 ns 1.09 ns 10
stringa copy{str_with_len_N};/16_stddev 0.019 ns 0.019 ns 10
stringa copy{str_with_len_N};/16_cv 1.77 % 1.77 % 10
stringa copy{str_with_len_N};/23_mean 1.16 ns 1.16 ns 10
stringa copy{str_with_len_N};/23_median 1.15 ns 1.15 ns 10
stringa copy{str_with_len_N};/23_stddev 0.056 ns 0.056 ns 10
stringa copy{str_with_len_N};/23_cv 4.85 % 4.85 % 10
stringa copy{str_with_len_N};/24_mean 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/24_median 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/24_stddev 0.056 ns 0.056 ns 10
stringa copy{str_with_len_N};/24_cv 0.35 % 0.35 % 10
stringa copy{str_with_len_N};/32_mean 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/32_median 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/32_stddev 0.059 ns 0.059 ns 10
stringa copy{str_with_len_N};/32_cv 0.37 % 0.37 % 10
stringa copy{str_with_len_N};/64_mean 16.3 ns 16.3 ns 10
stringa copy{str_with_len_N};/64_median 16.2 ns 16.2 ns 10
stringa copy{str_with_len_N};/64_stddev 0.429 ns 0.429 ns 10
stringa copy{str_with_len_N};/64_cv 2.64 % 2.64 % 10
stringa copy{str_with_len_N};/128_mean 16.3 ns 16.3 ns 10
stringa copy{str_with_len_N};/128_median 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/128_stddev 0.656 ns 0.656 ns 10
stringa copy{str_with_len_N};/128_cv 4.02 % 4.02 % 10
stringa copy{str_with_len_N};/256_mean 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/256_median 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/256_stddev 0.084 ns 0.084 ns 10
stringa copy{str_with_len_N};/256_cv 0.52 % 0.52 % 10
stringa copy{str_with_len_N};/512_mean 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/512_median 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/512_stddev 0.114 ns 0.114 ns 10
stringa copy{str_with_len_N};/512_cv 0.72 % 0.72 % 10
stringa copy{str_with_len_N};/1024_mean 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/1024_median 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/1024_stddev 0.095 ns 0.095 ns 10
stringa copy{str_with_len_N};/1024_cv 0.59 % 0.59 % 10
stringa copy{str_with_len_N};/2048_mean 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/2048_median 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/2048_stddev 0.318 ns 0.318 ns 10
stringa copy{str_with_len_N};/2048_cv 1.98 % 1.98 % 10
stringa copy{str_with_len_N};/4096_mean 16.2 ns 16.2 ns 10
stringa copy{str_with_len_N};/4096_median 16.0 ns 16.0 ns 10
stringa copy{str_with_len_N};/4096_stddev 0.389 ns 0.389 ns 10
stringa copy{str_with_len_N};/4096_cv 2.41 % 2.41 % 10
lstringa<16> copy{str_with_len_N};/15_mean 4.49 ns 4.49 ns 10
lstringa<16> copy{str_with_len_N};/15_median 4.45 ns 4.45 ns 10
lstringa<16> copy{str_with_len_N};/15_stddev 0.122 ns 0.122 ns 10
lstringa<16> copy{str_with_len_N};/15_cv 2.71 % 2.71 % 10
lstringa<16> copy{str_with_len_N};/16_mean 4.67 ns 4.67 ns 10
lstringa<16> copy{str_with_len_N};/16_median 4.54 ns 4.54 ns 10
lstringa<16> copy{str_with_len_N};/16_stddev 0.301 ns 0.301 ns 10
lstringa<16> copy{str_with_len_N};/16_cv 6.45 % 6.45 % 10
lstringa<16> copy{str_with_len_N};/23_mean 4.62 ns 4.62 ns 10
lstringa<16> copy{str_with_len_N};/23_median 4.45 ns 4.45 ns 10
lstringa<16> copy{str_with_len_N};/23_stddev 0.370 ns 0.370 ns 10
lstringa<16> copy{str_with_len_N};/23_cv 8.01 % 8.01 % 10
lstringa<16> copy{str_with_len_N};/24_mean 23.8 ns 23.8 ns 10
lstringa<16> copy{str_with_len_N};/24_median 23.6 ns 23.6 ns 10
lstringa<16> copy{str_with_len_N};/24_stddev 0.619 ns 0.619 ns 10
lstringa<16> copy{str_with_len_N};/24_cv 2.61 % 2.61 % 10
lstringa<16> copy{str_with_len_N};/32_mean 23.5 ns 23.5 ns 10
lstringa<16> copy{str_with_len_N};/32_median 23.4 ns 23.4 ns 10
lstringa<16> copy{str_with_len_N};/32_stddev 0.921 ns 0.921 ns 10
lstringa<16> copy{str_with_len_N};/32_cv 3.92 % 3.92 % 10
lstringa<16> copy{str_with_len_N};/64_mean 25.2 ns 25.2 ns 10
lstringa<16> copy{str_with_len_N};/64_median 24.9 ns 24.9 ns 10
lstringa<16> copy{str_with_len_N};/64_stddev 1.48 ns 1.48 ns 10
lstringa<16> copy{str_with_len_N};/64_cv 5.85 % 5.85 % 10
lstringa<16> copy{str_with_len_N};/128_mean 25.2 ns 25.2 ns 10
lstringa<16> copy{str_with_len_N};/128_median 25.1 ns 25.1 ns 10
lstringa<16> copy{str_with_len_N};/128_stddev 0.499 ns 0.499 ns 10
lstringa<16> copy{str_with_len_N};/128_cv 1.98 % 1.98 % 10
lstringa<16> copy{str_with_len_N};/256_mean 27.8 ns 27.8 ns 10
lstringa<16> copy{str_with_len_N};/256_median 27.0 ns 27.0 ns 10
lstringa<16> copy{str_with_len_N};/256_stddev 2.11 ns 2.11 ns 10
lstringa<16> copy{str_with_len_N};/256_cv 7.59 % 7.59 % 10
lstringa<16> copy{str_with_len_N};/512_mean 30.4 ns 30.4 ns 10
lstringa<16> copy{str_with_len_N};/512_median 30.2 ns 30.2 ns 10
lstringa<16> copy{str_with_len_N};/512_stddev 2.08 ns 2.08 ns 10
lstringa<16> copy{str_with_len_N};/512_cv 6.86 % 6.86 % 10
lstringa<16> copy{str_with_len_N};/1024_mean 95.7 ns 95.7 ns 10
lstringa<16> copy{str_with_len_N};/1024_median 94.2 ns 94.2 ns 10
lstringa<16> copy{str_with_len_N};/1024_stddev 9.99 ns 9.99 ns 10
lstringa<16> copy{str_with_len_N};/1024_cv 10.44 % 10.44 % 10
lstringa<16> copy{str_with_len_N};/2048_mean 122 ns 122 ns 10
lstringa<16> copy{str_with_len_N};/2048_median 116 ns 116 ns 10
lstringa<16> copy{str_with_len_N};/2048_stddev 15.7 ns 15.7 ns 10
lstringa<16> copy{str_with_len_N};/2048_cv 12.89 % 12.89 % 10
lstringa<16> copy{str_with_len_N};/4096_mean 128 ns 128 ns 10
lstringa<16> copy{str_with_len_N};/4096_median 128 ns 128 ns 10
lstringa<16> copy{str_with_len_N};/4096_stddev 9.83 ns 9.83 ns 10
lstringa<16> copy{str_with_len_N};/4096_cv 7.70 % 7.70 % 10
lstringa<512> copy{str_with_len_N};/15_mean 4.94 ns 4.94 ns 10
lstringa<512> copy{str_with_len_N};/15_median 4.86 ns 4.86 ns 10
lstringa<512> copy{str_with_len_N};/15_stddev 0.206 ns 0.206 ns 10
lstringa<512> copy{str_with_len_N};/15_cv 4.18 % 4.18 % 10
lstringa<512> copy{str_with_len_N};/16_mean 5.13 ns 5.13 ns 10
lstringa<512> copy{str_with_len_N};/16_median 4.90 ns 4.90 ns 10
lstringa<512> copy{str_with_len_N};/16_stddev 0.433 ns 0.433 ns 10
lstringa<512> copy{str_with_len_N};/16_cv 8.44 % 8.44 % 10
lstringa<512> copy{str_with_len_N};/23_mean 4.86 ns 4.86 ns 10
lstringa<512> copy{str_with_len_N};/23_median 4.80 ns 4.80 ns 10
lstringa<512> copy{str_with_len_N};/23_stddev 0.181 ns 0.181 ns 10
lstringa<512> copy{str_with_len_N};/23_cv 3.72 % 3.72 % 10
lstringa<512> copy{str_with_len_N};/24_mean 4.91 ns 4.91 ns 10
lstringa<512> copy{str_with_len_N};/24_median 4.87 ns 4.87 ns 10
lstringa<512> copy{str_with_len_N};/24_stddev 0.298 ns 0.298 ns 10
lstringa<512> copy{str_with_len_N};/24_cv 6.07 % 6.07 % 10
lstringa<512> copy{str_with_len_N};/32_mean 4.56 ns 4.56 ns 10
lstringa<512> copy{str_with_len_N};/32_median 4.49 ns 4.49 ns 10
lstringa<512> copy{str_with_len_N};/32_stddev 0.199 ns 0.199 ns 10
lstringa<512> copy{str_with_len_N};/32_cv 4.37 % 4.37 % 10
lstringa<512> copy{str_with_len_N};/64_mean 5.95 ns 5.95 ns 10
lstringa<512> copy{str_with_len_N};/64_median 5.90 ns 5.90 ns 10
lstringa<512> copy{str_with_len_N};/64_stddev 0.139 ns 0.139 ns 10
lstringa<512> copy{str_with_len_N};/64_cv 2.33 % 2.33 % 10
lstringa<512> copy{str_with_len_N};/128_mean 6.86 ns 6.86 ns 10
lstringa<512> copy{str_with_len_N};/128_median 6.83 ns 6.83 ns 10
lstringa<512> copy{str_with_len_N};/128_stddev 0.592 ns 0.592 ns 10
lstringa<512> copy{str_with_len_N};/128_cv 8.63 % 8.63 % 10
lstringa<512> copy{str_with_len_N};/256_mean 17.1 ns 17.1 ns 10
lstringa<512> copy{str_with_len_N};/256_median 17.1 ns 17.1 ns 10
lstringa<512> copy{str_with_len_N};/256_stddev 0.093 ns 0.093 ns 10
lstringa<512> copy{str_with_len_N};/256_cv 0.54 % 0.54 % 10
lstringa<512> copy{str_with_len_N};/512_mean 10.3 ns 10.3 ns 10
lstringa<512> copy{str_with_len_N};/512_median 10.2 ns 10.2 ns 10
lstringa<512> copy{str_with_len_N};/512_stddev 0.279 ns 0.279 ns 10
lstringa<512> copy{str_with_len_N};/512_cv 2.70 % 2.70 % 10
lstringa<512> copy{str_with_len_N};/1024_mean 95.0 ns 95.0 ns 10
lstringa<512> copy{str_with_len_N};/1024_median 95.5 ns 95.5 ns 10
lstringa<512> copy{str_with_len_N};/1024_stddev 9.93 ns 9.93 ns 10
lstringa<512> copy{str_with_len_N};/1024_cv 10.45 % 10.45 % 10
lstringa<512> copy{str_with_len_N};/2048_mean 113 ns 113 ns 10
lstringa<512> copy{str_with_len_N};/2048_median 116 ns 116 ns 10
lstringa<512> copy{str_with_len_N};/2048_stddev 10.8 ns 10.8 ns 10
lstringa<512> copy{str_with_len_N};/2048_cv 9.59 % 9.59 % 10
lstringa<512> copy{str_with_len_N};/4096_mean 126 ns 126 ns 10
lstringa<512> copy{str_with_len_N};/4096_median 128 ns 128 ns 10
lstringa<512> copy{str_with_len_N};/4096_stddev 8.21 ns 8.21 ns 10
lstringa<512> copy{str_with_len_N};/4096_cv 6.53 % 6.53 % 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 26.9 ns 26.9 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 26.7 ns 26.7 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.568 ns 0.568 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 2.11 % 2.11 % 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 14.8 ns 14.8 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 14.8 ns 14.8 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.299 ns 0.299 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 2.03 % 2.03 % 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 12.9 ns 12.9 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.7 ns 12.7 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.683 ns 0.683 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 5.29 % 5.29 % 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 12.9 ns 12.9 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.8 ns 12.8 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.742 ns 0.742 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 5.76 % 5.76 % 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 12.3 ns 12.3 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.2 ns 12.2 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.142 ns 0.142 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.15 % 1.15 % 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 23.5 ns 23.5 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 23.3 ns 23.3 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.514 ns 0.514 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 2.19 % 2.19 % 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 9.63 ns 9.63 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 9.65 ns 9.65 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.105 ns 0.105 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 1.09 % 1.09 % 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.6 ns 12.6 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.6 ns 12.6 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.271 ns 0.271 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.14 % 2.14 % 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.6 ns 12.6 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.4 ns 12.4 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.395 ns 0.395 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.15 % 3.15 % 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.5 ns 12.5 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.4 ns 12.4 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.234 ns 0.234 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.88 % 1.88 % 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 28.5 ns 28.5 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 28.3 ns 28.3 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.918 ns 0.918 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 3.23 % 3.23 % 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 19.6 ns 19.6 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 18.9 ns 18.9 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 1.59 ns 1.59 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 8.11 % 8.10 % 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 15.2 ns 15.2 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 15.2 ns 15.2 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.487 ns 0.487 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 3.20 % 3.20 % 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 64.1 ns 64.1 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 64.5 ns 64.5 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 1.77 ns 1.77 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 2.76 % 2.76 % 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 24.4 ns 24.4 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 24.2 ns 24.2 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 0.619 ns 0.619 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 2.54 % 2.54 % 10
ssa s = "1234.567e10"; double res = *s.to_double()_mean 26.1 ns 26.1 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_median 25.8 ns 25.8 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.875 ns 0.875 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_cv 3.35 % 3.35 % 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 1351 ns 1351 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_median 1339 ns 1339 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 40.9 ns 40.9 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 3.03 % 3.03 % 10
std::string str; ... str += "abbaabbaabbaabba";_mean 375 ns 375 ns 10
std::string str; ... str += "abbaabbaabbaabba";_median 382 ns 382 ns 10
std::string str; ... str += "abbaabbaabbaabba";_stddev 20.0 ns 20.0 ns 10
std::string str; ... str += "abbaabbaabbaabba";_cv 5.34 % 5.34 % 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 411 ns 411 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 408 ns 408 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 43.5 ns 43.5 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 10.59 % 10.59 % 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 253 ns 253 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 250 ns 250 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 12.7 ns 12.7 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 5.02 % 5.02 % 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 232 ns 232 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 228 ns 228 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 15.1 ns 15.1 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 6.50 % 6.50 % 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 147 ns 147 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 147 ns 147 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 2.10 ns 2.10 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 1.42 % 1.42 % 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 1370 ns 1370 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 1338 ns 1338 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 89.0 ns 89.0 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 6.50 % 6.50 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1263 ns 1263 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1261 ns 1261 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 16.1 ns 16.1 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 1.28 % 1.28 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 474 ns 474 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 476 ns 476 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 18.4 ns 18.4 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.89 % 3.89 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 331 ns 331 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 324 ns 324 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 17.3 ns 17.3 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.23 % 5.23 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 318 ns 318 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 316 ns 316 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 16.2 ns 16.2 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.08 % 5.08 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 235 ns 235 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 234 ns 234 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 7.14 ns 7.14 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.04 % 3.04 % 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 77708 ns 77708 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 75632 ns 75632 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 6322 ns 6322 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 8.14 % 8.14 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 72817 ns 72818 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 73025 ns 73025 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1332 ns 1332 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.83 % 1.83 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18621 ns 18621 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18304 ns 18304 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 932 ns 932 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 5.00 % 5.00 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18047 ns 18047 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17990 ns 17990 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 290 ns 290 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.61 % 1.61 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 15853 ns 15853 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 15657 ns 15657 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 450 ns 450 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.84 % 2.84 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16648 ns 16648 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16668 ns 16668 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 232 ns 232 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.39 % 1.39 % 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 1377 ns 1377 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_median 1359 ns 1359 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_stddev 47.2 ns 47.2 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_cv 3.43 % 3.43 % 10
std::string str; ... str += str_var1 + str_var2;_mean 1379 ns 1379 ns 10
std::string str; ... str += str_var1 + str_var2;_median 1380 ns 1380 ns 10
std::string str; ... str += str_var1 + str_var2;_stddev 24.7 ns 24.7 ns 10
std::string str; ... str += str_var1 + str_var2;_cv 1.79 % 1.79 % 10
lstringa<16> str; ... str += str_var1 + str_var2;_mean 525 ns 525 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_median 526 ns 526 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 19.4 ns 19.4 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_cv 3.70 % 3.70 % 10
lstringa<128> str; ... str += str_var1 + str_var2;_mean 429 ns 429 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_median 424 ns 424 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 15.2 ns 15.2 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_cv 3.56 % 3.56 % 10
lstringa<512> str; ... str += str_var1 + str_var2;_mean 398 ns 398 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_median 384 ns 384 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 28.4 ns 28.4 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_cv 7.12 % 7.12 % 10
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 301 ns 301 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_median 292 ns 292 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 20.7 ns 20.7 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 6.87 % 6.87 % 10
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 3091 ns 3091 ns 10
std::stringstream str; str << "test = " << k << " times";_median 3040 ns 3040 ns 10
std::stringstream str; str << "test = " << k << " times";_stddev 215 ns 215 ns 10
std::stringstream str; str << "test = " << k << " times";_cv 6.97 % 6.97 % 10
std::string str = "test = " + std::to_string(k) + " times";_mean 470 ns 470 ns 10
std::string str = "test = " + std::to_string(k) + " times";_median 469 ns 469 ns 10
std::string str = "test = " + std::to_string(k) + " times";_stddev 6.64 ns 6.64 ns 10
std::string str = "test = " + std::to_string(k) + " times";_cv 1.41 % 1.41 % 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 1391 ns 1391 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 1382 ns 1382 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 36.8 ns 36.8 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 2.65 % 2.65 % 10
std::string str = std::format("test = {} times", k);_mean 1166 ns 1166 ns 10
std::string str = std::format("test = {} times", k);_median 1168 ns 1168 ns 10
std::string str = std::format("test = {} times", k);_stddev 28.8 ns 28.8 ns 10
std::string str = std::format("test = {} times", k);_cv 2.47 % 2.47 % 10
lstringa<8> str; str.format("test = {} times", k);_mean 1381 ns 1381 ns 10
lstringa<8> str; str.format("test = {} times", k);_median 1368 ns 1368 ns 10
lstringa<8> str; str.format("test = {} times", k);_stddev 28.1 ns 28.1 ns 10
lstringa<8> str; str.format("test = {} times", k);_cv 2.04 % 2.04 % 10
lstringa<32> str; str.format("test = {} times", k);_mean 1111 ns 1111 ns 10
lstringa<32> str; str.format("test = {} times", k);_median 1100 ns 1100 ns 10
lstringa<32> str; str.format("test = {} times", k);_stddev 74.5 ns 74.5 ns 10
lstringa<32> str; str.format("test = {} times", k);_cv 6.71 % 6.71 % 10
lstringa<8> str = "test = " + k + " times";_mean 288 ns 288 ns 10
lstringa<8> str = "test = " + k + " times";_median 291 ns 291 ns 10
lstringa<8> str = "test = " + k + " times";_stddev 8.19 ns 8.19 ns 10
lstringa<8> str = "test = " + k + " times";_cv 2.84 % 2.84 % 10
lstringa<32> str = "test = " + k + " times";_mean 155 ns 155 ns 10
lstringa<32> str = "test = " + k + " times";_median 154 ns 154 ns 10
lstringa<32> str = "test = " + k + " times";_stddev 3.45 ns 3.45 ns 10
lstringa<32> str = "test = " + k + " times";_cv 2.23 % 2.23 % 10
stringa str = "test = " + k + " times";_mean 146 ns 146 ns 10
stringa str = "test = " + k + " times";_median 146 ns 146 ns 10
stringa str = "test = " + k + " times";_stddev 3.24 ns 3.24 ns 10
stringa str = "test = " + k + " times";_cv 2.23 % 2.23 % 10
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 271 ns 271 ns 10
std::string::find + substr + std::strtol_median 268 ns 268 ns 10
std::string::find + substr + std::strtol_stddev 13.3 ns 13.3 ns 10
std::string::find + substr + std::strtol_cv 4.90 % 4.90 % 10
ssa::splitter + ssa::as_int_mean 162 ns 162 ns 10
ssa::splitter + ssa::as_int_median 161 ns 161 ns 10
ssa::splitter + ssa::as_int_stddev 8.03 ns 8.03 ns 10
ssa::splitter + ssa::as_int_cv 4.96 % 4.96 % 10
ssa::splitf + functor_mean 212 ns 212 ns 10
ssa::splitf + functor_median 207 ns 207 ns 10
ssa::splitf + functor_stddev 13.9 ns 13.9 ns 10
ssa::splitf + functor_cv 6.55 % 6.55 % 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 882 ns 882 ns 10
Naive (and wrong) replace symbols with std::string find + replace_median 867 ns 867 ns 10
Naive (and wrong) replace symbols with std::string find + replace_stddev 54.5 ns 54.5 ns 10
Naive (and wrong) replace symbols with std::string find + replace_cv 6.18 % 6.18 % 10
replace symbols with std::string find_first_of + replace_mean 2453 ns 2453 ns 10
replace symbols with std::string find_first_of + replace_median 2406 ns 2406 ns 10
replace symbols with std::string find_first_of + replace_stddev 108 ns 108 ns 10
replace symbols with std::string find_first_of + replace_cv 4.42 % 4.42 % 10
replace symbols with std::string_view find_first_of + copy_mean 1112 ns 1112 ns 10
replace symbols with std::string_view find_first_of + copy_median 1108 ns 1108 ns 10
replace symbols with std::string_view find_first_of + copy_stddev 34.9 ns 34.9 ns 10
replace symbols with std::string_view find_first_of + copy_cv 3.14 % 3.14 % 10
replace runtime symbols with string expressions and without remembering all search results_mean 1268 ns 1268 ns 10
replace runtime symbols with string expressions and without remembering all search results_median 1267 ns 1267 ns 10
replace runtime symbols with string expressions and without remembering all search results_stddev 28.8 ns 28.8 ns 10
replace runtime symbols with string expressions and without remembering all search results_cv 2.27 % 2.27 % 10
replace runtime symbols with simstr and memorization of all search results_mean 1058 ns 1058 ns 10
replace runtime symbols with simstr and memorization of all search results_median 1055 ns 1055 ns 10
replace runtime symbols with simstr and memorization of all search results_stddev 20.8 ns 20.8 ns 10
replace runtime symbols with simstr and memorization of all search results_cv 1.97 % 1.97 % 10
replace const symbols with string expressions and without remembering all search results_mean 1016 ns 1016 ns 10
replace const symbols with string expressions and without remembering all search results_median 1016 ns 1016 ns 10
replace const symbols with string expressions and without remembering all search results_stddev 17.7 ns 17.7 ns 10
replace const symbols with string expressions and without remembering all search results_cv 1.74 % 1.74 % 10
replace const symbols with string expressions and memorization of all search results_mean 906 ns 906 ns 10
replace const symbols with string expressions and memorization of all search results_median 891 ns 891 ns 10
replace const symbols with string expressions and memorization of all search results_stddev 40.5 ns 40.5 ns 10
replace const symbols with string expressions and memorization of all search results_cv 4.47 % 4.47 % 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 165 ns 165 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_median 165 ns 165 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 3.15 ns 3.15 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_cv 1.91 % 1.91 % 10
Short replace symbols with std::string find_first_of + replace_mean 317 ns 317 ns 10
Short replace symbols with std::string find_first_of + replace_median 317 ns 317 ns 10
Short replace symbols with std::string find_first_of + replace_stddev 7.44 ns 7.44 ns 10
Short replace symbols with std::string find_first_of + replace_cv 2.35 % 2.35 % 10
Short replace symbols with std::string_view find_first_of + copy_mean 164 ns 164 ns 10
Short replace symbols with std::string_view find_first_of + copy_median 163 ns 163 ns 10
Short replace symbols with std::string_view find_first_of + copy_stddev 2.79 ns 2.79 ns 10
Short replace symbols with std::string_view find_first_of + copy_cv 1.70 % 1.70 % 10
Short replace runtime symbols with string expressions and without remembering all search results_mean 174 ns 174 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_median 171 ns 171 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_stddev 7.29 ns 7.29 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_cv 4.20 % 4.20 % 10
Short replace runtime symbols with simstr and memorization of all search results_mean 183 ns 183 ns 10
Short replace runtime symbols with simstr and memorization of all search results_median 182 ns 182 ns 10
Short replace runtime symbols with simstr and memorization of all search results_stddev 2.57 ns 2.57 ns 10
Short replace runtime symbols with simstr and memorization of all search results_cv 1.41 % 1.41 % 10
Short replace const symbols with string expressions and without remembering all search results_mean 134 ns 134 ns 10
Short replace const symbols with string expressions and without remembering all search results_median 132 ns 132 ns 10
Short replace const symbols with string expressions and without remembering all search results_stddev 5.80 ns 5.80 ns 10
Short replace const symbols with string expressions and without remembering all search results_cv 4.33 % 4.33 % 10
Short replace const symbols with string expressions and memorization of all search results_mean 150 ns 150 ns 10
Short replace const symbols with string expressions and memorization of all search results_median 150 ns 150 ns 10
Short replace const symbols with string expressions and memorization of all search results_stddev 3.30 ns 3.30 ns 10
Short replace const symbols with string expressions and memorization of all search results_cv 2.20 % 2.20 % 10
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 164 ns 164 ns 10
replace bb to ---- in std::string|64_median 163 ns 163 ns 10
replace bb to ---- in std::string|64_stddev 5.76 ns 5.76 ns 10
replace bb to ---- in std::string|64_cv 3.52 % 3.52 % 10
replace bb to ---- in std::string|256_mean 542 ns 542 ns 10
replace bb to ---- in std::string|256_median 536 ns 536 ns 10
replace bb to ---- in std::string|256_stddev 20.6 ns 20.6 ns 10
replace bb to ---- in std::string|256_cv 3.80 % 3.80 % 10
replace bb to ---- in std::string|512_mean 1016 ns 1016 ns 10
replace bb to ---- in std::string|512_median 1017 ns 1017 ns 10
replace bb to ---- in std::string|512_stddev 17.3 ns 17.3 ns 10
replace bb to ---- in std::string|512_cv 1.70 % 1.70 % 10
replace bb to ---- in std::string|1024_mean 2221 ns 2221 ns 10
replace bb to ---- in std::string|1024_median 2213 ns 2213 ns 10
replace bb to ---- in std::string|1024_stddev 56.0 ns 56.0 ns 10
replace bb to ---- in std::string|1024_cv 2.52 % 2.52 % 10
replace bb to ---- in std::string|2048_mean 6213 ns 6213 ns 10
replace bb to ---- in std::string|2048_median 6322 ns 6322 ns 10
replace bb to ---- in std::string|2048_stddev 498 ns 498 ns 10
replace bb to ---- in std::string|2048_cv 8.02 % 8.02 % 10
replace bb to ---- in lstringa<8>|64_mean 140 ns 140 ns 10
replace bb to ---- in lstringa<8>|64_median 133 ns 133 ns 10
replace bb to ---- in lstringa<8>|64_stddev 22.3 ns 22.3 ns 10
replace bb to ---- in lstringa<8>|64_cv 15.91 % 15.91 % 10
replace bb to ---- in lstringa<8>|256_mean 429 ns 429 ns 10
replace bb to ---- in lstringa<8>|256_median 431 ns 431 ns 10
replace bb to ---- in lstringa<8>|256_stddev 8.26 ns 8.26 ns 10
replace bb to ---- in lstringa<8>|256_cv 1.92 % 1.92 % 10
replace bb to ---- in lstringa<8>|512_mean 811 ns 811 ns 10
replace bb to ---- in lstringa<8>|512_median 811 ns 811 ns 10
replace bb to ---- in lstringa<8>|512_stddev 14.4 ns 14.4 ns 10
replace bb to ---- in lstringa<8>|512_cv 1.77 % 1.77 % 10
replace bb to ---- in lstringa<8>|1024_mean 1718 ns 1718 ns 10
replace bb to ---- in lstringa<8>|1024_median 1692 ns 1692 ns 10
replace bb to ---- in lstringa<8>|1024_stddev 57.5 ns 57.5 ns 10
replace bb to ---- in lstringa<8>|1024_cv 3.35 % 3.35 % 10
replace bb to ---- in lstringa<8>|2048_mean 3151 ns 3151 ns 10
replace bb to ---- in lstringa<8>|2048_median 3145 ns 3145 ns 10
replace bb to ---- in lstringa<8>|2048_stddev 73.6 ns 73.6 ns 10
replace bb to ---- in lstringa<8>|2048_cv 2.34 % 2.34 % 10
replace bb to ---- by init stringa|64_mean 95.8 ns 95.8 ns 10
replace bb to ---- by init stringa|64_median 96.2 ns 96.2 ns 10
replace bb to ---- by init stringa|64_stddev 3.25 ns 3.25 ns 10
replace bb to ---- by init stringa|64_cv 3.39 % 3.39 % 10
replace bb to ---- by init stringa|256_mean 303 ns 303 ns 10
replace bb to ---- by init stringa|256_median 299 ns 299 ns 10
replace bb to ---- by init stringa|256_stddev 12.9 ns 12.9 ns 10
replace bb to ---- by init stringa|256_cv 4.24 % 4.24 % 10
replace bb to ---- by init stringa|512_mean 731 ns 731 ns 10
replace bb to ---- by init stringa|512_median 710 ns 710 ns 10
replace bb to ---- by init stringa|512_stddev 52.1 ns 52.1 ns 10
replace bb to ---- by init stringa|512_cv 7.12 % 7.12 % 10
replace bb to ---- by init stringa|1024_mean 1576 ns 1576 ns 10
replace bb to ---- by init stringa|1024_median 1567 ns 1567 ns 10
replace bb to ---- by init stringa|1024_stddev 72.3 ns 72.3 ns 10
replace bb to ---- by init stringa|1024_cv 4.59 % 4.59 % 10
replace bb to ---- by init stringa|2048_mean 3037 ns 3037 ns 10
replace bb to ---- by init stringa|2048_median 3040 ns 3040 ns 10
replace bb to ---- by init stringa|2048_stddev 36.2 ns 36.2 ns 10
replace bb to ---- by init stringa|2048_cv 1.19 % 1.19 % 10
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 117 ns 117 ns 10
replace bb to -- in std::string|64_median 118 ns 118 ns 10
replace bb to -- in std::string|64_stddev 2.07 ns 2.07 ns 10
replace bb to -- in std::string|64_cv 1.76 % 1.76 % 10
replace bb to -- in std::string|256_mean 397 ns 397 ns 10
replace bb to -- in std::string|256_median 394 ns 394 ns 10
replace bb to -- in std::string|256_stddev 11.8 ns 11.8 ns 10
replace bb to -- in std::string|256_cv 2.97 % 2.97 % 10
replace bb to -- in std::string|512_mean 765 ns 765 ns 10
replace bb to -- in std::string|512_median 749 ns 749 ns 10
replace bb to -- in std::string|512_stddev 42.8 ns 42.8 ns 10
replace bb to -- in std::string|512_cv 5.60 % 5.60 % 10
replace bb to -- in std::string|1024_mean 1439 ns 1439 ns 10
replace bb to -- in std::string|1024_median 1431 ns 1431 ns 10
replace bb to -- in std::string|1024_stddev 25.0 ns 25.0 ns 10
replace bb to -- in std::string|1024_cv 1.74 % 1.74 % 10
replace bb to -- in std::string|2048_mean 2951 ns 2951 ns 10
replace bb to -- in std::string|2048_median 2922 ns 2922 ns 10
replace bb to -- in std::string|2048_stddev 128 ns 128 ns 10
replace bb to -- in std::string|2048_cv 4.33 % 4.33 % 10
replace bb to -- in lstringa<8>|64_mean 105 ns 105 ns 10
replace bb to -- in lstringa<8>|64_median 102 ns 102 ns 10
replace bb to -- in lstringa<8>|64_stddev 9.58 ns 9.58 ns 10
replace bb to -- in lstringa<8>|64_cv 9.15 % 9.15 % 10
replace bb to -- in lstringa<8>|256_mean 286 ns 286 ns 10
replace bb to -- in lstringa<8>|256_median 285 ns 285 ns 10
replace bb to -- in lstringa<8>|256_stddev 5.91 ns 5.91 ns 10
replace bb to -- in lstringa<8>|256_cv 2.06 % 2.06 % 10
replace bb to -- in lstringa<8>|512_mean 537 ns 537 ns 10
replace bb to -- in lstringa<8>|512_median 537 ns 537 ns 10
replace bb to -- in lstringa<8>|512_stddev 5.05 ns 5.05 ns 10
replace bb to -- in lstringa<8>|512_cv 0.94 % 0.94 % 10
replace bb to -- in lstringa<8>|1024_mean 1098 ns 1098 ns 10
replace bb to -- in lstringa<8>|1024_median 1095 ns 1095 ns 10
replace bb to -- in lstringa<8>|1024_stddev 19.3 ns 19.3 ns 10
replace bb to -- in lstringa<8>|1024_cv 1.76 % 1.76 % 10
replace bb to -- in lstringa<8>|2048_mean 2289 ns 2289 ns 10
replace bb to -- in lstringa<8>|2048_median 2325 ns 2325 ns 10
replace bb to -- in lstringa<8>|2048_stddev 170 ns 170 ns 10
replace bb to -- in lstringa<8>|2048_cv 7.40 % 7.40 % 10
replace bb to -- by init stringa|64_mean 84.6 ns 84.6 ns 10
replace bb to -- by init stringa|64_median 84.3 ns 84.3 ns 10
replace bb to -- by init stringa|64_stddev 2.02 ns 2.02 ns 10
replace bb to -- by init stringa|64_cv 2.39 % 2.39 % 10
replace bb to -- by init stringa|256_mean 246 ns 246 ns 10
replace bb to -- by init stringa|256_median 243 ns 243 ns 10
replace bb to -- by init stringa|256_stddev 11.1 ns 11.1 ns 10
replace bb to -- by init stringa|256_cv 4.51 % 4.51 % 10
replace bb to -- by init stringa|512_mean 442 ns 442 ns 10
replace bb to -- by init stringa|512_median 442 ns 442 ns 10
replace bb to -- by init stringa|512_stddev 9.69 ns 9.69 ns 10
replace bb to -- by init stringa|512_cv 2.19 % 2.19 % 10
replace bb to -- by init stringa|1024_mean 910 ns 910 ns 10
replace bb to -- by init stringa|1024_median 900 ns 900 ns 10
replace bb to -- by init stringa|1024_stddev 32.9 ns 32.9 ns 10
replace bb to -- by init stringa|1024_cv 3.61 % 3.61 % 10
replace bb to -- by init stringa|2048_mean 1788 ns 1788 ns 10
replace bb to -- by init stringa|2048_median 1763 ns 1763 ns 10
replace bb to -- by init stringa|2048_stddev 120 ns 120 ns 10
replace bb to -- by init stringa|2048_cv 6.73 % 6.73 % 10
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3707397 ns 3707403 ns 10
hashStrMapA<size_t> emplace & find stringa;_median 3683953 ns 3683963 ns 10
hashStrMapA<size_t> emplace & find stringa;_stddev 86427 ns 86424 ns 10
hashStrMapA<size_t> emplace & find stringa;_cv 2.33 % 2.33 % 10
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3464746 ns 3464760 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3473680 ns 3473696 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 56329 ns 56328 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 1.63 % 1.63 % 10
hashStrMapA<size_t> emplace & find ssa;_mean 3561410 ns 3561424 ns 10
hashStrMapA<size_t> emplace & find ssa;_median 3563255 ns 3563267 ns 10
hashStrMapA<size_t> emplace & find ssa;_stddev 48058 ns 48060 ns 10
hashStrMapA<size_t> emplace & find ssa;_cv 1.35 % 1.35 % 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 4072390 ns 4072404 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 4047024 ns 4047039 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 100400 ns 100400 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 2.47 % 2.47 % 10
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 719 ns 719 ns 10
Build func full name std::string;_median 711 ns 711 ns 10
Build func full name std::string;_stddev 23.0 ns 23.0 ns 10
Build func full name std::string;_cv 3.20 % 3.20 % 10
Build func full name std::string 1;_mean 808 ns 808 ns 10
Build func full name std::string 1;_median 808 ns 808 ns 10
Build func full name std::string 1;_stddev 16.9 ns 16.9 ns 10
Build func full name std::string 1;_cv 2.10 % 2.10 % 10
Build func full name std::stream;_mean 2560 ns 2560 ns 10
Build func full name std::stream;_median 2540 ns 2540 ns 10
Build func full name std::stream;_stddev 64.5 ns 64.5 ns 10
Build func full name std::stream;_cv 2.52 % 2.52 % 10
Build func full name stringa;_mean 532 ns 532 ns 10
Build func full name stringa;_median 529 ns 529 ns 10
Build func full name stringa;_stddev 31.7 ns 31.7 ns 10
Build func full name stringa;_cv 5.96 % 5.96 % 10
Build func full name stringa 1;_mean 669 ns 669 ns 10
Build func full name stringa 1;_median 645 ns 645 ns 10
Build func full name stringa 1;_stddev 49.9 ns 49.9 ns 10
Build func full name stringa 1;_cv 7.46 % 7.46 % 10