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

903 lines
134 KiB
Plaintext

2026-01-31T15:51:52+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.05, 0.01, 0.00
***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 199 ns 199 ns 10
Concat std::string and number by std to std::string_median 198 ns 198 ns 10
Concat std::string and number by std to std::string_stddev 4.25 ns 4.25 ns 10
Concat std::string and number by std to std::string_cv 2.13 % 2.13 % 10
Concat std::string and number by StrExpr to std::string_mean 94.7 ns 94.7 ns 10
Concat std::string and number by StrExpr to std::string_median 94.1 ns 94.1 ns 10
Concat std::string and number by StrExpr to std::string_stddev 2.48 ns 2.47 ns 10
Concat std::string and number by StrExpr to std::string_cv 2.61 % 2.61 % 10
Concat stringa and number by StrExpr to simstr::stringa_mean 71.6 ns 71.6 ns 10
Concat stringa and number by StrExpr to simstr::stringa_median 70.3 ns 70.3 ns 10
Concat stringa and number by StrExpr to simstr::stringa_stddev 3.32 ns 3.32 ns 10
Concat stringa and number by StrExpr to simstr::stringa_cv 4.63 % 4.63 % 10
Concat stringa and number by e_concat to simstr::stringa_mean 75.7 ns 75.7 ns 10
Concat stringa and number by e_concat to simstr::stringa_median 75.9 ns 75.9 ns 10
Concat stringa and number by e_concat to simstr::stringa_stddev 1.50 ns 1.50 ns 10
Concat stringa and number by e_concat to simstr::stringa_cv 1.98 % 1.98 % 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 643 ns 643 ns 10
Concat std::string and format hex number and literal to std::string_median 640 ns 640 ns 10
Concat std::string and format hex number and literal to std::string_stddev 25.1 ns 25.1 ns 10
Concat std::string and format hex number and literal to std::string_cv 3.90 % 3.90 % 10
std::format std::string and hex number by literal to std::string_mean 926 ns 926 ns 10
std::format std::string and hex number by literal to std::string_median 900 ns 900 ns 10
std::format std::string and hex number by literal to std::string_stddev 75.2 ns 75.2 ns 10
std::format std::string and hex number by literal to std::string_cv 8.12 % 8.12 % 10
Concat std::string and std::tochars and string to std::string_mean 175 ns 175 ns 10
Concat std::string and std::tochars and string to std::string_median 175 ns 175 ns 10
Concat std::string and std::tochars and string to std::string_stddev 1.43 ns 1.43 ns 10
Concat std::string and std::tochars and string to std::string_cv 0.82 % 0.82 % 10
Concat std::string and hex number and literal by StrExpr to std::string_mean 122 ns 122 ns 10
Concat std::string and hex number and literal by StrExpr to std::string_median 122 ns 122 ns 10
Concat std::string and hex number and literal by StrExpr to std::string_stddev 1.29 ns 1.29 ns 10
Concat std::string and hex number and literal by StrExpr to std::string_cv 1.06 % 1.06 % 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 120 ns 120 ns 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 120 ns 120 ns 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 1.75 ns 1.75 ns 10
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 1.46 % 1.46 % 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 127 ns 127 ns 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 126 ns 126 ns 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 3.36 ns 3.36 ns 10
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 2.66 % 2.66 % 10
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 181 ns 181 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 17.2 ns 17.2 ns 10
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 9.54 % 9.54 % 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 279 ns 279 ns 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 278 ns 278 ns 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 4.71 ns 4.71 ns 10
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 1.69 % 1.69 % 10
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 49.6 ns 49.6 ns 10
Concat std::string by std to std::string_median 49.8 ns 49.8 ns 10
Concat std::string by std to std::string_stddev 0.626 ns 0.626 ns 10
Concat std::string by std to std::string_cv 1.26 % 1.26 % 10
Concat std::string by StrExpr to std::string_mean 29.5 ns 29.5 ns 10
Concat std::string by StrExpr to std::string_median 29.6 ns 29.6 ns 10
Concat std::string by StrExpr to std::string_stddev 0.655 ns 0.655 ns 10
Concat std::string by StrExpr to std::string_cv 2.22 % 2.22 % 10
Concat stringa by StrExpr to stringa_mean 28.0 ns 28.0 ns 10
Concat stringa by StrExpr to stringa_median 27.4 ns 27.4 ns 10
Concat stringa by StrExpr to stringa_stddev 1.84 ns 1.84 ns 10
Concat stringa by StrExpr to stringa_cv 6.55 % 6.55 % 10
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 138 ns 138 ns 10
Find concat three std::string_median 133 ns 133 ns 10
Find concat three std::string_stddev 16.7 ns 16.7 ns 10
Find concat three std::string_cv 12.11 % 12.11 % 10
Find concat three strexpr_mean 41.0 ns 41.0 ns 10
Find concat three strexpr_median 40.9 ns 40.9 ns 10
Find concat three strexpr_stddev 1.02 ns 1.02 ns 10
Find concat three strexpr_cv 2.50 % 2.50 % 10
Find concat three simstr_mean 19.8 ns 19.8 ns 10
Find concat three simstr_median 19.8 ns 19.8 ns 10
Find concat three simstr_stddev 0.278 ns 0.278 ns 10
Find concat three simstr_cv 1.40 % 1.40 % 10
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 12.1 ns 12.1 ns 10
BuildTypeNameStr 0/0_median 11.6 ns 11.6 ns 10
BuildTypeNameStr 0/0_stddev 1.43 ns 1.43 ns 10
BuildTypeNameStr 0/0_cv 11.83 % 11.83 % 10
BuildTypeNameExp 0/0_mean 6.35 ns 6.35 ns 10
BuildTypeNameExp 0/0_median 6.34 ns 6.34 ns 10
BuildTypeNameExp 0/0_stddev 0.074 ns 0.074 ns 10
BuildTypeNameExp 0/0_cv 1.17 % 1.17 % 10
BuildTypeNameSim 0/0_mean 5.22 ns 5.22 ns 10
BuildTypeNameSim 0/0_median 5.16 ns 5.16 ns 10
BuildTypeNameSim 0/0_stddev 0.216 ns 0.216 ns 10
BuildTypeNameSim 0/0_cv 4.13 % 4.13 % 10
BuildTypeNameStr 10/10_mean 84.2 ns 84.2 ns 10
BuildTypeNameStr 10/10_median 84.1 ns 84.1 ns 10
BuildTypeNameStr 10/10_stddev 1.04 ns 1.04 ns 10
BuildTypeNameStr 10/10_cv 1.24 % 1.24 % 10
BuildTypeNameExp 10/10_mean 26.9 ns 26.9 ns 10
BuildTypeNameExp 10/10_median 26.8 ns 26.8 ns 10
BuildTypeNameExp 10/10_stddev 0.687 ns 0.687 ns 10
BuildTypeNameExp 10/10_cv 2.55 % 2.55 % 10
BuildTypeNameSim 10/10_mean 23.0 ns 23.0 ns 10
BuildTypeNameSim 10/10_median 23.0 ns 23.0 ns 10
BuildTypeNameSim 10/10_stddev 0.351 ns 0.351 ns 10
BuildTypeNameSim 10/10_cv 1.52 % 1.52 % 10
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 229 ns 229 ns 10
Concat with replace str_median 229 ns 229 ns 10
Concat with replace str_stddev 7.92 ns 7.92 ns 10
Concat with replace str_cv 3.46 % 3.46 % 10
Concat with replace exp_mean 131 ns 131 ns 10
Concat with replace exp_median 131 ns 131 ns 10
Concat with replace exp_stddev 3.30 ns 3.30 ns 10
Concat with replace exp_cv 2.52 % 2.52 % 10
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.13 ns 1.13 ns 10
std::string e;_median 1.10 ns 1.10 ns 10
std::string e;_stddev 0.095 ns 0.095 ns 10
std::string e;_cv 8.36 % 8.36 % 10
std::string_view e;_mean 0.750 ns 0.750 ns 10
std::string_view e;_median 0.736 ns 0.736 ns 10
std::string_view e;_stddev 0.038 ns 0.038 ns 10
std::string_view e;_cv 5.04 % 5.04 % 10
ssa e;_mean 0.181 ns 0.181 ns 10
ssa e;_median 0.182 ns 0.182 ns 10
ssa e;_stddev 0.002 ns 0.002 ns 10
ssa e;_cv 1.33 % 1.33 % 10
stringa e;_mean 0.731 ns 0.731 ns 10
stringa e;_median 0.734 ns 0.734 ns 10
stringa e;_stddev 0.010 ns 0.010 ns 10
stringa e;_cv 1.41 % 1.41 % 10
lstringa<20> e;_mean 1.11 ns 1.11 ns 10
lstringa<20> e;_median 1.10 ns 1.10 ns 10
lstringa<20> e;_stddev 0.032 ns 0.032 ns 10
lstringa<20> e;_cv 2.84 % 2.84 % 10
lstringa<40> e;_mean 1.11 ns 1.11 ns 10
lstringa<40> e;_median 1.10 ns 1.10 ns 10
lstringa<40> e;_stddev 0.031 ns 0.031 ns 10
lstringa<40> e;_cv 2.81 % 2.81 % 10
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 1.87 ns 1.87 ns 10
std::string e = "Test text";_median 1.83 ns 1.83 ns 10
std::string e = "Test text";_stddev 0.092 ns 0.092 ns 10
std::string e = "Test text";_cv 4.94 % 4.94 % 10
std::string_view e = "Test text";_mean 0.734 ns 0.734 ns 10
std::string_view e = "Test text";_median 0.731 ns 0.731 ns 10
std::string_view e = "Test text";_stddev 0.012 ns 0.012 ns 10
std::string_view e = "Test text";_cv 1.63 % 1.63 % 10
ssa e = "Test text";_mean 0.735 ns 0.735 ns 10
ssa e = "Test text";_median 0.728 ns 0.728 ns 10
ssa e = "Test text";_stddev 0.024 ns 0.024 ns 10
ssa e = "Test text";_cv 3.32 % 3.32 % 10
stringa e = "Test text";_mean 1.14 ns 1.14 ns 10
stringa e = "Test text";_median 1.12 ns 1.12 ns 10
stringa e = "Test text";_stddev 0.053 ns 0.053 ns 10
stringa e = "Test text";_cv 4.65 % 4.65 % 10
lstringa<20> e = "Test text";_mean 1.88 ns 1.88 ns 10
lstringa<20> e = "Test text";_median 1.85 ns 1.85 ns 10
lstringa<20> e = "Test text";_stddev 0.092 ns 0.092 ns 10
lstringa<20> e = "Test text";_cv 4.93 % 4.93 % 10
lstringa<40> e = "Test text";_mean 1.83 ns 1.83 ns 10
lstringa<40> e = "Test text";_median 1.83 ns 1.83 ns 10
lstringa<40> e = "Test text";_stddev 0.014 ns 0.014 ns 10
lstringa<40> e = "Test text";_cv 0.76 % 0.76 % 10
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 18.8 ns 18.8 ns 10
std::string e = "123456789012345678901234567890";_median 18.8 ns 18.8 ns 10
std::string e = "123456789012345678901234567890";_stddev 0.430 ns 0.430 ns 10
std::string e = "123456789012345678901234567890";_cv 2.29 % 2.29 % 10
std::string_view e = "123456789012345678901234567890";_mean 0.738 ns 0.738 ns 10
std::string_view e = "123456789012345678901234567890";_median 0.734 ns 0.734 ns 10
std::string_view e = "123456789012345678901234567890";_stddev 0.016 ns 0.016 ns 10
std::string_view e = "123456789012345678901234567890";_cv 2.13 % 2.13 % 10
ssa e = "123456789012345678901234567890";_mean 0.732 ns 0.732 ns 10
ssa e = "123456789012345678901234567890";_median 0.731 ns 0.731 ns 10
ssa e = "123456789012345678901234567890";_stddev 0.009 ns 0.009 ns 10
ssa e = "123456789012345678901234567890";_cv 1.20 % 1.20 % 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.024 ns 0.024 ns 10
stringa e = "123456789012345678901234567890";_cv 2.15 % 2.15 % 10
lstringa<20> e = "123456789012345678901234567890";_mean 21.2 ns 21.2 ns 10
lstringa<20> e = "123456789012345678901234567890";_median 21.5 ns 21.5 ns 10
lstringa<20> e = "123456789012345678901234567890";_stddev 1.32 ns 1.32 ns 10
lstringa<20> e = "123456789012345678901234567890";_cv 6.25 % 6.25 % 10
lstringa<40> e = "123456789012345678901234567890";_mean 1.85 ns 1.85 ns 10
lstringa<40> e = "123456789012345678901234567890";_median 1.83 ns 1.83 ns 10
lstringa<40> e = "123456789012345678901234567890";_stddev 0.070 ns 0.070 ns 10
lstringa<40> e = "123456789012345678901234567890";_cv 3.76 % 3.76 % 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 4.82 ns 4.82 ns 10
std::string e = "Test text"; auto c{e};_median 4.81 ns 4.81 ns 10
std::string e = "Test text"; auto c{e};_stddev 0.095 ns 0.095 ns 10
std::string e = "Test text"; auto c{e};_cv 1.96 % 1.96 % 10
std::string_view e = "Test text"; auto c{e};_mean 0.381 ns 0.381 ns 10
std::string_view e = "Test text"; auto c{e};_median 0.381 ns 0.381 ns 10
std::string_view e = "Test text"; auto c{e};_stddev 0.006 ns 0.006 ns 10
std::string_view e = "Test text"; auto c{e};_cv 1.63 % 1.63 % 10
ssa e = "Test text"; auto c{e};_mean 0.373 ns 0.373 ns 10
ssa e = "Test text"; auto c{e};_median 0.372 ns 0.372 ns 10
ssa e = "Test text"; auto c{e};_stddev 0.009 ns 0.009 ns 10
ssa e = "Test text"; auto c{e};_cv 2.54 % 2.54 % 10
stringa e = "Test text"; auto c{e};_mean 1.30 ns 1.30 ns 10
stringa e = "Test text"; auto c{e};_median 1.29 ns 1.29 ns 10
stringa e = "Test text"; auto c{e};_stddev 0.029 ns 0.029 ns 10
stringa e = "Test text"; auto c{e};_cv 2.20 % 2.20 % 10
lstringa<20> e = "Test text"; auto c{e};_mean 4.61 ns 4.61 ns 10
lstringa<20> e = "Test text"; auto c{e};_median 4.50 ns 4.50 ns 10
lstringa<20> e = "Test text"; auto c{e};_stddev 0.343 ns 0.343 ns 10
lstringa<20> e = "Test text"; auto c{e};_cv 7.45 % 7.45 % 10
lstringa<40> e = "Test text"; auto c{e};_mean 4.58 ns 4.58 ns 10
lstringa<40> e = "Test text"; auto c{e};_median 4.45 ns 4.45 ns 10
lstringa<40> e = "Test text"; auto c{e};_stddev 0.340 ns 0.340 ns 10
lstringa<40> e = "Test text"; auto c{e};_cv 7.42 % 7.42 % 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 23.8 ns 23.8 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_median 23.9 ns 23.9 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.322 ns 0.322 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_cv 1.36 % 1.36 % 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.742 ns 0.742 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.732 ns 0.732 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.035 ns 0.035 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 4.71 % 4.71 % 10
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.742 ns 0.742 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.741 ns 0.741 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.016 ns 0.016 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_cv 2.14 % 2.14 % 10
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.11 ns 1.11 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.11 ns 1.11 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.015 ns 0.015 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_cv 1.40 % 1.40 % 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 20.2 ns 20.2 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 20.1 ns 20.1 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.377 ns 0.377 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 1.87 % 1.87 % 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.82 ns 4.82 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.66 ns 4.66 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.467 ns 0.467 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 9.70 % 9.70 % 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.82 ns 6.82 ns 10
std::string::find;_median 6.73 ns 6.73 ns 10
std::string::find;_stddev 0.422 ns 0.422 ns 10
std::string::find;_cv 6.18 % 6.18 % 10
std::string_view::find;_mean 6.76 ns 6.76 ns 10
std::string_view::find;_median 6.66 ns 6.66 ns 10
std::string_view::find;_stddev 0.315 ns 0.315 ns 10
std::string_view::find;_cv 4.67 % 4.67 % 10
ssa::find;_mean 6.29 ns 6.29 ns 10
ssa::find;_median 6.30 ns 6.30 ns 10
ssa::find;_stddev 0.114 ns 0.114 ns 10
ssa::find;_cv 1.80 % 1.80 % 10
stringa::find;_mean 6.82 ns 6.82 ns 10
stringa::find;_median 6.73 ns 6.73 ns 10
stringa::find;_stddev 0.278 ns 0.278 ns 10
stringa::find;_cv 4.07 % 4.07 % 10
lstringa<20>::find;_mean 7.09 ns 7.09 ns 10
lstringa<20>::find;_median 7.08 ns 7.08 ns 10
lstringa<20>::find;_stddev 0.669 ns 0.669 ns 10
lstringa<20>::find;_cv 9.44 % 9.44 % 10
lstringa<40>::find;_mean 6.43 ns 6.43 ns 10
lstringa<40>::find;_median 6.39 ns 6.39 ns 10
lstringa<40>::find;_stddev 0.242 ns 0.242 ns 10
lstringa<40>::find;_cv 3.75 % 3.75 % 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.81 ns 4.81 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.076 ns 0.076 ns 10
std::string copy{str_with_len_N};/15_cv 1.58 % 1.58 % 10
std::string copy{str_with_len_N};/16_mean 23.2 ns 23.2 ns 10
std::string copy{str_with_len_N};/16_median 23.1 ns 23.1 ns 10
std::string copy{str_with_len_N};/16_stddev 0.432 ns 0.432 ns 10
std::string copy{str_with_len_N};/16_cv 1.87 % 1.87 % 10
std::string copy{str_with_len_N};/23_mean 23.2 ns 23.2 ns 10
std::string copy{str_with_len_N};/23_median 22.7 ns 22.7 ns 10
std::string copy{str_with_len_N};/23_stddev 0.762 ns 0.762 ns 10
std::string copy{str_with_len_N};/23_cv 3.29 % 3.29 % 10
std::string copy{str_with_len_N};/24_mean 24.7 ns 24.7 ns 10
std::string copy{str_with_len_N};/24_median 24.0 ns 24.0 ns 10
std::string copy{str_with_len_N};/24_stddev 2.15 ns 2.15 ns 10
std::string copy{str_with_len_N};/24_cv 8.73 % 8.73 % 10
std::string copy{str_with_len_N};/32_mean 22.7 ns 22.7 ns 10
std::string copy{str_with_len_N};/32_median 22.7 ns 22.7 ns 10
std::string copy{str_with_len_N};/32_stddev 0.396 ns 0.396 ns 10
std::string copy{str_with_len_N};/32_cv 1.74 % 1.74 % 10
std::string copy{str_with_len_N};/64_mean 22.5 ns 22.5 ns 10
std::string copy{str_with_len_N};/64_median 22.5 ns 22.5 ns 10
std::string copy{str_with_len_N};/64_stddev 0.371 ns 0.371 ns 10
std::string copy{str_with_len_N};/64_cv 1.65 % 1.65 % 10
std::string copy{str_with_len_N};/128_mean 24.4 ns 24.4 ns 10
std::string copy{str_with_len_N};/128_median 24.1 ns 24.1 ns 10
std::string copy{str_with_len_N};/128_stddev 0.748 ns 0.748 ns 10
std::string copy{str_with_len_N};/128_cv 3.07 % 3.07 % 10
std::string copy{str_with_len_N};/256_mean 28.2 ns 28.2 ns 10
std::string copy{str_with_len_N};/256_median 28.2 ns 28.2 ns 10
std::string copy{str_with_len_N};/256_stddev 0.350 ns 0.350 ns 10
std::string copy{str_with_len_N};/256_cv 1.24 % 1.24 % 10
std::string copy{str_with_len_N};/512_mean 28.6 ns 28.6 ns 10
std::string copy{str_with_len_N};/512_median 28.7 ns 28.7 ns 10
std::string copy{str_with_len_N};/512_stddev 0.512 ns 0.512 ns 10
std::string copy{str_with_len_N};/512_cv 1.79 % 1.79 % 10
std::string copy{str_with_len_N};/1024_mean 33.8 ns 33.8 ns 10
std::string copy{str_with_len_N};/1024_median 33.8 ns 33.8 ns 10
std::string copy{str_with_len_N};/1024_stddev 0.727 ns 0.727 ns 10
std::string copy{str_with_len_N};/1024_cv 2.15 % 2.15 % 10
std::string copy{str_with_len_N};/2048_mean 121 ns 121 ns 10
std::string copy{str_with_len_N};/2048_median 122 ns 122 ns 10
std::string copy{str_with_len_N};/2048_stddev 8.44 ns 8.44 ns 10
std::string copy{str_with_len_N};/2048_cv 6.96 % 6.96 % 10
std::string copy{str_with_len_N};/4096_mean 164 ns 164 ns 10
std::string copy{str_with_len_N};/4096_median 161 ns 161 ns 10
std::string copy{str_with_len_N};/4096_stddev 18.3 ns 18.3 ns 10
std::string copy{str_with_len_N};/4096_cv 11.17 % 11.17 % 10
stringa copy{str_with_len_N};/15_mean 1.11 ns 1.11 ns 10
stringa copy{str_with_len_N};/15_median 1.11 ns 1.11 ns 10
stringa copy{str_with_len_N};/15_stddev 0.022 ns 0.022 ns 10
stringa copy{str_with_len_N};/15_cv 1.99 % 1.99 % 10
stringa copy{str_with_len_N};/16_mean 1.12 ns 1.12 ns 10
stringa copy{str_with_len_N};/16_median 1.12 ns 1.12 ns 10
stringa copy{str_with_len_N};/16_stddev 0.034 ns 0.034 ns 10
stringa copy{str_with_len_N};/16_cv 3.05 % 3.05 % 10
stringa copy{str_with_len_N};/23_mean 1.12 ns 1.12 ns 10
stringa copy{str_with_len_N};/23_median 1.11 ns 1.11 ns 10
stringa copy{str_with_len_N};/23_stddev 0.050 ns 0.050 ns 10
stringa copy{str_with_len_N};/23_cv 4.43 % 4.43 % 10
stringa copy{str_with_len_N};/24_mean 16.4 ns 16.4 ns 10
stringa copy{str_with_len_N};/24_median 16.3 ns 16.3 ns 10
stringa copy{str_with_len_N};/24_stddev 0.494 ns 0.494 ns 10
stringa copy{str_with_len_N};/24_cv 3.01 % 3.01 % 10
stringa copy{str_with_len_N};/32_mean 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/32_median 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/32_stddev 0.107 ns 0.107 ns 10
stringa copy{str_with_len_N};/32_cv 0.67 % 0.67 % 10
stringa copy{str_with_len_N};/64_mean 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/64_median 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/64_stddev 0.081 ns 0.081 ns 10
stringa copy{str_with_len_N};/64_cv 0.50 % 0.50 % 10
stringa copy{str_with_len_N};/128_mean 16.1 ns 16.1 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.132 ns 0.132 ns 10
stringa copy{str_with_len_N};/128_cv 0.82 % 0.82 % 10
stringa copy{str_with_len_N};/256_mean 16.3 ns 16.3 ns 10
stringa copy{str_with_len_N};/256_median 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/256_stddev 0.513 ns 0.513 ns 10
stringa copy{str_with_len_N};/256_cv 3.15 % 3.15 % 10
stringa copy{str_with_len_N};/512_mean 16.4 ns 16.4 ns 10
stringa copy{str_with_len_N};/512_median 16.2 ns 16.2 ns 10
stringa copy{str_with_len_N};/512_stddev 0.387 ns 0.387 ns 10
stringa copy{str_with_len_N};/512_cv 2.37 % 2.37 % 10
stringa copy{str_with_len_N};/1024_mean 16.3 ns 16.3 ns 10
stringa copy{str_with_len_N};/1024_median 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/1024_stddev 0.454 ns 0.454 ns 10
stringa copy{str_with_len_N};/1024_cv 2.79 % 2.79 % 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.138 ns 0.138 ns 10
stringa copy{str_with_len_N};/2048_cv 0.86 % 0.86 % 10
stringa copy{str_with_len_N};/4096_mean 16.1 ns 16.1 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.230 ns 0.230 ns 10
stringa copy{str_with_len_N};/4096_cv 1.43 % 1.43 % 10
lstringa<16> copy{str_with_len_N};/15_mean 4.55 ns 4.55 ns 10
lstringa<16> copy{str_with_len_N};/15_median 4.50 ns 4.50 ns 10
lstringa<16> copy{str_with_len_N};/15_stddev 0.233 ns 0.233 ns 10
lstringa<16> copy{str_with_len_N};/15_cv 5.12 % 5.12 % 10
lstringa<16> copy{str_with_len_N};/16_mean 4.50 ns 4.50 ns 10
lstringa<16> copy{str_with_len_N};/16_median 4.44 ns 4.44 ns 10
lstringa<16> copy{str_with_len_N};/16_stddev 0.213 ns 0.213 ns 10
lstringa<16> copy{str_with_len_N};/16_cv 4.72 % 4.72 % 10
lstringa<16> copy{str_with_len_N};/23_mean 4.44 ns 4.44 ns 10
lstringa<16> copy{str_with_len_N};/23_median 4.43 ns 4.43 ns 10
lstringa<16> copy{str_with_len_N};/23_stddev 0.066 ns 0.066 ns 10
lstringa<16> copy{str_with_len_N};/23_cv 1.47 % 1.47 % 10
lstringa<16> copy{str_with_len_N};/24_mean 24.5 ns 24.5 ns 10
lstringa<16> copy{str_with_len_N};/24_median 24.6 ns 24.6 ns 10
lstringa<16> copy{str_with_len_N};/24_stddev 0.440 ns 0.440 ns 10
lstringa<16> copy{str_with_len_N};/24_cv 1.79 % 1.79 % 10
lstringa<16> copy{str_with_len_N};/32_mean 24.4 ns 24.4 ns 10
lstringa<16> copy{str_with_len_N};/32_median 23.9 ns 23.9 ns 10
lstringa<16> copy{str_with_len_N};/32_stddev 1.15 ns 1.15 ns 10
lstringa<16> copy{str_with_len_N};/32_cv 4.70 % 4.70 % 10
lstringa<16> copy{str_with_len_N};/64_mean 26.5 ns 26.5 ns 10
lstringa<16> copy{str_with_len_N};/64_median 26.3 ns 26.3 ns 10
lstringa<16> copy{str_with_len_N};/64_stddev 0.998 ns 0.998 ns 10
lstringa<16> copy{str_with_len_N};/64_cv 3.77 % 3.77 % 10
lstringa<16> copy{str_with_len_N};/128_mean 26.6 ns 26.6 ns 10
lstringa<16> copy{str_with_len_N};/128_median 26.0 ns 26.0 ns 10
lstringa<16> copy{str_with_len_N};/128_stddev 1.56 ns 1.56 ns 10
lstringa<16> copy{str_with_len_N};/128_cv 5.85 % 5.85 % 10
lstringa<16> copy{str_with_len_N};/256_mean 29.7 ns 29.7 ns 10
lstringa<16> copy{str_with_len_N};/256_median 28.5 ns 28.5 ns 10
lstringa<16> copy{str_with_len_N};/256_stddev 2.99 ns 2.99 ns 10
lstringa<16> copy{str_with_len_N};/256_cv 10.04 % 10.04 % 10
lstringa<16> copy{str_with_len_N};/512_mean 30.8 ns 30.8 ns 10
lstringa<16> copy{str_with_len_N};/512_median 29.9 ns 29.9 ns 10
lstringa<16> copy{str_with_len_N};/512_stddev 2.19 ns 2.19 ns 10
lstringa<16> copy{str_with_len_N};/512_cv 7.13 % 7.13 % 10
lstringa<16> copy{str_with_len_N};/1024_mean 93.8 ns 93.8 ns 10
lstringa<16> copy{str_with_len_N};/1024_median 93.8 ns 93.8 ns 10
lstringa<16> copy{str_with_len_N};/1024_stddev 9.69 ns 9.69 ns 10
lstringa<16> copy{str_with_len_N};/1024_cv 10.33 % 10.33 % 10
lstringa<16> copy{str_with_len_N};/2048_mean 124 ns 124 ns 10
lstringa<16> copy{str_with_len_N};/2048_median 118 ns 118 ns 10
lstringa<16> copy{str_with_len_N};/2048_stddev 20.6 ns 20.6 ns 10
lstringa<16> copy{str_with_len_N};/2048_cv 16.55 % 16.55 % 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.50 ns 9.50 ns 10
lstringa<16> copy{str_with_len_N};/4096_cv 7.44 % 7.44 % 10
lstringa<512> copy{str_with_len_N};/15_mean 5.79 ns 5.79 ns 10
lstringa<512> copy{str_with_len_N};/15_median 5.75 ns 5.75 ns 10
lstringa<512> copy{str_with_len_N};/15_stddev 0.214 ns 0.214 ns 10
lstringa<512> copy{str_with_len_N};/15_cv 3.70 % 3.70 % 10
lstringa<512> copy{str_with_len_N};/16_mean 6.04 ns 6.04 ns 10
lstringa<512> copy{str_with_len_N};/16_median 5.78 ns 5.78 ns 10
lstringa<512> copy{str_with_len_N};/16_stddev 0.517 ns 0.517 ns 10
lstringa<512> copy{str_with_len_N};/16_cv 8.57 % 8.57 % 10
lstringa<512> copy{str_with_len_N};/23_mean 5.66 ns 5.66 ns 10
lstringa<512> copy{str_with_len_N};/23_median 5.66 ns 5.66 ns 10
lstringa<512> copy{str_with_len_N};/23_stddev 0.105 ns 0.105 ns 10
lstringa<512> copy{str_with_len_N};/23_cv 1.86 % 1.86 % 10
lstringa<512> copy{str_with_len_N};/24_mean 5.74 ns 5.74 ns 10
lstringa<512> copy{str_with_len_N};/24_median 5.71 ns 5.71 ns 10
lstringa<512> copy{str_with_len_N};/24_stddev 0.145 ns 0.145 ns 10
lstringa<512> copy{str_with_len_N};/24_cv 2.52 % 2.52 % 10
lstringa<512> copy{str_with_len_N};/32_mean 5.34 ns 5.34 ns 10
lstringa<512> copy{str_with_len_N};/32_median 5.30 ns 5.30 ns 10
lstringa<512> copy{str_with_len_N};/32_stddev 0.134 ns 0.134 ns 10
lstringa<512> copy{str_with_len_N};/32_cv 2.51 % 2.51 % 10
lstringa<512> copy{str_with_len_N};/64_mean 6.83 ns 6.83 ns 10
lstringa<512> copy{str_with_len_N};/64_median 6.77 ns 6.77 ns 10
lstringa<512> copy{str_with_len_N};/64_stddev 0.146 ns 0.146 ns 10
lstringa<512> copy{str_with_len_N};/64_cv 2.14 % 2.14 % 10
lstringa<512> copy{str_with_len_N};/128_mean 6.97 ns 6.97 ns 10
lstringa<512> copy{str_with_len_N};/128_median 6.96 ns 6.96 ns 10
lstringa<512> copy{str_with_len_N};/128_stddev 0.096 ns 0.096 ns 10
lstringa<512> copy{str_with_len_N};/128_cv 1.37 % 1.37 % 10
lstringa<512> copy{str_with_len_N};/256_mean 7.83 ns 7.83 ns 10
lstringa<512> copy{str_with_len_N};/256_median 7.81 ns 7.81 ns 10
lstringa<512> copy{str_with_len_N};/256_stddev 0.095 ns 0.095 ns 10
lstringa<512> copy{str_with_len_N};/256_cv 1.22 % 1.22 % 10
lstringa<512> copy{str_with_len_N};/512_mean 10.6 ns 10.6 ns 10
lstringa<512> copy{str_with_len_N};/512_median 10.4 ns 10.4 ns 10
lstringa<512> copy{str_with_len_N};/512_stddev 0.577 ns 0.577 ns 10
lstringa<512> copy{str_with_len_N};/512_cv 5.44 % 5.44 % 10
lstringa<512> copy{str_with_len_N};/1024_mean 94.8 ns 94.8 ns 10
lstringa<512> copy{str_with_len_N};/1024_median 96.1 ns 96.1 ns 10
lstringa<512> copy{str_with_len_N};/1024_stddev 11.1 ns 11.1 ns 10
lstringa<512> copy{str_with_len_N};/1024_cv 11.71 % 11.71 % 10
lstringa<512> copy{str_with_len_N};/2048_mean 114 ns 114 ns 10
lstringa<512> copy{str_with_len_N};/2048_median 114 ns 114 ns 10
lstringa<512> copy{str_with_len_N};/2048_stddev 11.0 ns 11.0 ns 10
lstringa<512> copy{str_with_len_N};/2048_cv 9.68 % 9.68 % 10
lstringa<512> copy{str_with_len_N};/4096_mean 128 ns 128 ns 10
lstringa<512> copy{str_with_len_N};/4096_median 130 ns 130 ns 10
lstringa<512> copy{str_with_len_N};/4096_stddev 7.49 ns 7.49 ns 10
lstringa<512> copy{str_with_len_N};/4096_cv 5.86 % 5.86 % 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 27.0 ns 27.0 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 26.8 ns 26.8 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.718 ns 0.718 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 2.66 % 2.66 % 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 12.1 ns 12.1 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 11.8 ns 11.8 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.910 ns 0.910 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 7.53 % 7.53 % 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.11 ns 8.11 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 8.09 ns 8.09 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.161 ns 0.161 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.98 % 1.98 % 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.22 ns 8.22 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 8.21 ns 8.21 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.250 ns 0.250 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.04 % 3.04 % 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.07 ns 8.07 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 8.06 ns 8.06 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.080 ns 0.080 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 0.99 % 0.99 % 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.2 ns 23.2 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 23.2 ns 23.2 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.416 ns 0.416 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.79 % 1.79 % 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 10.5 ns 10.5 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 10.4 ns 10.4 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.522 ns 0.522 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 4.97 % 4.97 % 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.08 ns 8.08 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.06 ns 8.06 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.104 ns 0.104 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.28 % 1.28 % 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.13 ns 8.13 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.11 ns 8.11 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.180 ns 0.180 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.22 % 2.22 % 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.77 ns 7.77 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.71 ns 7.71 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.247 ns 0.247 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.17 % 3.17 % 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.0 ns 28.0 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 27.9 ns 27.9 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.574 ns 0.574 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 2.05 % 2.05 % 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 14.8 ns 14.8 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 14.8 ns 14.8 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.186 ns 0.186 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 1.25 % 1.25 % 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 13.7 ns 13.7 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 13.7 ns 13.7 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.305 ns 0.305 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 2.22 % 2.22 % 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 63.6 ns 63.6 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 63.1 ns 63.1 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 2.33 ns 2.33 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 3.66 % 3.66 % 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 23.9 ns 23.9 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 23.9 ns 23.9 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 0.343 ns 0.343 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 1.43 % 1.43 % 10
ssa s = "1234.567e10"; double res = *s.to_double()_mean 24.6 ns 24.6 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_median 24.4 ns 24.4 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.832 ns 0.832 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_cv 3.38 % 3.38 % 10
-- Append const literal of 16 bytes 64 times, 1024 total length --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; ... str << "abbaabbaabbaabba";_mean 1440 ns 1440 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_median 1448 ns 1448 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 94.7 ns 94.7 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 6.58 % 6.58 % 10
std::string str; ... str += "abbaabbaabbaabba";_mean 389 ns 389 ns 10
std::string str; ... str += "abbaabbaabbaabba";_median 385 ns 385 ns 10
std::string str; ... str += "abbaabbaabbaabba";_stddev 37.7 ns 37.7 ns 10
std::string str; ... str += "abbaabbaabbaabba";_cv 9.70 % 9.70 % 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 398 ns 398 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 400 ns 400 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 14.4 ns 14.4 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 3.61 % 3.61 % 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 259 ns 259 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 250 ns 250 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 18.0 ns 18.0 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 6.97 % 6.97 % 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 242 ns 242 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 234 ns 234 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 17.2 ns 17.2 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 7.10 % 7.10 % 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 141 ns 141 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 140 ns 140 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 5.52 ns 5.52 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 3.91 % 3.91 % 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 1360 ns 1360 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 1336 ns 1336 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 69.5 ns 69.5 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 5.11 % 5.11 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1352 ns 1352 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1338 ns 1338 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 107 ns 107 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 7.90 % 7.90 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 432 ns 432 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 432 ns 432 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 17.2 ns 17.2 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.99 % 3.99 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 402 ns 402 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 409 ns 409 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 44.6 ns 44.6 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 11.08 % 11.08 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 326 ns 326 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 315 ns 315 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 19.2 ns 19.2 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.88 % 5.88 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 253 ns 253 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 248 ns 248 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 13.3 ns 13.3 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.26 % 5.26 % 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 73241 ns 73241 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 73277 ns 73278 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 907 ns 907 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.24 % 1.24 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 72618 ns 72618 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 72421 ns 72421 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1242 ns 1242 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.71 % 1.71 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19903 ns 19903 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 19899 ns 19899 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 333 ns 333 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.68 % 1.68 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17505 ns 17505 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17237 ns 17237 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 902 ns 902 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 5.15 % 5.15 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17272 ns 17272 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17246 ns 17247 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 473 ns 473 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.74 % 2.74 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17201 ns 17201 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17089 ns 17089 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 702 ns 702 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.08 % 4.08 % 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 1469 ns 1469 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_median 1446 ns 1446 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_stddev 155 ns 155 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_cv 10.55 % 10.55 % 10
std::string str; ... str += str_var1 + str_var2;_mean 1346 ns 1346 ns 10
std::string str; ... str += str_var1 + str_var2;_median 1343 ns 1343 ns 10
std::string str; ... str += str_var1 + str_var2;_stddev 25.5 ns 25.5 ns 10
std::string str; ... str += str_var1 + str_var2;_cv 1.90 % 1.90 % 10
lstringa<16> str; ... str += str_var1 + str_var2;_mean 512 ns 512 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_median 514 ns 514 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 10.4 ns 10.4 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_cv 2.04 % 2.04 % 10
lstringa<128> str; ... str += str_var1 + str_var2;_mean 442 ns 442 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_median 435 ns 435 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 24.9 ns 24.9 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_cv 5.63 % 5.63 % 10
lstringa<512> str; ... str += str_var1 + str_var2;_mean 395 ns 395 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_median 386 ns 386 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 21.4 ns 21.4 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_cv 5.41 % 5.41 % 10
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 338 ns 338 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_median 334 ns 334 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 24.6 ns 24.6 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 7.28 % 7.28 % 10
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 3041 ns 3041 ns 10
std::stringstream str; str << "test = " << k << " times";_median 3025 ns 3025 ns 10
std::stringstream str; str << "test = " << k << " times";_stddev 62.7 ns 62.7 ns 10
std::stringstream str; str << "test = " << k << " times";_cv 2.06 % 2.06 % 10
std::string str = "test = " + std::to_string(k) + " times";_mean 439 ns 439 ns 10
std::string str = "test = " + std::to_string(k) + " times";_median 438 ns 438 ns 10
std::string str = "test = " + std::to_string(k) + " times";_stddev 12.1 ns 12.1 ns 10
std::string str = "test = " + std::to_string(k) + " times";_cv 2.75 % 2.75 % 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 1458 ns 1458 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 1463 ns 1463 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 31.0 ns 31.0 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 2.13 % 2.13 % 10
std::string str = std::format("test = {} times", k);_mean 1251 ns 1251 ns 10
std::string str = std::format("test = {} times", k);_median 1239 ns 1239 ns 10
std::string str = std::format("test = {} times", k);_stddev 40.8 ns 40.8 ns 10
std::string str = std::format("test = {} times", k);_cv 3.27 % 3.27 % 10
lstringa<8> str; str.format("test = {} times", k);_mean 1668 ns 1668 ns 10
lstringa<8> str; str.format("test = {} times", k);_median 1655 ns 1655 ns 10
lstringa<8> str; str.format("test = {} times", k);_stddev 40.6 ns 40.6 ns 10
lstringa<8> str; str.format("test = {} times", k);_cv 2.43 % 2.43 % 10
lstringa<32> str; str.format("test = {} times", k);_mean 1103 ns 1103 ns 10
lstringa<32> str; str.format("test = {} times", k);_median 1085 ns 1085 ns 10
lstringa<32> str; str.format("test = {} times", k);_stddev 84.2 ns 84.2 ns 10
lstringa<32> str; str.format("test = {} times", k);_cv 7.64 % 7.64 % 10
lstringa<8> str = "test = " + k + " times";_mean 313 ns 313 ns 10
lstringa<8> str = "test = " + k + " times";_median 307 ns 307 ns 10
lstringa<8> str = "test = " + k + " times";_stddev 20.2 ns 20.2 ns 10
lstringa<8> str = "test = " + k + " times";_cv 6.44 % 6.44 % 10
lstringa<32> str = "test = " + k + " times";_mean 148 ns 148 ns 10
lstringa<32> str = "test = " + k + " times";_median 147 ns 147 ns 10
lstringa<32> str = "test = " + k + " times";_stddev 4.11 ns 4.11 ns 10
lstringa<32> str = "test = " + k + " times";_cv 2.77 % 2.77 % 10
stringa str = "test = " + k + " times";_mean 162 ns 162 ns 10
stringa str = "test = " + k + " times";_median 161 ns 161 ns 10
stringa str = "test = " + k + " times";_stddev 4.77 ns 4.77 ns 10
stringa str = "test = " + k + " times";_cv 2.94 % 2.94 % 10
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 279 ns 279 ns 10
std::string::find + substr + std::strtol_median 277 ns 277 ns 10
std::string::find + substr + std::strtol_stddev 8.03 ns 8.03 ns 10
std::string::find + substr + std::strtol_cv 2.88 % 2.88 % 10
ssa::splitter + ssa::as_int_mean 144 ns 144 ns 10
ssa::splitter + ssa::as_int_median 145 ns 145 ns 10
ssa::splitter + ssa::as_int_stddev 10.2 ns 10.2 ns 10
ssa::splitter + ssa::as_int_cv 7.08 % 7.08 % 10
ssa::splitf + functor_mean 130 ns 130 ns 10
ssa::splitf + functor_median 127 ns 127 ns 10
ssa::splitf + functor_stddev 7.98 ns 7.98 ns 10
ssa::splitf + functor_cv 6.14 % 6.14 % 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 827 ns 827 ns 10
Naive (and wrong) replace symbols with std::string find + replace_median 828 ns 828 ns 10
Naive (and wrong) replace symbols with std::string find + replace_stddev 16.4 ns 16.4 ns 10
Naive (and wrong) replace symbols with std::string find + replace_cv 1.98 % 1.98 % 10
replace symbols with std::string find_first_of + replace_mean 2391 ns 2391 ns 10
replace symbols with std::string find_first_of + replace_median 2335 ns 2335 ns 10
replace symbols with std::string find_first_of + replace_stddev 188 ns 188 ns 10
replace symbols with std::string find_first_of + replace_cv 7.86 % 7.86 % 10
replace symbols with std::string_view find_first_of + copy_mean 1089 ns 1089 ns 10
replace symbols with std::string_view find_first_of + copy_median 1077 ns 1077 ns 10
replace symbols with std::string_view find_first_of + copy_stddev 85.4 ns 85.4 ns 10
replace symbols with std::string_view find_first_of + copy_cv 7.84 % 7.84 % 10
replace runtime symbols with string expressions and without remembering all search results_mean 1478 ns 1478 ns 10
replace runtime symbols with string expressions and without remembering all search results_median 1430 ns 1430 ns 10
replace runtime symbols with string expressions and without remembering all search results_stddev 129 ns 129 ns 10
replace runtime symbols with string expressions and without remembering all search results_cv 8.74 % 8.74 % 10
replace runtime symbols with simstr and memorization of all search results_mean 1013 ns 1013 ns 10
replace runtime symbols with simstr and memorization of all search results_median 1011 ns 1011 ns 10
replace runtime symbols with simstr and memorization of all search results_stddev 15.1 ns 15.1 ns 10
replace runtime symbols with simstr and memorization of all search results_cv 1.49 % 1.49 % 10
replace const symbols with string expressions and without remembering all search results_mean 1247 ns 1247 ns 10
replace const symbols with string expressions and without remembering all search results_median 1231 ns 1231 ns 10
replace const symbols with string expressions and without remembering all search results_stddev 61.9 ns 61.9 ns 10
replace const symbols with string expressions and without remembering all search results_cv 4.96 % 4.96 % 10
replace const symbols with string expressions and memorization of all search results_mean 897 ns 897 ns 10
replace const symbols with string expressions and memorization of all search results_median 870 ns 870 ns 10
replace const symbols with string expressions and memorization of all search results_stddev 61.0 ns 61.0 ns 10
replace const symbols with string expressions and memorization of all search results_cv 6.80 % 6.80 % 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 162 ns 162 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_median 161 ns 161 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 7.18 ns 7.18 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_cv 4.42 % 4.42 % 10
Short replace symbols with std::string find_first_of + replace_mean 302 ns 302 ns 10
Short replace symbols with std::string find_first_of + replace_median 302 ns 302 ns 10
Short replace symbols with std::string find_first_of + replace_stddev 4.21 ns 4.21 ns 10
Short replace symbols with std::string find_first_of + replace_cv 1.40 % 1.40 % 10
Short replace symbols with std::string_view find_first_of + copy_mean 159 ns 159 ns 10
Short replace symbols with std::string_view find_first_of + copy_median 159 ns 159 ns 10
Short replace symbols with std::string_view find_first_of + copy_stddev 3.05 ns 3.05 ns 10
Short replace symbols with std::string_view find_first_of + copy_cv 1.92 % 1.92 % 10
Short replace runtime symbols with string expressions and without remembering all search results_mean 190 ns 190 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_median 188 ns 188 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_stddev 7.04 ns 7.04 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_cv 3.70 % 3.70 % 10
Short replace runtime symbols with simstr and memorization of all search results_mean 196 ns 196 ns 10
Short replace runtime symbols with simstr and memorization of all search results_median 193 ns 193 ns 10
Short replace runtime symbols with simstr and memorization of all search results_stddev 6.63 ns 6.63 ns 10
Short replace runtime symbols with simstr and memorization of all search results_cv 3.39 % 3.39 % 10
Short replace const symbols with string expressions and without remembering all search results_mean 162 ns 162 ns 10
Short replace const symbols with string expressions and without remembering all search results_median 161 ns 161 ns 10
Short replace const symbols with string expressions and without remembering all search results_stddev 1.96 ns 1.96 ns 10
Short replace const symbols with string expressions and without remembering all search results_cv 1.21 % 1.21 % 10
Short replace const symbols with string expressions and memorization of all search results_mean 165 ns 165 ns 10
Short replace const symbols with string expressions and memorization of all search results_median 164 ns 164 ns 10
Short replace const symbols with string expressions and memorization of all search results_stddev 4.58 ns 4.58 ns 10
Short replace const symbols with string expressions and memorization of all search results_cv 2.77 % 2.77 % 10
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 174 ns 174 ns 10
replace bb to ---- in std::string|64_median 168 ns 168 ns 10
replace bb to ---- in std::string|64_stddev 18.8 ns 18.8 ns 10
replace bb to ---- in std::string|64_cv 10.80 % 10.80 % 10
replace bb to ---- in std::string|256_mean 524 ns 524 ns 10
replace bb to ---- in std::string|256_median 499 ns 499 ns 10
replace bb to ---- in std::string|256_stddev 49.1 ns 49.1 ns 10
replace bb to ---- in std::string|256_cv 9.36 % 9.36 % 10
replace bb to ---- in std::string|512_mean 949 ns 949 ns 10
replace bb to ---- in std::string|512_median 945 ns 945 ns 10
replace bb to ---- in std::string|512_stddev 28.0 ns 28.0 ns 10
replace bb to ---- in std::string|512_cv 2.95 % 2.95 % 10
replace bb to ---- in std::string|1024_mean 2201 ns 2201 ns 10
replace bb to ---- in std::string|1024_median 2211 ns 2211 ns 10
replace bb to ---- in std::string|1024_stddev 54.2 ns 54.2 ns 10
replace bb to ---- in std::string|1024_cv 2.46 % 2.46 % 10
replace bb to ---- in std::string|2048_mean 5758 ns 5758 ns 10
replace bb to ---- in std::string|2048_median 5680 ns 5680 ns 10
replace bb to ---- in std::string|2048_stddev 271 ns 271 ns 10
replace bb to ---- in std::string|2048_cv 4.71 % 4.71 % 10
replace bb to ---- in lstringa<8>|64_mean 156 ns 156 ns 10
replace bb to ---- in lstringa<8>|64_median 153 ns 153 ns 10
replace bb to ---- in lstringa<8>|64_stddev 6.50 ns 6.50 ns 10
replace bb to ---- in lstringa<8>|64_cv 4.18 % 4.18 % 10
replace bb to ---- in lstringa<8>|256_mean 493 ns 493 ns 10
replace bb to ---- in lstringa<8>|256_median 488 ns 488 ns 10
replace bb to ---- in lstringa<8>|256_stddev 18.6 ns 18.6 ns 10
replace bb to ---- in lstringa<8>|256_cv 3.77 % 3.77 % 10
replace bb to ---- in lstringa<8>|512_mean 979 ns 979 ns 10
replace bb to ---- in lstringa<8>|512_median 937 ns 937 ns 10
replace bb to ---- in lstringa<8>|512_stddev 94.5 ns 94.5 ns 10
replace bb to ---- in lstringa<8>|512_cv 9.65 % 9.65 % 10
replace bb to ---- in lstringa<8>|1024_mean 1881 ns 1881 ns 10
replace bb to ---- in lstringa<8>|1024_median 1870 ns 1870 ns 10
replace bb to ---- in lstringa<8>|1024_stddev 78.3 ns 78.3 ns 10
replace bb to ---- in lstringa<8>|1024_cv 4.16 % 4.16 % 10
replace bb to ---- in lstringa<8>|2048_mean 3456 ns 3456 ns 10
replace bb to ---- in lstringa<8>|2048_median 3432 ns 3432 ns 10
replace bb to ---- in lstringa<8>|2048_stddev 169 ns 169 ns 10
replace bb to ---- in lstringa<8>|2048_cv 4.89 % 4.89 % 10
replace bb to ---- by init stringa|64_mean 100.0 ns 100.0 ns 10
replace bb to ---- by init stringa|64_median 99.1 ns 99.1 ns 10
replace bb to ---- by init stringa|64_stddev 3.23 ns 3.23 ns 10
replace bb to ---- by init stringa|64_cv 3.23 % 3.23 % 10
replace bb to ---- by init stringa|256_mean 306 ns 306 ns 10
replace bb to ---- by init stringa|256_median 303 ns 303 ns 10
replace bb to ---- by init stringa|256_stddev 11.3 ns 11.3 ns 10
replace bb to ---- by init stringa|256_cv 3.69 % 3.69 % 10
replace bb to ---- by init stringa|512_mean 728 ns 728 ns 10
replace bb to ---- by init stringa|512_median 726 ns 726 ns 10
replace bb to ---- by init stringa|512_stddev 12.7 ns 12.7 ns 10
replace bb to ---- by init stringa|512_cv 1.75 % 1.75 % 10
replace bb to ---- by init stringa|1024_mean 1640 ns 1640 ns 10
replace bb to ---- by init stringa|1024_median 1625 ns 1625 ns 10
replace bb to ---- by init stringa|1024_stddev 48.9 ns 48.9 ns 10
replace bb to ---- by init stringa|1024_cv 2.98 % 2.98 % 10
replace bb to ---- by init stringa|2048_mean 3320 ns 3320 ns 10
replace bb to ---- by init stringa|2048_median 3316 ns 3316 ns 10
replace bb to ---- by init stringa|2048_stddev 60.1 ns 60.1 ns 10
replace bb to ---- by init stringa|2048_cv 1.81 % 1.81 % 10
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 123 ns 123 ns 10
replace bb to -- in std::string|64_median 123 ns 123 ns 10
replace bb to -- in std::string|64_stddev 2.21 ns 2.21 ns 10
replace bb to -- in std::string|64_cv 1.80 % 1.80 % 10
replace bb to -- in std::string|256_mean 369 ns 369 ns 10
replace bb to -- in std::string|256_median 367 ns 367 ns 10
replace bb to -- in std::string|256_stddev 14.4 ns 14.4 ns 10
replace bb to -- in std::string|256_cv 3.90 % 3.90 % 10
replace bb to -- in std::string|512_mean 758 ns 758 ns 10
replace bb to -- in std::string|512_median 757 ns 757 ns 10
replace bb to -- in std::string|512_stddev 12.1 ns 12.1 ns 10
replace bb to -- in std::string|512_cv 1.59 % 1.59 % 10
replace bb to -- in std::string|1024_mean 1475 ns 1475 ns 10
replace bb to -- in std::string|1024_median 1486 ns 1486 ns 10
replace bb to -- in std::string|1024_stddev 74.8 ns 74.8 ns 10
replace bb to -- in std::string|1024_cv 5.07 % 5.07 % 10
replace bb to -- in std::string|2048_mean 2805 ns 2805 ns 10
replace bb to -- in std::string|2048_median 2795 ns 2795 ns 10
replace bb to -- in std::string|2048_stddev 55.6 ns 55.6 ns 10
replace bb to -- in std::string|2048_cv 1.98 % 1.98 % 10
replace bb to -- in lstringa<8>|64_mean 98.2 ns 98.2 ns 10
replace bb to -- in lstringa<8>|64_median 98.3 ns 98.3 ns 10
replace bb to -- in lstringa<8>|64_stddev 1.72 ns 1.72 ns 10
replace bb to -- in lstringa<8>|64_cv 1.75 % 1.75 % 10
replace bb to -- in lstringa<8>|256_mean 296 ns 296 ns 10
replace bb to -- in lstringa<8>|256_median 293 ns 293 ns 10
replace bb to -- in lstringa<8>|256_stddev 9.44 ns 9.44 ns 10
replace bb to -- in lstringa<8>|256_cv 3.19 % 3.19 % 10
replace bb to -- in lstringa<8>|512_mean 579 ns 579 ns 10
replace bb to -- in lstringa<8>|512_median 564 ns 564 ns 10
replace bb to -- in lstringa<8>|512_stddev 31.0 ns 31.0 ns 10
replace bb to -- in lstringa<8>|512_cv 5.35 % 5.35 % 10
replace bb to -- in lstringa<8>|1024_mean 1109 ns 1109 ns 10
replace bb to -- in lstringa<8>|1024_median 1105 ns 1105 ns 10
replace bb to -- in lstringa<8>|1024_stddev 35.4 ns 35.4 ns 10
replace bb to -- in lstringa<8>|1024_cv 3.20 % 3.20 % 10
replace bb to -- in lstringa<8>|2048_mean 2138 ns 2139 ns 10
replace bb to -- in lstringa<8>|2048_median 2075 ns 2075 ns 10
replace bb to -- in lstringa<8>|2048_stddev 172 ns 172 ns 10
replace bb to -- in lstringa<8>|2048_cv 8.04 % 8.04 % 10
replace bb to -- by init stringa|64_mean 96.7 ns 96.7 ns 10
replace bb to -- by init stringa|64_median 96.1 ns 96.1 ns 10
replace bb to -- by init stringa|64_stddev 2.88 ns 2.88 ns 10
replace bb to -- by init stringa|64_cv 2.98 % 2.98 % 10
replace bb to -- by init stringa|256_mean 279 ns 279 ns 10
replace bb to -- by init stringa|256_median 279 ns 279 ns 10
replace bb to -- by init stringa|256_stddev 2.87 ns 2.87 ns 10
replace bb to -- by init stringa|256_cv 1.03 % 1.03 % 10
replace bb to -- by init stringa|512_mean 521 ns 521 ns 10
replace bb to -- by init stringa|512_median 518 ns 518 ns 10
replace bb to -- by init stringa|512_stddev 8.19 ns 8.19 ns 10
replace bb to -- by init stringa|512_cv 1.57 % 1.57 % 10
replace bb to -- by init stringa|1024_mean 1034 ns 1034 ns 10
replace bb to -- by init stringa|1024_median 1025 ns 1025 ns 10
replace bb to -- by init stringa|1024_stddev 35.1 ns 35.1 ns 10
replace bb to -- by init stringa|1024_cv 3.39 % 3.39 % 10
replace bb to -- by init stringa|2048_mean 1964 ns 1964 ns 10
replace bb to -- by init stringa|2048_median 1946 ns 1946 ns 10
replace bb to -- by init stringa|2048_stddev 62.7 ns 62.7 ns 10
replace bb to -- by init stringa|2048_cv 3.19 % 3.19 % 10
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3720534 ns 3720548 ns 10
hashStrMapA<size_t> emplace & find stringa;_median 3693681 ns 3693692 ns 10
hashStrMapA<size_t> emplace & find stringa;_stddev 83091 ns 83091 ns 10
hashStrMapA<size_t> emplace & find stringa;_cv 2.23 % 2.23 % 10
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3566994 ns 3567006 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3549509 ns 3549523 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 96378 ns 96376 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 2.70 % 2.70 % 10
hashStrMapA<size_t> emplace & find ssa;_mean 3767835 ns 3767848 ns 10
hashStrMapA<size_t> emplace & find ssa;_median 3720436 ns 3720451 ns 10
hashStrMapA<size_t> emplace & find ssa;_stddev 138770 ns 138769 ns 10
hashStrMapA<size_t> emplace & find ssa;_cv 3.68 % 3.68 % 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 4195628 ns 4195640 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 4120244 ns 4120262 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 303735 ns 303734 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 7.24 % 7.24 % 10
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 1049 ns 1049 ns 10
Build func full name std::string;_median 1024 ns 1024 ns 10
Build func full name std::string;_stddev 123 ns 123 ns 10
Build func full name std::string;_cv 11.68 % 11.68 % 10
Build func full name std::string 1;_mean 1016 ns 1016 ns 10
Build func full name std::string 1;_median 1013 ns 1013 ns 10
Build func full name std::string 1;_stddev 19.8 ns 19.8 ns 10
Build func full name std::string 1;_cv 1.95 % 1.95 % 10
Build func full name std::stream;_mean 2568 ns 2568 ns 10
Build func full name std::stream;_median 2537 ns 2537 ns 10
Build func full name std::stream;_stddev 90.0 ns 90.0 ns 10
Build func full name std::stream;_cv 3.50 % 3.50 % 10
Build func full name stringa;_mean 460 ns 460 ns 10
Build func full name stringa;_median 458 ns 458 ns 10
Build func full name stringa;_stddev 14.4 ns 14.4 ns 10
Build func full name stringa;_cv 3.14 % 3.14 % 10
Build func full name stringa 1;_mean 682 ns 682 ns 10
Build func full name stringa 1;_median 673 ns 673 ns 10
Build func full name stringa 1;_stddev 26.1 ns 26.1 ns 10
Build func full name stringa 1;_cv 3.84 % 3.84 % 10