simstr/bench/results/004-Xeon E5-2682 v4, WASM F...

916 lines
136 KiB
Plaintext

Benchmarks of simstr, version 1.6.3
Sources: https://github.com/orefkov/simstr
Results: https://orefkov.github.io/simstr/results.html
Run on (32 X 2513.96 MHz CPU s)
Firefox: 146.0.1.60 webasm
--------------------------------------------------------------------------------------------------------------------------------------------------------
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 1022 ns 1022 ns 4
Concat std::string and number by std to std::string_median 1002 ns 1002 ns 4
Concat std::string and number by std to std::string_stddev 94.1 ns 94.1 ns 4
Concat std::string and number by std to std::string_cv 9.21 % 9.21 % 4
Concat std::string and number by StrExpr to std::string_mean 449 ns 449 ns 4
Concat std::string and number by StrExpr to std::string_median 450 ns 450 ns 4
Concat std::string and number by StrExpr to std::string_stddev 15.9 ns 15.9 ns 4
Concat std::string and number by StrExpr to std::string_cv 3.53 % 3.53 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 230 ns 230 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 226 ns 226 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 19.5 ns 19.5 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 8.51 % 8.51 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 239 ns 239 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 236 ns 236 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 29.4 ns 29.4 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 12.32 % 12.32 % 4
----- 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 1423 ns 1423 ns 4
Concat std::string and format hex number and literal to std::string_median 1421 ns 1421 ns 4
Concat std::string and format hex number and literal to std::string_stddev 41.6 ns 41.6 ns 4
Concat std::string and format hex number and literal to std::string_cv 2.92 % 2.92 % 4
std::format std::string and hex number by literal to std::string_mean 1601 ns 1601 ns 4
std::format std::string and hex number by literal to std::string_median 1604 ns 1604 ns 4
std::format std::string and hex number by literal to std::string_stddev 39.1 ns 39.1 ns 4
std::format std::string and hex number by literal to std::string_cv 2.44 % 2.44 % 4
Concat std::string and std::to_chars and string to std::string_mean 640 ns 640 ns 4
Concat std::string and std::to_chars and string to std::string_median 630 ns 630 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 23.5 ns 23.5 ns 4
Concat std::string and std::to_chars and string to std::string_cv 3.67 % 3.67 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 422 ns 422 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 416 ns 416 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 31.7 ns 31.7 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 7.51 % 7.51 % 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 212 ns 212 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 212 ns 212 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 10.8 ns 10.8 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 5.10 % 5.10 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 213 ns 213 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 209 ns 209 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 10.1 ns 10.1 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 4.72 % 4.72 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 486 ns 486 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 479 ns 479 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 20.9 ns 20.9 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 4.31 % 4.31 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 773 ns 773 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 787 ns 787 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 53.1 ns 53.1 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 6.87 % 6.87 % 4
----- format/vformat and subst/vsubst octal number ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
e_subst("art {} end", e_int<8, f::w<10> | f::p | f::z>(i))_mean 641 ns 641 ns 4
e_subst("art {} end", e_int<8, f::w<10> | f::p | f::z>(i))_median 632 ns 632 ns 4
e_subst("art {} end", e_int<8, f::w<10> | f::p | f::z>(i))_stddev 32.5 ns 32.5 ns 4
e_subst("art {} end", e_int<8, f::w<10> | f::p | f::z>(i))_cv 5.07 % 5.07 % 4
std::format("art {:#010o} end", i)_mean 1750 ns 1750 ns 4
std::format("art {:#010o} end", i)_median 1747 ns 1747 ns 4
std::format("art {:#010o} end", i)_stddev 62.7 ns 62.7 ns 4
std::format("art {:#010o} end", i)_cv 3.58 % 3.58 % 4
e_vsubst(pattern, e_int<8, f::w<10> | f::p | f::z>(i))_mean 1016 ns 1016 ns 4
e_vsubst(pattern, e_int<8, f::w<10> | f::p | f::z>(i))_median 1001 ns 1001 ns 4
e_vsubst(pattern, e_int<8, f::w<10> | f::p | f::z>(i))_stddev 50.7 ns 50.7 ns 4
e_vsubst(pattern, e_int<8, f::w<10> | f::p | f::z>(i))_cv 4.99 % 4.99 % 4
std::vformat(pattern, std::make_format_args(i))_mean 1747 ns 1747 ns 4
std::vformat(pattern, std::make_format_args(i))_median 1728 ns 1728 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 51.6 ns 51.6 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 2.95 % 2.95 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 96.4 ns 96.4 ns 4
Concat std::string by std to std::string_median 96.9 ns 96.9 ns 4
Concat std::string by std to std::string_stddev 1.68 ns 1.68 ns 4
Concat std::string by std to std::string_cv 1.74 % 1.74 % 4
Concat std::string by StrExpr to std::string_mean 111 ns 111 ns 4
Concat std::string by StrExpr to std::string_median 109 ns 109 ns 4
Concat std::string by StrExpr to std::string_stddev 5.51 ns 5.51 ns 4
Concat std::string by StrExpr to std::string_cv 4.98 % 4.98 % 4
Concat stringa by StrExpr to stringa_mean 101 ns 101 ns 4
Concat stringa by StrExpr to stringa_median 102 ns 102 ns 4
Concat stringa by StrExpr to stringa_stddev 4.02 ns 4.02 ns 4
Concat stringa by StrExpr to stringa_cv 4.00 % 4.00 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 149 ns 149 ns 4
Find concat three std::string_median 151 ns 151 ns 4
Find concat three std::string_stddev 5.11 ns 5.11 ns 4
Find concat three std::string_cv 3.42 % 3.42 % 4
Find concat three strexpr_mean 106 ns 106 ns 4
Find concat three strexpr_median 106 ns 106 ns 4
Find concat three strexpr_stddev 2.66 ns 2.66 ns 4
Find concat three strexpr_cv 2.51 % 2.51 % 4
Find concat three simstr_mean 73.1 ns 73.1 ns 4
Find concat three simstr_median 72.7 ns 72.7 ns 4
Find concat three simstr_stddev 2.42 ns 2.42 ns 4
Find concat three simstr_cv 3.32 % 3.32 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 18.0 ns 18.0 ns 4
BuildTypeNameStr 0/0_median 18.0 ns 18.0 ns 4
BuildTypeNameStr 0/0_stddev 0.794 ns 0.794 ns 4
BuildTypeNameStr 0/0_cv 4.41 % 4.41 % 4
BuildTypeNameExp 0/0_mean 17.5 ns 17.5 ns 4
BuildTypeNameExp 0/0_median 17.5 ns 17.5 ns 4
BuildTypeNameExp 0/0_stddev 0.955 ns 0.955 ns 4
BuildTypeNameExp 0/0_cv 5.47 % 5.47 % 4
BuildTypeNameSim 0/0_mean 15.6 ns 15.6 ns 4
BuildTypeNameSim 0/0_median 15.7 ns 15.7 ns 4
BuildTypeNameSim 0/0_stddev 0.798 ns 0.798 ns 4
BuildTypeNameSim 0/0_cv 5.11 % 5.11 % 4
BuildTypeNameStr 10/10_mean 296 ns 296 ns 4
BuildTypeNameStr 10/10_median 298 ns 298 ns 4
BuildTypeNameStr 10/10_stddev 28.0 ns 28.0 ns 4
BuildTypeNameStr 10/10_cv 9.47 % 9.47 % 4
BuildTypeNameExp 10/10_mean 106 ns 106 ns 4
BuildTypeNameExp 10/10_median 105 ns 105 ns 4
BuildTypeNameExp 10/10_stddev 7.19 ns 7.19 ns 4
BuildTypeNameExp 10/10_cv 6.80 % 6.80 % 4
BuildTypeNameSim 10/10_mean 72.9 ns 72.9 ns 4
BuildTypeNameSim 10/10_median 71.5 ns 71.5 ns 4
BuildTypeNameSim 10/10_stddev 6.88 ns 6.88 ns 4
BuildTypeNameSim 10/10_cv 9.43 % 9.43 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 496 ns 496 ns 4
Concat with replace str_median 485 ns 485 ns 4
Concat with replace str_stddev 42.6 ns 42.6 ns 4
Concat with replace str_cv 8.60 % 8.60 % 4
Concat with replace exp_mean 284 ns 284 ns 4
Concat with replace exp_median 284 ns 284 ns 4
Concat with replace exp_stddev 14.1 ns 14.1 ns 4
Concat with replace exp_cv 4.95 % 4.95 % 4
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 2.16 ns 2.16 ns 4
std::string e;_median 2.16 ns 2.16 ns 4
std::string e;_stddev 0.034 ns 0.034 ns 4
std::string e;_cv 1.57 % 1.57 % 4
std::string_view e;_mean 0.989 ns 0.989 ns 4
std::string_view e;_median 0.990 ns 0.990 ns 4
std::string_view e;_stddev 0.011 ns 0.011 ns 4
std::string_view e;_cv 1.10 % 1.10 % 4
ssa e;_mean 0.945 ns 0.945 ns 4
ssa e;_median 0.940 ns 0.940 ns 4
ssa e;_stddev 0.013 ns 0.013 ns 4
ssa e;_cv 1.39 % 1.39 % 4
stringa e;_mean 2.16 ns 2.16 ns 4
stringa e;_median 2.16 ns 2.16 ns 4
stringa e;_stddev 0.029 ns 0.029 ns 4
stringa e;_cv 1.34 % 1.34 % 4
lstringa<20> e;_mean 2.22 ns 2.22 ns 4
lstringa<20> e;_median 2.22 ns 2.22 ns 4
lstringa<20> e;_stddev 0.049 ns 0.049 ns 4
lstringa<20> e;_cv 2.22 % 2.22 % 4
lstringa<40> e;_mean 2.54 ns 2.54 ns 4
lstringa<40> e;_median 2.54 ns 2.54 ns 4
lstringa<40> e;_stddev 0.017 ns 0.017 ns 4
lstringa<40> e;_cv 0.68 % 0.68 % 4
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 2.29 ns 2.29 ns 4
std::string e = "Test text";_median 2.29 ns 2.29 ns 4
std::string e = "Test text";_stddev 0.019 ns 0.019 ns 4
std::string e = "Test text";_cv 0.84 % 0.84 % 4
std::string_view e = "Test text";_mean 1.24 ns 1.24 ns 4
std::string_view e = "Test text";_median 1.24 ns 1.24 ns 4
std::string_view e = "Test text";_stddev 0.013 ns 0.013 ns 4
std::string_view e = "Test text";_cv 1.04 % 1.04 % 4
ssa e = "Test text";_mean 0.976 ns 0.976 ns 4
ssa e = "Test text";_median 0.976 ns 0.976 ns 4
ssa e = "Test text";_stddev 0.011 ns 0.011 ns 4
ssa e = "Test text";_cv 1.14 % 1.14 % 4
stringa e = "Test text";_mean 2.22 ns 2.22 ns 4
stringa e = "Test text";_median 2.22 ns 2.22 ns 4
stringa e = "Test text";_stddev 0.044 ns 0.044 ns 4
stringa e = "Test text";_cv 1.97 % 1.97 % 4
lstringa<20> e = "Test text";_mean 2.64 ns 2.64 ns 4
lstringa<20> e = "Test text";_median 2.60 ns 2.60 ns 4
lstringa<20> e = "Test text";_stddev 0.073 ns 0.073 ns 4
lstringa<20> e = "Test text";_cv 2.78 % 2.78 % 4
lstringa<40> e = "Test text";_mean 2.65 ns 2.65 ns 4
lstringa<40> e = "Test text";_median 2.63 ns 2.63 ns 4
lstringa<40> e = "Test text";_stddev 0.064 ns 0.064 ns 4
lstringa<40> e = "Test text";_cv 2.40 % 2.40 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 16.3 ns 16.3 ns 4
std::string e = "123456789012345678901234567890";_median 16.3 ns 16.3 ns 4
std::string e = "123456789012345678901234567890";_stddev 0.257 ns 0.257 ns 4
std::string e = "123456789012345678901234567890";_cv 1.58 % 1.58 % 4
std::string_view e = "123456789012345678901234567890";_mean 1.23 ns 1.23 ns 4
std::string_view e = "123456789012345678901234567890";_median 1.23 ns 1.23 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.022 ns 0.022 ns 4
std::string_view e = "123456789012345678901234567890";_cv 1.79 % 1.79 % 4
ssa e = "123456789012345678901234567890";_mean 0.976 ns 0.976 ns 4
ssa e = "123456789012345678901234567890";_median 0.976 ns 0.976 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.016 ns 0.016 ns 4
ssa e = "123456789012345678901234567890";_cv 1.61 % 1.61 % 4
stringa e = "123456789012345678901234567890";_mean 2.27 ns 2.28 ns 4
stringa e = "123456789012345678901234567890";_median 2.27 ns 2.27 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.062 ns 0.061 ns 4
stringa e = "123456789012345678901234567890";_cv 2.72 % 2.69 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 17.1 ns 17.1 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 17.2 ns 17.2 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 0.533 ns 0.533 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 3.11 % 3.11 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 3.01 ns 3.01 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 2.99 ns 2.99 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.045 ns 0.045 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 1.50 % 1.50 % 4
----- 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 2.21 ns 2.21 ns 4
std::string e = "Test text"; auto c{e};_median 2.22 ns 2.22 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.039 ns 0.039 ns 4
std::string e = "Test text"; auto c{e};_cv 1.77 % 1.77 % 4
std::string_view e = "Test text"; auto c{e};_mean 1.24 ns 1.24 ns 4
std::string_view e = "Test text"; auto c{e};_median 1.23 ns 1.23 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.026 ns 0.026 ns 4
std::string_view e = "Test text"; auto c{e};_cv 2.11 % 2.11 % 4
ssa e = "Test text"; auto c{e};_mean 1.23 ns 1.23 ns 4
ssa e = "Test text"; auto c{e};_median 1.24 ns 1.24 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.032 ns 0.032 ns 4
ssa e = "Test text"; auto c{e};_cv 2.60 % 2.60 % 4
stringa e = "Test text"; auto c{e};_mean 2.64 ns 2.64 ns 4
stringa e = "Test text"; auto c{e};_median 2.66 ns 2.66 ns 4
stringa e = "Test text"; auto c{e};_stddev 0.081 ns 0.081 ns 4
stringa e = "Test text"; auto c{e};_cv 3.07 % 3.07 % 4
lstringa<20> e = "Test text"; auto c{e};_mean 15.5 ns 15.5 ns 4
lstringa<20> e = "Test text"; auto c{e};_median 15.7 ns 15.7 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.843 ns 0.843 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 5.43 % 5.43 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 14.8 ns 14.8 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 14.8 ns 14.8 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.518 ns 0.518 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 3.49 % 3.49 % 4
----- Create copy of Str with 30 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890"; auto c{e};_mean 36.8 ns 36.8 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 36.6 ns 36.6 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 2.54 ns 2.54 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 6.89 % 6.89 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 1.25 ns 1.25 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 1.25 ns 1.25 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.020 ns 0.020 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.57 % 1.60 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.975 ns 0.975 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.975 ns 0.975 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.012 ns 0.012 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.25 % 1.25 % 4
stringa e = "123456789012345678901234567890"; auto c{e};_mean 2.24 ns 2.24 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_median 2.22 ns 2.22 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.069 ns 0.069 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 3.07 % 3.07 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 15.9 ns 15.9 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 15.9 ns 15.9 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.371 ns 0.371 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.33 % 2.33 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 14.8 ns 14.8 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 14.8 ns 14.8 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.454 ns 0.454 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 3.06 % 3.06 % 4
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 44.9 ns 44.9 ns 4
std::string::find;_median 44.9 ns 44.9 ns 4
std::string::find;_stddev 0.762 ns 0.762 ns 4
std::string::find;_cv 1.70 % 1.70 % 4
std::string_view::find;_mean 51.6 ns 51.6 ns 4
std::string_view::find;_median 51.5 ns 51.5 ns 4
std::string_view::find;_stddev 1.28 ns 1.28 ns 4
std::string_view::find;_cv 2.49 % 2.49 % 4
ssa::find;_mean 49.0 ns 49.0 ns 4
ssa::find;_median 48.7 ns 48.7 ns 4
ssa::find;_stddev 0.800 ns 0.800 ns 4
ssa::find;_cv 1.63 % 1.63 % 4
stringa::find;_mean 51.1 ns 51.1 ns 4
stringa::find;_median 51.1 ns 51.1 ns 4
stringa::find;_stddev 0.781 ns 0.781 ns 4
stringa::find;_cv 1.53 % 1.53 % 4
lstringa<20>::find;_mean 43.9 ns 43.9 ns 4
lstringa<20>::find;_median 43.8 ns 43.9 ns 4
lstringa<20>::find;_stddev 1.06 ns 1.05 ns 4
lstringa<20>::find;_cv 2.42 % 2.40 % 4
lstringa<40>::find;_mean 44.6 ns 44.6 ns 4
lstringa<40>::find;_median 44.5 ns 44.5 ns 4
lstringa<40>::find;_stddev 1.12 ns 1.12 ns 4
lstringa<40>::find;_cv 2.52 % 2.52 % 4
------- 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 35.7 ns 35.7 ns 4
std::string copy{str_with_len_N};/15_median 35.6 ns 35.6 ns 4
std::string copy{str_with_len_N};/15_stddev 1.49 ns 1.49 ns 4
std::string copy{str_with_len_N};/15_cv 4.17 % 4.17 % 4
std::string copy{str_with_len_N};/16_mean 35.9 ns 35.9 ns 4
std::string copy{str_with_len_N};/16_median 35.7 ns 35.7 ns 4
std::string copy{str_with_len_N};/16_stddev 0.839 ns 0.839 ns 4
std::string copy{str_with_len_N};/16_cv 2.34 % 2.34 % 4
std::string copy{str_with_len_N};/23_mean 36.3 ns 36.3 ns 4
std::string copy{str_with_len_N};/23_median 36.3 ns 36.3 ns 4
std::string copy{str_with_len_N};/23_stddev 1.18 ns 1.18 ns 4
std::string copy{str_with_len_N};/23_cv 3.26 % 3.26 % 4
std::string copy{str_with_len_N};/24_mean 37.4 ns 37.4 ns 4
std::string copy{str_with_len_N};/24_median 37.4 ns 37.4 ns 4
std::string copy{str_with_len_N};/24_stddev 2.12 ns 2.12 ns 4
std::string copy{str_with_len_N};/24_cv 5.66 % 5.66 % 4
std::string copy{str_with_len_N};/32_mean 41.8 ns 41.8 ns 4
std::string copy{str_with_len_N};/32_median 42.2 ns 42.2 ns 4
std::string copy{str_with_len_N};/32_stddev 1.32 ns 1.32 ns 4
std::string copy{str_with_len_N};/32_cv 3.15 % 3.15 % 4
std::string copy{str_with_len_N};/64_mean 40.9 ns 40.9 ns 4
std::string copy{str_with_len_N};/64_median 41.0 ns 41.0 ns 4
std::string copy{str_with_len_N};/64_stddev 1.54 ns 1.54 ns 4
std::string copy{str_with_len_N};/64_cv 3.77 % 3.77 % 4
std::string copy{str_with_len_N};/128_mean 43.9 ns 43.9 ns 4
std::string copy{str_with_len_N};/128_median 44.0 ns 44.0 ns 4
std::string copy{str_with_len_N};/128_stddev 1.55 ns 1.55 ns 4
std::string copy{str_with_len_N};/128_cv 3.53 % 3.53 % 4
std::string copy{str_with_len_N};/256_mean 53.7 ns 53.7 ns 4
std::string copy{str_with_len_N};/256_median 48.1 ns 48.1 ns 4
std::string copy{str_with_len_N};/256_stddev 11.6 ns 11.6 ns 4
std::string copy{str_with_len_N};/256_cv 21.59 % 21.59 % 4
std::string copy{str_with_len_N};/512_mean 50.9 ns 50.9 ns 4
std::string copy{str_with_len_N};/512_median 50.3 ns 50.3 ns 4
std::string copy{str_with_len_N};/512_stddev 2.22 ns 2.22 ns 4
std::string copy{str_with_len_N};/512_cv 4.36 % 4.36 % 4
std::string copy{str_with_len_N};/1024_mean 58.1 ns 58.1 ns 4
std::string copy{str_with_len_N};/1024_median 57.0 ns 57.0 ns 4
std::string copy{str_with_len_N};/1024_stddev 3.32 ns 3.32 ns 4
std::string copy{str_with_len_N};/1024_cv 5.72 % 5.72 % 4
std::string copy{str_with_len_N};/2048_mean 83.5 ns 83.5 ns 4
std::string copy{str_with_len_N};/2048_median 83.9 ns 83.9 ns 4
std::string copy{str_with_len_N};/2048_stddev 4.41 ns 4.41 ns 4
std::string copy{str_with_len_N};/2048_cv 5.28 % 5.28 % 4
std::string copy{str_with_len_N};/4096_mean 126 ns 126 ns 4
std::string copy{str_with_len_N};/4096_median 126 ns 126 ns 4
std::string copy{str_with_len_N};/4096_stddev 2.21 ns 2.21 ns 4
std::string copy{str_with_len_N};/4096_cv 1.75 % 1.75 % 4
stringa copy{str_with_len_N};/15_mean 2.57 ns 2.57 ns 4
stringa copy{str_with_len_N};/15_median 2.55 ns 2.55 ns 4
stringa copy{str_with_len_N};/15_stddev 0.056 ns 0.056 ns 4
stringa copy{str_with_len_N};/15_cv 2.19 % 2.19 % 4
stringa copy{str_with_len_N};/16_mean 4.88 ns 4.88 ns 4
stringa copy{str_with_len_N};/16_median 4.88 ns 4.88 ns 4
stringa copy{str_with_len_N};/16_stddev 0.131 ns 0.131 ns 4
stringa copy{str_with_len_N};/16_cv 2.68 % 2.68 % 4
stringa copy{str_with_len_N};/23_mean 4.85 ns 4.85 ns 4
stringa copy{str_with_len_N};/23_median 4.82 ns 4.82 ns 4
stringa copy{str_with_len_N};/23_stddev 0.130 ns 0.130 ns 4
stringa copy{str_with_len_N};/23_cv 2.69 % 2.69 % 4
stringa copy{str_with_len_N};/24_mean 4.88 ns 4.88 ns 4
stringa copy{str_with_len_N};/24_median 4.90 ns 4.90 ns 4
stringa copy{str_with_len_N};/24_stddev 0.083 ns 0.083 ns 4
stringa copy{str_with_len_N};/24_cv 1.70 % 1.70 % 4
stringa copy{str_with_len_N};/32_mean 4.97 ns 4.97 ns 4
stringa copy{str_with_len_N};/32_median 4.97 ns 4.97 ns 4
stringa copy{str_with_len_N};/32_stddev 0.060 ns 0.060 ns 4
stringa copy{str_with_len_N};/32_cv 1.20 % 1.20 % 4
stringa copy{str_with_len_N};/64_mean 4.98 ns 4.98 ns 4
stringa copy{str_with_len_N};/64_median 4.97 ns 4.97 ns 4
stringa copy{str_with_len_N};/64_stddev 0.051 ns 0.051 ns 4
stringa copy{str_with_len_N};/64_cv 1.02 % 1.02 % 4
stringa copy{str_with_len_N};/128_mean 4.88 ns 4.88 ns 4
stringa copy{str_with_len_N};/128_median 4.89 ns 4.89 ns 4
stringa copy{str_with_len_N};/128_stddev 0.094 ns 0.094 ns 4
stringa copy{str_with_len_N};/128_cv 1.93 % 1.93 % 4
stringa copy{str_with_len_N};/256_mean 4.84 ns 4.84 ns 4
stringa copy{str_with_len_N};/256_median 4.85 ns 4.85 ns 4
stringa copy{str_with_len_N};/256_stddev 0.054 ns 0.054 ns 4
stringa copy{str_with_len_N};/256_cv 1.11 % 1.11 % 4
stringa copy{str_with_len_N};/512_mean 4.82 ns 4.82 ns 4
stringa copy{str_with_len_N};/512_median 4.82 ns 4.82 ns 4
stringa copy{str_with_len_N};/512_stddev 0.069 ns 0.069 ns 4
stringa copy{str_with_len_N};/512_cv 1.44 % 1.44 % 4
stringa copy{str_with_len_N};/1024_mean 4.85 ns 4.85 ns 4
stringa copy{str_with_len_N};/1024_median 4.86 ns 4.86 ns 4
stringa copy{str_with_len_N};/1024_stddev 0.078 ns 0.078 ns 4
stringa copy{str_with_len_N};/1024_cv 1.60 % 1.60 % 4
stringa copy{str_with_len_N};/2048_mean 4.85 ns 4.85 ns 4
stringa copy{str_with_len_N};/2048_median 4.84 ns 4.84 ns 4
stringa copy{str_with_len_N};/2048_stddev 0.071 ns 0.071 ns 4
stringa copy{str_with_len_N};/2048_cv 1.47 % 1.47 % 4
stringa copy{str_with_len_N};/4096_mean 4.80 ns 4.80 ns 4
stringa copy{str_with_len_N};/4096_median 4.79 ns 4.79 ns 4
stringa copy{str_with_len_N};/4096_stddev 0.059 ns 0.059 ns 4
stringa copy{str_with_len_N};/4096_cv 1.23 % 1.23 % 4
lstringa<16> copy{str_with_len_N};/15_mean 14.3 ns 14.3 ns 4
lstringa<16> copy{str_with_len_N};/15_median 14.1 ns 14.1 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.543 ns 0.543 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 3.80 % 3.80 % 4
lstringa<16> copy{str_with_len_N};/16_mean 14.7 ns 14.7 ns 4
lstringa<16> copy{str_with_len_N};/16_median 14.7 ns 14.7 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.980 ns 0.980 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 6.66 % 6.66 % 4
lstringa<16> copy{str_with_len_N};/23_mean 29.7 ns 29.7 ns 4
lstringa<16> copy{str_with_len_N};/23_median 29.2 ns 29.2 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 1.70 ns 1.70 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 5.71 % 5.71 % 4
lstringa<16> copy{str_with_len_N};/24_mean 29.6 ns 29.6 ns 4
lstringa<16> copy{str_with_len_N};/24_median 29.6 ns 29.6 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 1.16 ns 1.16 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 3.92 % 3.92 % 4
lstringa<16> copy{str_with_len_N};/32_mean 32.2 ns 32.2 ns 4
lstringa<16> copy{str_with_len_N};/32_median 32.0 ns 32.0 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 1.53 ns 1.53 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 4.76 % 4.76 % 4
lstringa<16> copy{str_with_len_N};/64_mean 34.5 ns 34.5 ns 4
lstringa<16> copy{str_with_len_N};/64_median 33.1 ns 33.1 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 3.54 ns 3.54 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 10.28 % 10.28 % 4
lstringa<16> copy{str_with_len_N};/128_mean 34.3 ns 34.3 ns 4
lstringa<16> copy{str_with_len_N};/128_median 33.6 ns 33.6 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 3.05 ns 3.05 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 8.90 % 8.90 % 4
lstringa<16> copy{str_with_len_N};/256_mean 48.1 ns 48.1 ns 4
lstringa<16> copy{str_with_len_N};/256_median 45.6 ns 45.6 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 10.0 ns 10.0 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 20.88 % 20.88 % 4
lstringa<16> copy{str_with_len_N};/512_mean 47.2 ns 47.2 ns 4
lstringa<16> copy{str_with_len_N};/512_median 47.9 ns 47.9 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 2.80 ns 2.80 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 5.94 % 5.94 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 53.7 ns 53.7 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 53.9 ns 53.9 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 2.38 ns 2.38 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 4.42 % 4.42 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 79.5 ns 79.5 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 81.1 ns 81.1 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 4.94 ns 4.94 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 6.22 % 6.22 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 123 ns 123 ns 4
lstringa<16> copy{str_with_len_N};/4096_median 124 ns 124 ns 4
lstringa<16> copy{str_with_len_N};/4096_stddev 6.50 ns 6.50 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 5.30 % 5.30 % 4
lstringa<512> copy{str_with_len_N};/15_mean 14.8 ns 14.8 ns 4
lstringa<512> copy{str_with_len_N};/15_median 14.7 ns 14.7 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.742 ns 0.742 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 5.01 % 5.01 % 4
lstringa<512> copy{str_with_len_N};/16_mean 15.7 ns 15.7 ns 4
lstringa<512> copy{str_with_len_N};/16_median 15.7 ns 15.7 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.708 ns 0.708 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 4.51 % 4.51 % 4
lstringa<512> copy{str_with_len_N};/23_mean 15.3 ns 15.3 ns 4
lstringa<512> copy{str_with_len_N};/23_median 15.0 ns 15.0 ns 4
lstringa<512> copy{str_with_len_N};/23_stddev 0.749 ns 0.749 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 4.91 % 4.91 % 4
lstringa<512> copy{str_with_len_N};/24_mean 15.2 ns 15.2 ns 4
lstringa<512> copy{str_with_len_N};/24_median 15.3 ns 15.3 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 1.15 ns 1.15 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 7.54 % 7.54 % 4
lstringa<512> copy{str_with_len_N};/32_mean 18.3 ns 18.3 ns 4
lstringa<512> copy{str_with_len_N};/32_median 18.5 ns 18.5 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.581 ns 0.566 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 3.17 % 3.09 % 4
lstringa<512> copy{str_with_len_N};/64_mean 18.2 ns 18.2 ns 4
lstringa<512> copy{str_with_len_N};/64_median 17.7 ns 17.7 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 1.53 ns 1.53 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 8.39 % 8.39 % 4
lstringa<512> copy{str_with_len_N};/128_mean 19.2 ns 19.2 ns 4
lstringa<512> copy{str_with_len_N};/128_median 18.5 ns 18.5 ns 4
lstringa<512> copy{str_with_len_N};/128_stddev 1.98 ns 1.97 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 10.30 % 10.26 % 4
lstringa<512> copy{str_with_len_N};/256_mean 19.6 ns 19.6 ns 4
lstringa<512> copy{str_with_len_N};/256_median 19.8 ns 19.8 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 0.928 ns 0.928 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 4.74 % 4.74 % 4
lstringa<512> copy{str_with_len_N};/512_mean 22.9 ns 22.9 ns 4
lstringa<512> copy{str_with_len_N};/512_median 23.1 ns 23.1 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 1.17 ns 1.17 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 5.12 % 5.12 % 4
lstringa<512> copy{str_with_len_N};/1024_mean 57.1 ns 57.1 ns 4
lstringa<512> copy{str_with_len_N};/1024_median 56.8 ns 56.8 ns 4
lstringa<512> copy{str_with_len_N};/1024_stddev 3.27 ns 3.27 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 5.73 % 5.73 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 79.9 ns 79.9 ns 4
lstringa<512> copy{str_with_len_N};/2048_median 80.3 ns 80.3 ns 4
lstringa<512> copy{str_with_len_N};/2048_stddev 4.01 ns 4.01 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 5.02 % 5.02 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 123 ns 123 ns 4
lstringa<512> copy{str_with_len_N};/4096_median 124 ns 124 ns 4
lstringa<512> copy{str_with_len_N};/4096_stddev 4.11 ns 4.11 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 3.34 % 3.34 % 4
----- 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 71.7 ns 71.7 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 71.9 ns 71.9 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 1.71 ns 1.71 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 2.39 % 2.39 % 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 27.1 ns 27.1 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 27.1 ns 27.1 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.311 ns 0.311 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 1.15 % 1.15 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 18.7 ns 18.7 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 18.7 ns 18.7 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.374 ns 0.374 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.00 % 2.00 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 17.0 ns 17.0 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 16.7 ns 16.7 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.591 ns 0.591 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.48 % 3.48 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 16.9 ns 16.9 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 16.7 ns 16.7 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.529 ns 0.529 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.14 % 3.14 % 4
----- 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 54.3 ns 54.3 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 54.5 ns 54.5 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.768 ns 0.768 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.42 % 1.42 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 28.7 ns 28.7 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 28.7 ns 28.7 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.768 ns 0.768 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 2.68 % 2.68 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 17.7 ns 17.7 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 17.7 ns 17.7 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.613 ns 0.613 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.46 % 3.46 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 16.0 ns 16.0 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 16.0 ns 16.0 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.157 ns 0.157 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.98 % 0.98 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 16.0 ns 16.0 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 15.9 ns 15.9 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.261 ns 0.261 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.63 % 1.63 % 4
----- 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 81.3 ns 81.3 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 79.5 ns 79.5 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 6.70 ns 6.70 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 8.24 % 8.24 % 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 24.5 ns 24.5 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 24.6 ns 24.6 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 1.10 ns 1.10 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 4.51 % 4.51 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 23.2 ns 23.2 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 22.6 ns 22.6 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 1.13 ns 1.13 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 4.88 % 4.88 % 4
----- 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 197 ns 197 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 194 ns 194 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 9.55 ns 9.55 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 4.85 % 4.85 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 107 ns 107 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 107 ns 107 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 1.93 ns 1.93 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 1.81 % 1.81 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 42.3 ns 42.3 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_median 42.0 ns 42.0 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.944 ns 0.944 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 2.23 % 2.23 % 4
-- 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 4356 ns 4356 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 4372 ns 4372 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 80.7 ns 80.7 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 1.85 % 1.85 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 595 ns 595 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 598 ns 598 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 8.25 ns 8.25 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 1.39 % 1.39 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 741 ns 741 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 743 ns 743 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 12.1 ns 12.1 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 1.64 % 1.64 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 571 ns 571 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 568 ns 568 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 10.6 ns 10.6 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 1.86 % 1.86 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 464 ns 464 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 463 ns 463 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 13.8 ns 13.8 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 2.98 % 2.98 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 396 ns 396 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 397 ns 397 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 4.18 ns 4.18 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 1.06 % 1.06 % 4
-- 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 4443 ns 4443 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 4455 ns 4455 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 98.6 ns 98.6 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 2.22 % 2.22 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1968 ns 1968 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1969 ns 1969 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 54.7 ns 54.7 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 2.78 % 2.78 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 921 ns 921 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 934 ns 934 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 43.3 ns 43.3 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.70 % 4.70 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 694 ns 694 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 671 ns 671 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 80.4 ns 80.4 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 11.59 % 11.59 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 656 ns 656 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 651 ns 651 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 78.9 ns 78.9 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 12.04 % 12.04 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 543 ns 543 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 541 ns 541 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 33.4 ns 33.4 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 6.16 % 6.16 % 4
-- 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 223755 ns 223755 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 224389 ns 224389 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 3498 ns 3498 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.56 % 1.56 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 106717 ns 106717 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 106313 ns 106313 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 3516 ns 3516 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.29 % 3.29 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 40706 ns 40706 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 40797 ns 40797 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1694 ns 1694 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.16 % 4.16 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 39893 ns 39893 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 40571 ns 40571 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 2253 ns 2253 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 5.65 % 5.65 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 39281 ns 39281 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 39334 ns 39334 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1299 ns 1299 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.31 % 3.31 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 39556 ns 39556 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 39444 ns 39444 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 682 ns 682 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.72 % 1.72 % 4
-- 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 4753 ns 4753 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 4650 ns 4650 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 325 ns 325 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 6.83 % 6.83 % 4
std::string str; ... str += str_var1 + str_var2;_mean 2557 ns 2557 ns 4
std::string str; ... str += str_var1 + str_var2;_median 2555 ns 2555 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 64.5 ns 64.5 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 2.52 % 2.52 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 1248 ns 1248 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 1211 ns 1211 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 173 ns 173 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 13.85 % 13.85 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 1085 ns 1085 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 1074 ns 1074 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 35.5 ns 35.5 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 3.27 % 3.27 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 934 ns 934 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 920 ns 920 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 75.8 ns 75.8 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_cv 8.12 % 8.12 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 850 ns 850 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 835 ns 835 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 37.4 ns 37.4 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 4.40 % 4.40 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 6507 ns 6507 ns 4
std::stringstream str; str << "test = " << k << " times";_median 6556 ns 6556 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 189 ns 189 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 2.90 % 2.90 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 1696 ns 1696 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 1668 ns 1668 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 116 ns 116 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 6.81 % 6.81 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2885 ns 2885 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2885 ns 2885 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 38.2 ns 38.2 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.32 % 1.32 % 4
std::string str = std::format("test = {} times", k);_mean 2102 ns 2102 ns 4
std::string str = std::format("test = {} times", k);_median 2077 ns 2077 ns 4
std::string str = std::format("test = {} times", k);_stddev 89.9 ns 89.9 ns 4
std::string str = std::format("test = {} times", k);_cv 4.28 % 4.28 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 3013 ns 3013 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 3015 ns 3015 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 44.0 ns 44.0 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 1.46 % 1.46 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 2433 ns 2433 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 2438 ns 2438 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 56.8 ns 56.8 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 2.33 % 2.33 % 4
lstringa<8> str = "test = " + k + " times";_mean 641 ns 641 ns 4
lstringa<8> str = "test = " + k + " times";_median 647 ns 647 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 44.8 ns 44.8 ns 4
lstringa<8> str = "test = " + k + " times";_cv 7.00 % 7.00 % 4
lstringa<32> str = "test = " + k + " times";_mean 374 ns 374 ns 4
lstringa<32> str = "test = " + k + " times";_median 384 ns 384 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 31.6 ns 31.6 ns 4
lstringa<32> str = "test = " + k + " times";_cv 8.45 % 8.45 % 4
stringa str = "test = " + k + " times";_mean 561 ns 561 ns 4
stringa str = "test = " + k + " times";_median 559 ns 559 ns 4
stringa str = "test = " + k + " times";_stddev 9.54 ns 9.54 ns 4
stringa str = "test = " + k + " times";_cv 1.70 % 1.70 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 643 ns 643 ns 4
std::string::find + substr + std::strtol_median 639 ns 639 ns 4
std::string::find + substr + std::strtol_stddev 15.4 ns 15.4 ns 4
std::string::find + substr + std::strtol_cv 2.39 % 2.39 % 4
ssa::splitter + ssa::as_int_mean 278 ns 278 ns 4
ssa::splitter + ssa::as_int_median 278 ns 278 ns 4
ssa::splitter + ssa::as_int_stddev 4.84 ns 4.84 ns 4
ssa::splitter + ssa::as_int_cv 1.74 % 1.74 % 4
ssa::splitf + functor_mean 337 ns 337 ns 4
ssa::splitf + functor_median 336 ns 336 ns 4
ssa::splitf + functor_stddev 21.0 ns 21.0 ns 4
ssa::splitf + functor_cv 6.23 % 6.23 % 4
-- 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 3545 ns 3545 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 3430 ns 3430 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 366 ns 366 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 10.33 % 10.33 % 4
replace symbols with std::string find_first_of + replace_mean 4741 ns 4741 ns 4
replace symbols with std::string find_first_of + replace_median 4711 ns 4711 ns 4
replace symbols with std::string find_first_of + replace_stddev 140 ns 140 ns 4
replace symbols with std::string find_first_of + replace_cv 2.96 % 2.96 % 4
replace symbols with std::string_view find_first_of + copy_mean 3504 ns 3504 ns 4
replace symbols with std::string_view find_first_of + copy_median 3441 ns 3441 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 200 ns 200 ns 4
replace symbols with std::string_view find_first_of + copy_cv 5.72 % 5.72 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 3605 ns 3605 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 3614 ns 3614 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 171 ns 171 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 4.76 % 4.76 % 4
replace runtime symbols with simstr and memorization of all search results_mean 3154 ns 3154 ns 4
replace runtime symbols with simstr and memorization of all search results_median 3170 ns 3170 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 73.9 ns 73.9 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 2.34 % 2.34 % 4
replace const symbols with string expressions and without remembering all search results_mean 2939 ns 2939 ns 4
replace const symbols with string expressions and without remembering all search results_median 2894 ns 2894 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 125 ns 125 ns 4
replace const symbols with string expressions and without remembering all search results_cv 4.25 % 4.25 % 4
replace const symbols with string expressions and memorization of all search results_mean 2859 ns 2859 ns 4
replace const symbols with string expressions and memorization of all search results_median 2870 ns 2870 ns 4
replace const symbols with string expressions and memorization of all search results_stddev 77.1 ns 77.1 ns 4
replace const symbols with string expressions and memorization of all search results_cv 2.69 % 2.69 % 4
-- 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 436 ns 436 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 433 ns 433 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 15.4 ns 15.4 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 3.53 % 3.53 % 4
Short replace symbols with std::string find_first_of + replace_mean 510 ns 510 ns 4
Short replace symbols with std::string find_first_of + replace_median 516 ns 516 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 14.7 ns 14.7 ns 4
Short replace symbols with std::string find_first_of + replace_cv 2.89 % 2.89 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 440 ns 440 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 428 ns 428 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 58.6 ns 58.6 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 13.30 % 13.30 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 386 ns 386 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 384 ns 384 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 9.16 ns 9.16 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 2.37 % 2.37 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 420 ns 420 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 423 ns 423 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 19.6 ns 19.6 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 4.66 % 4.66 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 260 ns 260 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 257 ns 257 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 17.1 ns 17.0 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 6.56 % 6.54 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 313 ns 313 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 314 ns 314 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 14.3 ns 14.3 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 4.57 % 4.57 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 377 ns 377 ns 4
replace bb to ---- in std::string|64_median 371 ns 371 ns 4
replace bb to ---- in std::string|64_stddev 19.8 ns 19.8 ns 4
replace bb to ---- in std::string|64_cv 5.25 % 5.25 % 4
replace bb to ---- in std::string|256_mean 1421 ns 1421 ns 4
replace bb to ---- in std::string|256_median 1420 ns 1420 ns 4
replace bb to ---- in std::string|256_stddev 20.1 ns 20.1 ns 4
replace bb to ---- in std::string|256_cv 1.41 % 1.41 % 4
replace bb to ---- in std::string|512_mean 2623 ns 2623 ns 4
replace bb to ---- in std::string|512_median 2613 ns 2613 ns 4
replace bb to ---- in std::string|512_stddev 61.2 ns 61.2 ns 4
replace bb to ---- in std::string|512_cv 2.33 % 2.33 % 4
replace bb to ---- in std::string|1024_mean 5482 ns 5482 ns 4
replace bb to ---- in std::string|1024_median 5450 ns 5450 ns 4
replace bb to ---- in std::string|1024_stddev 212 ns 212 ns 4
replace bb to ---- in std::string|1024_cv 3.86 % 3.86 % 4
replace bb to ---- in std::string|2048_mean 13478 ns 13478 ns 4
replace bb to ---- in std::string|2048_median 13589 ns 13589 ns 4
replace bb to ---- in std::string|2048_stddev 460 ns 460 ns 4
replace bb to ---- in std::string|2048_cv 3.42 % 3.42 % 4
replace bb to ---- in lstringa<8>|64_mean 311 ns 311 ns 4
replace bb to ---- in lstringa<8>|64_median 311 ns 311 ns 4
replace bb to ---- in lstringa<8>|64_stddev 3.83 ns 3.83 ns 4
replace bb to ---- in lstringa<8>|64_cv 1.23 % 1.23 % 4
replace bb to ---- in lstringa<8>|256_mean 1149 ns 1149 ns 4
replace bb to ---- in lstringa<8>|256_median 1140 ns 1140 ns 4
replace bb to ---- in lstringa<8>|256_stddev 116 ns 115 ns 4
replace bb to ---- in lstringa<8>|256_cv 10.06 % 10.03 % 4
replace bb to ---- in lstringa<8>|512_mean 2165 ns 2165 ns 4
replace bb to ---- in lstringa<8>|512_median 2136 ns 2136 ns 4
replace bb to ---- in lstringa<8>|512_stddev 90.9 ns 90.9 ns 4
replace bb to ---- in lstringa<8>|512_cv 4.20 % 4.20 % 4
replace bb to ---- in lstringa<8>|1024_mean 3868 ns 3868 ns 4
replace bb to ---- in lstringa<8>|1024_median 3870 ns 3870 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 88.0 ns 88.0 ns 4
replace bb to ---- in lstringa<8>|1024_cv 2.28 % 2.28 % 4
replace bb to ---- in lstringa<8>|2048_mean 7737 ns 7737 ns 4
replace bb to ---- in lstringa<8>|2048_median 7562 ns 7562 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 699 ns 699 ns 4
replace bb to ---- in lstringa<8>|2048_cv 9.03 % 9.03 % 4
replace bb to ---- by init stringa|64_mean 226 ns 226 ns 4
replace bb to ---- by init stringa|64_median 226 ns 226 ns 4
replace bb to ---- by init stringa|64_stddev 7.57 ns 7.57 ns 4
replace bb to ---- by init stringa|64_cv 3.35 % 3.35 % 4
replace bb to ---- by init stringa|256_mean 790 ns 790 ns 4
replace bb to ---- by init stringa|256_median 776 ns 776 ns 4
replace bb to ---- by init stringa|256_stddev 50.7 ns 50.7 ns 4
replace bb to ---- by init stringa|256_cv 6.41 % 6.41 % 4
replace bb to ---- by init stringa|512_mean 1685 ns 1685 ns 4
replace bb to ---- by init stringa|512_median 1675 ns 1675 ns 4
replace bb to ---- by init stringa|512_stddev 54.3 ns 54.3 ns 4
replace bb to ---- by init stringa|512_cv 3.22 % 3.22 % 4
replace bb to ---- by init stringa|1024_mean 3603 ns 3603 ns 4
replace bb to ---- by init stringa|1024_median 3555 ns 3555 ns 4
replace bb to ---- by init stringa|1024_stddev 122 ns 122 ns 4
replace bb to ---- by init stringa|1024_cv 3.39 % 3.39 % 4
replace bb to ---- by init stringa|2048_mean 7600 ns 7600 ns 4
replace bb to ---- by init stringa|2048_median 7529 ns 7529 ns 4
replace bb to ---- by init stringa|2048_stddev 240 ns 240 ns 4
replace bb to ---- by init stringa|2048_cv 3.16 % 3.16 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 268 ns 268 ns 4
replace bb to -- in std::string|64_median 259 ns 259 ns 4
replace bb to -- in std::string|64_stddev 21.3 ns 21.3 ns 4
replace bb to -- in std::string|64_cv 7.93 % 7.93 % 4
replace bb to -- in std::string|256_mean 987 ns 987 ns 4
replace bb to -- in std::string|256_median 989 ns 989 ns 4
replace bb to -- in std::string|256_stddev 36.6 ns 36.6 ns 4
replace bb to -- in std::string|256_cv 3.71 % 3.71 % 4
replace bb to -- in std::string|512_mean 1942 ns 1942 ns 4
replace bb to -- in std::string|512_median 1922 ns 1922 ns 4
replace bb to -- in std::string|512_stddev 68.6 ns 68.6 ns 4
replace bb to -- in std::string|512_cv 3.53 % 3.53 % 4
replace bb to -- in std::string|1024_mean 3660 ns 3660 ns 4
replace bb to -- in std::string|1024_median 3649 ns 3649 ns 4
replace bb to -- in std::string|1024_stddev 96.8 ns 96.8 ns 4
replace bb to -- in std::string|1024_cv 2.65 % 2.65 % 4
replace bb to -- in std::string|2048_mean 7038 ns 7038 ns 4
replace bb to -- in std::string|2048_median 6972 ns 6972 ns 4
replace bb to -- in std::string|2048_stddev 221 ns 221 ns 4
replace bb to -- in std::string|2048_cv 3.14 % 3.14 % 4
replace bb to -- in lstringa<8>|64_mean 229 ns 229 ns 4
replace bb to -- in lstringa<8>|64_median 228 ns 228 ns 4
replace bb to -- in lstringa<8>|64_stddev 9.54 ns 9.54 ns 4
replace bb to -- in lstringa<8>|64_cv 4.17 % 4.17 % 4
replace bb to -- in lstringa<8>|256_mean 776 ns 776 ns 4
replace bb to -- in lstringa<8>|256_median 771 ns 771 ns 4
replace bb to -- in lstringa<8>|256_stddev 23.4 ns 23.4 ns 4
replace bb to -- in lstringa<8>|256_cv 3.02 % 3.02 % 4
replace bb to -- in lstringa<8>|512_mean 1461 ns 1461 ns 4
replace bb to -- in lstringa<8>|512_median 1459 ns 1459 ns 4
replace bb to -- in lstringa<8>|512_stddev 69.2 ns 69.2 ns 4
replace bb to -- in lstringa<8>|512_cv 4.74 % 4.74 % 4
replace bb to -- in lstringa<8>|1024_mean 2897 ns 2897 ns 4
replace bb to -- in lstringa<8>|1024_median 2889 ns 2889 ns 4
replace bb to -- in lstringa<8>|1024_stddev 188 ns 188 ns 4
replace bb to -- in lstringa<8>|1024_cv 6.50 % 6.50 % 4
replace bb to -- in lstringa<8>|2048_mean 5674 ns 5674 ns 4
replace bb to -- in lstringa<8>|2048_median 5564 ns 5564 ns 4
replace bb to -- in lstringa<8>|2048_stddev 453 ns 453 ns 4
replace bb to -- in lstringa<8>|2048_cv 7.99 % 7.99 % 4
replace bb to -- by init stringa|64_mean 187 ns 187 ns 4
replace bb to -- by init stringa|64_median 189 ns 189 ns 4
replace bb to -- by init stringa|64_stddev 8.53 ns 8.53 ns 4
replace bb to -- by init stringa|64_cv 4.57 % 4.57 % 4
replace bb to -- by init stringa|256_mean 652 ns 652 ns 4
replace bb to -- by init stringa|256_median 655 ns 655 ns 4
replace bb to -- by init stringa|256_stddev 8.48 ns 8.48 ns 4
replace bb to -- by init stringa|256_cv 1.30 % 1.30 % 4
replace bb to -- by init stringa|512_mean 1221 ns 1221 ns 4
replace bb to -- by init stringa|512_median 1224 ns 1224 ns 4
replace bb to -- by init stringa|512_stddev 28.7 ns 28.7 ns 4
replace bb to -- by init stringa|512_cv 2.35 % 2.35 % 4
replace bb to -- by init stringa|1024_mean 2366 ns 2366 ns 4
replace bb to -- by init stringa|1024_median 2351 ns 2351 ns 4
replace bb to -- by init stringa|1024_stddev 42.5 ns 42.5 ns 4
replace bb to -- by init stringa|1024_cv 1.80 % 1.80 % 4
replace bb to -- by init stringa|2048_mean 5259 ns 5259 ns 4
replace bb to -- by init stringa|2048_median 5407 ns 5407 ns 4
replace bb to -- by init stringa|2048_stddev 496 ns 496 ns 4
replace bb to -- by init stringa|2048_cv 9.43 % 9.43 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3192661 ns 3192661 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 3204128 ns 3204128 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 65411 ns 65411 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 2.05 % 2.05 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3399083 ns 3399083 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3389908 ns 3389908 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 52033 ns 52033 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 1.53 % 1.53 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 3300905 ns 3300905 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 3285068 ns 3285068 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 66348 ns 66348 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 2.01 % 2.01 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 3845092 ns 3845092 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 3723926 ns 3723926 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 349796 ns 349796 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 9.10 % 9.10 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 3032 ns 3032 ns 4
Build func full name std::string;_median 3092 ns 3092 ns 4
Build func full name std::string;_stddev 250 ns 250 ns 4
Build func full name std::string;_cv 8.24 % 8.24 % 4
Build func full name std::string 1;_mean 3434 ns 3434 ns 4
Build func full name std::string 1;_median 3546 ns 3546 ns 4
Build func full name std::string 1;_stddev 322 ns 322 ns 4
Build func full name std::string 1;_cv 9.39 % 9.39 % 4
Build func full name std::stream;_mean 7330 ns 7330 ns 4
Build func full name std::stream;_median 7275 ns 7275 ns 4
Build func full name std::stream;_stddev 502 ns 502 ns 4
Build func full name std::stream;_cv 6.85 % 6.85 % 4
Build func full name stringa;_mean 1429 ns 1429 ns 4
Build func full name stringa;_median 1427 ns 1427 ns 4
Build func full name stringa;_stddev 94.1 ns 94.1 ns 4
Build func full name stringa;_cv 6.58 % 6.58 % 4
Build func full name stringa 1;_mean 1643 ns 1643 ns 4
Build func full name stringa 1;_median 1646 ns 1646 ns 4
Build func full name stringa 1;_stddev 68.1 ns 68.1 ns 4
Build func full name stringa 1;_cv 4.14 % 4.14 % 4