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

930 lines
138 KiB
Plaintext

Benchmarks of simstr, version 1.6.5
Sources: https://github.com/orefkov/simstr
Results: https://orefkov.github.io/simstr/results.html
Run on (32 X 2513.96 MHz CPU s)
Chrome/143.0.0.0 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 1217 ns 1217 ns 4
Concat std::string and number by std to std::string_median 1233 ns 1233 ns 4
Concat std::string and number by std to std::string_stddev 44.4 ns 44.4 ns 4
Concat std::string and number by std to std::string_cv 3.65 % 3.65 % 4
Concat std::string and number by StrExpr to std::string_mean 576 ns 576 ns 4
Concat std::string and number by StrExpr to std::string_median 576 ns 576 ns 4
Concat std::string and number by StrExpr to std::string_stddev 14.3 ns 14.3 ns 4
Concat std::string and number by StrExpr to std::string_cv 2.49 % 2.49 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 284 ns 284 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 279 ns 279 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 15.1 ns 15.1 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 5.32 % 5.32 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 257 ns 257 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 249 ns 249 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 22.3 ns 22.3 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 8.67 % 8.67 % 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 2352 ns 2352 ns 4
Concat std::string and format hex number and literal to std::string_median 2360 ns 2360 ns 4
Concat std::string and format hex number and literal to std::string_stddev 47.2 ns 47.2 ns 4
Concat std::string and format hex number and literal to std::string_cv 2.01 % 2.01 % 4
std::format std::string and hex number by literal to std::string_mean 2837 ns 2837 ns 4
std::format std::string and hex number by literal to std::string_median 2866 ns 2866 ns 4
std::format std::string and hex number by literal to std::string_stddev 75.6 ns 75.6 ns 4
std::format std::string and hex number by literal to std::string_cv 2.66 % 2.66 % 4
Concat std::string and std::to_chars and string to std::string_mean 730 ns 730 ns 4
Concat std::string and std::to_chars and string to std::string_median 738 ns 738 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 43.2 ns 43.2 ns 4
Concat std::string and std::to_chars and string to std::string_cv 5.92 % 5.92 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 501 ns 501 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 495 ns 495 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 15.1 ns 15.1 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 3.01 % 3.01 % 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 214 ns 214 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 216 ns 216 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 12.5 ns 12.5 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 5.84 % 5.84 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 211 ns 211 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 208 ns 208 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 16.5 ns 16.5 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 7.79 % 7.79 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 347 ns 347 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 350 ns 350 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 19.5 ns 19.5 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 5.63 % 5.63 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 912 ns 912 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 908 ns 908 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 22.5 ns 22.5 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 2.47 % 2.47 % 4
---- format/vformat and subst/vsubst octal number to 32 symbols result ----/repeats:1 0.000 ns 0.000 ns 1000000000000
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_mean 436 ns 436 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 437 ns 437 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 4.76 ns 4.76 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 1.09 % 1.09 % 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 672 ns 672 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 670 ns 670 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 43.9 ns 43.9 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 6.53 % 6.53 % 4
e_vsubst(pattern, i / 0x8a010_fmt)_mean 1446 ns 1446 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_median 1446 ns 1446 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 69.4 ns 69.4 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_cv 4.80 % 4.80 % 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 2218 ns 2218 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 2215 ns 2215 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 41.4 ns 41.4 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 1.87 % 1.87 % 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 2848 ns 2849 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 2843 ns 2843 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 19.6 ns 19.6 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 0.69 % 0.69 % 4
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 3033 ns 3033 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_median 3015 ns 3015 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 62.9 ns 62.9 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 2.07 % 2.07 % 4
std::vformat(pattern, std::make_format_args(i))_mean 3038 ns 3038 ns 4
std::vformat(pattern, std::make_format_args(i))_median 3042 ns 3042 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 127 ns 127 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 4.16 % 4.16 % 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 8529 ns 8529 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 8532 ns 8532 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 113 ns 113 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 1.33 % 1.33 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 124 ns 124 ns 4
Concat std::string by std to std::string_median 122 ns 122 ns 4
Concat std::string by std to std::string_stddev 5.77 ns 5.77 ns 4
Concat std::string by std to std::string_cv 4.64 % 4.64 % 4
Concat std::string by StrExpr to std::string_mean 133 ns 133 ns 4
Concat std::string by StrExpr to std::string_median 133 ns 133 ns 4
Concat std::string by StrExpr to std::string_stddev 4.58 ns 4.58 ns 4
Concat std::string by StrExpr to std::string_cv 3.45 % 3.45 % 4
Concat stringa by StrExpr to stringa_mean 103 ns 103 ns 4
Concat stringa by StrExpr to stringa_median 104 ns 104 ns 4
Concat stringa by StrExpr to stringa_stddev 3.70 ns 3.71 ns 4
Concat stringa by StrExpr to stringa_cv 3.59 % 3.59 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 214 ns 214 ns 4
Find concat three std::string_median 214 ns 214 ns 4
Find concat three std::string_stddev 2.85 ns 2.85 ns 4
Find concat three std::string_cv 1.33 % 1.33 % 4
Find concat three strexpr_mean 108 ns 108 ns 4
Find concat three strexpr_median 109 ns 109 ns 4
Find concat three strexpr_stddev 1.73 ns 1.73 ns 4
Find concat three strexpr_cv 1.61 % 1.61 % 4
Find concat three simstr_mean 63.2 ns 63.2 ns 4
Find concat three simstr_median 61.5 ns 61.5 ns 4
Find concat three simstr_stddev 4.01 ns 4.01 ns 4
Find concat three simstr_cv 6.34 % 6.34 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 21.9 ns 21.9 ns 4
BuildTypeNameStr 0/0_median 22.1 ns 22.1 ns 4
BuildTypeNameStr 0/0_stddev 0.375 ns 0.375 ns 4
BuildTypeNameStr 0/0_cv 1.71 % 1.71 % 4
BuildTypeNameExp 0/0_mean 27.7 ns 27.7 ns 4
BuildTypeNameExp 0/0_median 27.5 ns 27.5 ns 4
BuildTypeNameExp 0/0_stddev 0.803 ns 0.803 ns 4
BuildTypeNameExp 0/0_cv 2.90 % 2.90 % 4
BuildTypeNameSim 0/0_mean 20.4 ns 20.4 ns 4
BuildTypeNameSim 0/0_median 20.2 ns 20.2 ns 4
BuildTypeNameSim 0/0_stddev 0.685 ns 0.685 ns 4
BuildTypeNameSim 0/0_cv 3.36 % 3.36 % 4
BuildTypeNameStr 10/10_mean 368 ns 368 ns 4
BuildTypeNameStr 10/10_median 375 ns 375 ns 4
BuildTypeNameStr 10/10_stddev 15.1 ns 15.1 ns 4
BuildTypeNameStr 10/10_cv 4.10 % 4.10 % 4
BuildTypeNameExp 10/10_mean 124 ns 124 ns 4
BuildTypeNameExp 10/10_median 123 ns 123 ns 4
BuildTypeNameExp 10/10_stddev 7.15 ns 7.15 ns 4
BuildTypeNameExp 10/10_cv 5.78 % 5.78 % 4
BuildTypeNameSim 10/10_mean 77.3 ns 77.3 ns 4
BuildTypeNameSim 10/10_median 77.0 ns 77.0 ns 4
BuildTypeNameSim 10/10_stddev 2.64 ns 2.64 ns 4
BuildTypeNameSim 10/10_cv 3.42 % 3.42 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 514 ns 514 ns 4
Concat with replace str_median 517 ns 517 ns 4
Concat with replace str_stddev 6.29 ns 6.29 ns 4
Concat with replace str_cv 1.22 % 1.22 % 4
Concat with replace exp_mean 243 ns 243 ns 4
Concat with replace exp_median 244 ns 244 ns 4
Concat with replace exp_stddev 2.40 ns 2.40 ns 4
Concat with replace exp_cv 0.99 % 0.99 % 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.021 ns 0.021 ns 4
std::string e;_cv 0.97 % 0.97 % 4
std::string_view e;_mean 0.743 ns 0.743 ns 4
std::string_view e;_median 0.748 ns 0.748 ns 4
std::string_view e;_stddev 0.011 ns 0.011 ns 4
std::string_view e;_cv 1.46 % 1.46 % 4
ssa e;_mean 0.367 ns 0.367 ns 4
ssa e;_median 0.369 ns 0.369 ns 4
ssa e;_stddev 0.009 ns 0.009 ns 4
ssa e;_cv 2.44 % 2.44 % 4
stringa e;_mean 2.18 ns 2.18 ns 4
stringa e;_median 2.18 ns 2.18 ns 4
stringa e;_stddev 0.013 ns 0.013 ns 4
stringa e;_cv 0.61 % 0.60 % 4
lstringa<20> e;_mean 2.21 ns 2.21 ns 4
lstringa<20> e;_median 2.21 ns 2.21 ns 4
lstringa<20> e;_stddev 0.015 ns 0.015 ns 4
lstringa<20> e;_cv 0.69 % 0.69 % 4
lstringa<40> e;_mean 2.44 ns 2.44 ns 4
lstringa<40> e;_median 2.44 ns 2.44 ns 4
lstringa<40> e;_stddev 0.012 ns 0.012 ns 4
lstringa<40> e;_cv 0.49 % 0.49 % 4
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 2.45 ns 2.45 ns 4
std::string e = "Test text";_median 2.45 ns 2.45 ns 4
std::string e = "Test text";_stddev 0.034 ns 0.034 ns 4
std::string e = "Test text";_cv 1.38 % 1.38 % 4
std::string_view e = "Test text";_mean 1.10 ns 1.10 ns 4
std::string_view e = "Test text";_median 1.10 ns 1.10 ns 4
std::string_view e = "Test text";_stddev 0.017 ns 0.017 ns 4
std::string_view e = "Test text";_cv 1.51 % 1.51 % 4
ssa e = "Test text";_mean 0.732 ns 0.732 ns 4
ssa e = "Test text";_median 0.728 ns 0.728 ns 4
ssa e = "Test text";_stddev 0.022 ns 0.022 ns 4
ssa e = "Test text";_cv 2.96 % 2.96 % 4
stringa e = "Test text";_mean 2.21 ns 2.21 ns 4
stringa e = "Test text";_median 2.21 ns 2.21 ns 4
stringa e = "Test text";_stddev 0.022 ns 0.022 ns 4
stringa e = "Test text";_cv 0.97 % 0.97 % 4
lstringa<20> e = "Test text";_mean 2.77 ns 2.77 ns 4
lstringa<20> e = "Test text";_median 2.77 ns 2.77 ns 4
lstringa<20> e = "Test text";_stddev 0.008 ns 0.008 ns 4
lstringa<20> e = "Test text";_cv 0.27 % 0.27 % 4
lstringa<40> e = "Test text";_mean 2.94 ns 2.94 ns 4
lstringa<40> e = "Test text";_median 2.92 ns 2.92 ns 4
lstringa<40> e = "Test text";_stddev 0.141 ns 0.141 ns 4
lstringa<40> e = "Test text";_cv 4.78 % 4.78 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 22.8 ns 22.8 ns 4
std::string e = "123456789012345678901234567890";_median 22.6 ns 22.6 ns 4
std::string e = "123456789012345678901234567890";_stddev 0.563 ns 0.563 ns 4
std::string e = "123456789012345678901234567890";_cv 2.47 % 2.47 % 4
std::string_view e = "123456789012345678901234567890";_mean 1.10 ns 1.10 ns 4
std::string_view e = "123456789012345678901234567890";_median 1.10 ns 1.10 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.023 ns 0.023 ns 4
std::string_view e = "123456789012345678901234567890";_cv 2.09 % 2.09 % 4
ssa e = "123456789012345678901234567890";_mean 0.734 ns 0.734 ns 4
ssa e = "123456789012345678901234567890";_median 0.733 ns 0.733 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.006 ns 0.006 ns 4
ssa e = "123456789012345678901234567890";_cv 0.78 % 0.78 % 4
stringa e = "123456789012345678901234567890";_mean 2.19 ns 2.19 ns 4
stringa e = "123456789012345678901234567890";_median 2.18 ns 2.18 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.040 ns 0.040 ns 4
stringa e = "123456789012345678901234567890";_cv 1.80 % 1.80 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 23.2 ns 23.2 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 23.3 ns 23.3 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 0.376 ns 0.376 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 1.62 % 1.62 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 3.11 ns 3.11 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 3.14 ns 3.14 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.113 ns 0.113 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 3.64 % 3.64 % 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 3.69 ns 3.69 ns 4
std::string e = "Test text"; auto c{e};_median 3.72 ns 3.72 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.077 ns 0.077 ns 4
std::string e = "Test text"; auto c{e};_cv 2.10 % 2.10 % 4
std::string_view e = "Test text"; auto c{e};_mean 1.10 ns 1.10 ns 4
std::string_view e = "Test text"; auto c{e};_median 1.09 ns 1.09 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.011 ns 0.011 ns 4
std::string_view e = "Test text"; auto c{e};_cv 0.98 % 0.98 % 4
ssa e = "Test text"; auto c{e};_mean 1.10 ns 1.10 ns 4
ssa e = "Test text"; auto c{e};_median 1.11 ns 1.11 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.016 ns 0.016 ns 4
ssa e = "Test text"; auto c{e};_cv 1.47 % 1.47 % 4
stringa e = "Test text"; auto c{e};_mean 2.54 ns 2.54 ns 4
stringa e = "Test text"; auto c{e};_median 2.54 ns 2.54 ns 4
stringa e = "Test text"; auto c{e};_stddev 0.011 ns 0.011 ns 4
stringa e = "Test text"; auto c{e};_cv 0.43 % 0.44 % 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.3 ns 15.3 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.693 ns 0.693 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 4.46 % 4.46 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 17.3 ns 17.3 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 17.3 ns 17.3 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.552 ns 0.552 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 3.19 % 3.19 % 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 50.4 ns 50.4 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 49.8 ns 49.8 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 1.60 ns 1.60 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 3.17 % 3.17 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 1.10 ns 1.10 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 1.10 ns 1.10 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.019 ns 0.019 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.72 % 1.72 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.738 ns 0.738 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.733 ns 0.733 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.017 ns 0.017 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_cv 2.30 % 2.30 % 4
stringa e = "123456789012345678901234567890"; auto c{e};_mean 2.16 ns 2.16 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_median 2.16 ns 2.16 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.022 ns 0.022 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 1.03 % 1.03 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 22.7 ns 22.7 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 22.6 ns 22.6 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.613 ns 0.613 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.70 % 2.70 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 16.5 ns 16.5 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 16.8 ns 16.8 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.939 ns 0.939 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 5.68 % 5.68 % 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.8 ns 44.8 ns 4
std::string::find;_median 44.5 ns 44.5 ns 4
std::string::find;_stddev 1.42 ns 1.42 ns 4
std::string::find;_cv 3.18 % 3.18 % 4
std::string_view::find;_mean 45.9 ns 45.9 ns 4
std::string_view::find;_median 45.8 ns 45.8 ns 4
std::string_view::find;_stddev 0.626 ns 0.626 ns 4
std::string_view::find;_cv 1.36 % 1.36 % 4
ssa::find;_mean 43.9 ns 43.9 ns 4
ssa::find;_median 43.7 ns 43.7 ns 4
ssa::find;_stddev 1.10 ns 1.10 ns 4
ssa::find;_cv 2.51 % 2.51 % 4
stringa::find;_mean 44.5 ns 44.5 ns 4
stringa::find;_median 44.9 ns 44.9 ns 4
stringa::find;_stddev 0.961 ns 0.962 ns 4
stringa::find;_cv 2.16 % 2.16 % 4
lstringa<20>::find;_mean 39.8 ns 39.8 ns 4
lstringa<20>::find;_median 39.7 ns 39.7 ns 4
lstringa<20>::find;_stddev 0.377 ns 0.377 ns 4
lstringa<20>::find;_cv 0.95 % 0.95 % 4
lstringa<40>::find;_mean 41.8 ns 41.8 ns 4
lstringa<40>::find;_median 41.8 ns 41.8 ns 4
lstringa<40>::find;_stddev 0.332 ns 0.332 ns 4
lstringa<40>::find;_cv 0.79 % 0.79 % 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 52.4 ns 52.4 ns 4
std::string copy{str_with_len_N};/15_median 52.6 ns 52.7 ns 4
std::string copy{str_with_len_N};/15_stddev 0.867 ns 0.867 ns 4
std::string copy{str_with_len_N};/15_cv 1.65 % 1.65 % 4
std::string copy{str_with_len_N};/16_mean 52.0 ns 52.0 ns 4
std::string copy{str_with_len_N};/16_median 51.9 ns 51.9 ns 4
std::string copy{str_with_len_N};/16_stddev 1.36 ns 1.36 ns 4
std::string copy{str_with_len_N};/16_cv 2.61 % 2.61 % 4
std::string copy{str_with_len_N};/23_mean 51.2 ns 51.2 ns 4
std::string copy{str_with_len_N};/23_median 51.1 ns 51.1 ns 4
std::string copy{str_with_len_N};/23_stddev 1.97 ns 1.97 ns 4
std::string copy{str_with_len_N};/23_cv 3.84 % 3.84 % 4
std::string copy{str_with_len_N};/24_mean 51.3 ns 51.3 ns 4
std::string copy{str_with_len_N};/24_median 52.0 ns 52.0 ns 4
std::string copy{str_with_len_N};/24_stddev 2.04 ns 2.04 ns 4
std::string copy{str_with_len_N};/24_cv 3.98 % 3.98 % 4
std::string copy{str_with_len_N};/32_mean 53.9 ns 53.9 ns 4
std::string copy{str_with_len_N};/32_median 54.2 ns 54.2 ns 4
std::string copy{str_with_len_N};/32_stddev 1.20 ns 1.20 ns 4
std::string copy{str_with_len_N};/32_cv 2.24 % 2.24 % 4
std::string copy{str_with_len_N};/64_mean 56.8 ns 56.8 ns 4
std::string copy{str_with_len_N};/64_median 56.8 ns 56.8 ns 4
std::string copy{str_with_len_N};/64_stddev 2.09 ns 2.09 ns 4
std::string copy{str_with_len_N};/64_cv 3.67 % 3.67 % 4
std::string copy{str_with_len_N};/128_mean 56.4 ns 56.4 ns 4
std::string copy{str_with_len_N};/128_median 56.5 ns 56.5 ns 4
std::string copy{str_with_len_N};/128_stddev 2.11 ns 2.11 ns 4
std::string copy{str_with_len_N};/128_cv 3.74 % 3.74 % 4
std::string copy{str_with_len_N};/256_mean 63.7 ns 63.7 ns 4
std::string copy{str_with_len_N};/256_median 58.5 ns 58.5 ns 4
std::string copy{str_with_len_N};/256_stddev 12.1 ns 12.1 ns 4
std::string copy{str_with_len_N};/256_cv 19.03 % 19.03 % 4
std::string copy{str_with_len_N};/512_mean 61.7 ns 61.7 ns 4
std::string copy{str_with_len_N};/512_median 62.3 ns 62.3 ns 4
std::string copy{str_with_len_N};/512_stddev 4.94 ns 4.94 ns 4
std::string copy{str_with_len_N};/512_cv 8.00 % 8.00 % 4
std::string copy{str_with_len_N};/1024_mean 68.6 ns 68.6 ns 4
std::string copy{str_with_len_N};/1024_median 67.4 ns 67.4 ns 4
std::string copy{str_with_len_N};/1024_stddev 5.73 ns 5.73 ns 4
std::string copy{str_with_len_N};/1024_cv 8.36 % 8.36 % 4
std::string copy{str_with_len_N};/2048_mean 93.9 ns 93.9 ns 4
std::string copy{str_with_len_N};/2048_median 94.3 ns 94.3 ns 4
std::string copy{str_with_len_N};/2048_stddev 6.18 ns 6.18 ns 4
std::string copy{str_with_len_N};/2048_cv 6.59 % 6.59 % 4
std::string copy{str_with_len_N};/4096_mean 139 ns 139 ns 4
std::string copy{str_with_len_N};/4096_median 140 ns 140 ns 4
std::string copy{str_with_len_N};/4096_stddev 2.09 ns 2.09 ns 4
std::string copy{str_with_len_N};/4096_cv 1.50 % 1.50 % 4
stringa copy{str_with_len_N};/15_mean 2.42 ns 2.42 ns 4
stringa copy{str_with_len_N};/15_median 2.42 ns 2.42 ns 4
stringa copy{str_with_len_N};/15_stddev 0.068 ns 0.068 ns 4
stringa copy{str_with_len_N};/15_cv 2.82 % 2.82 % 4
stringa copy{str_with_len_N};/16_mean 4.84 ns 4.84 ns 4
stringa copy{str_with_len_N};/16_median 4.84 ns 4.84 ns 4
stringa copy{str_with_len_N};/16_stddev 0.044 ns 0.044 ns 4
stringa copy{str_with_len_N};/16_cv 0.91 % 0.91 % 4
stringa copy{str_with_len_N};/23_mean 4.79 ns 4.79 ns 4
stringa copy{str_with_len_N};/23_median 4.77 ns 4.77 ns 4
stringa copy{str_with_len_N};/23_stddev 0.038 ns 0.038 ns 4
stringa copy{str_with_len_N};/23_cv 0.80 % 0.80 % 4
stringa copy{str_with_len_N};/24_mean 5.01 ns 5.01 ns 4
stringa copy{str_with_len_N};/24_median 5.03 ns 5.03 ns 4
stringa copy{str_with_len_N};/24_stddev 0.101 ns 0.101 ns 4
stringa copy{str_with_len_N};/24_cv 2.03 % 2.03 % 4
stringa copy{str_with_len_N};/32_mean 4.89 ns 4.89 ns 4
stringa copy{str_with_len_N};/32_median 4.90 ns 4.90 ns 4
stringa copy{str_with_len_N};/32_stddev 0.074 ns 0.074 ns 4
stringa copy{str_with_len_N};/32_cv 1.51 % 1.51 % 4
stringa copy{str_with_len_N};/64_mean 4.90 ns 4.90 ns 4
stringa copy{str_with_len_N};/64_median 4.80 ns 4.80 ns 4
stringa copy{str_with_len_N};/64_stddev 0.223 ns 0.223 ns 4
stringa copy{str_with_len_N};/64_cv 4.55 % 4.55 % 4
stringa copy{str_with_len_N};/128_mean 4.89 ns 4.89 ns 4
stringa copy{str_with_len_N};/128_median 4.88 ns 4.88 ns 4
stringa copy{str_with_len_N};/128_stddev 0.098 ns 0.098 ns 4
stringa copy{str_with_len_N};/128_cv 2.01 % 2.01 % 4
stringa copy{str_with_len_N};/256_mean 4.81 ns 4.81 ns 4
stringa copy{str_with_len_N};/256_median 4.81 ns 4.81 ns 4
stringa copy{str_with_len_N};/256_stddev 0.025 ns 0.025 ns 4
stringa copy{str_with_len_N};/256_cv 0.52 % 0.52 % 4
stringa copy{str_with_len_N};/512_mean 4.84 ns 4.84 ns 4
stringa copy{str_with_len_N};/512_median 4.81 ns 4.81 ns 4
stringa copy{str_with_len_N};/512_stddev 0.087 ns 0.087 ns 4
stringa copy{str_with_len_N};/512_cv 1.80 % 1.80 % 4
stringa copy{str_with_len_N};/1024_mean 4.84 ns 4.84 ns 4
stringa copy{str_with_len_N};/1024_median 4.83 ns 4.83 ns 4
stringa copy{str_with_len_N};/1024_stddev 0.068 ns 0.068 ns 4
stringa copy{str_with_len_N};/1024_cv 1.40 % 1.40 % 4
stringa copy{str_with_len_N};/2048_mean 4.80 ns 4.80 ns 4
stringa copy{str_with_len_N};/2048_median 4.81 ns 4.81 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.79 ns 4.79 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.060 ns 0.060 ns 4
stringa copy{str_with_len_N};/4096_cv 1.26 % 1.26 % 4
lstringa<16> copy{str_with_len_N};/15_mean 16.0 ns 16.0 ns 4
lstringa<16> copy{str_with_len_N};/15_median 15.8 ns 15.8 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.704 ns 0.704 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 4.40 % 4.40 % 4
lstringa<16> copy{str_with_len_N};/16_mean 16.4 ns 16.4 ns 4
lstringa<16> copy{str_with_len_N};/16_median 16.5 ns 16.5 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.857 ns 0.857 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 5.23 % 5.23 % 4
lstringa<16> copy{str_with_len_N};/23_mean 38.8 ns 38.8 ns 4
lstringa<16> copy{str_with_len_N};/23_median 39.0 ns 39.0 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 1.16 ns 1.16 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 2.99 % 2.99 % 4
lstringa<16> copy{str_with_len_N};/24_mean 37.3 ns 37.3 ns 4
lstringa<16> copy{str_with_len_N};/24_median 37.1 ns 37.1 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 0.572 ns 0.571 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 1.53 % 1.53 % 4
lstringa<16> copy{str_with_len_N};/32_mean 42.4 ns 42.4 ns 4
lstringa<16> copy{str_with_len_N};/32_median 42.3 ns 42.3 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 0.931 ns 0.931 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 2.20 % 2.20 % 4
lstringa<16> copy{str_with_len_N};/64_mean 47.2 ns 47.2 ns 4
lstringa<16> copy{str_with_len_N};/64_median 46.3 ns 46.3 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 2.87 ns 2.87 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 6.09 % 6.09 % 4
lstringa<16> copy{str_with_len_N};/128_mean 44.4 ns 44.4 ns 4
lstringa<16> copy{str_with_len_N};/128_median 44.2 ns 44.2 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 0.740 ns 0.740 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 1.67 % 1.67 % 4
lstringa<16> copy{str_with_len_N};/256_mean 50.3 ns 50.3 ns 4
lstringa<16> copy{str_with_len_N};/256_median 45.8 ns 45.8 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 10.9 ns 10.9 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 21.71 % 21.71 % 4
lstringa<16> copy{str_with_len_N};/512_mean 48.5 ns 48.5 ns 4
lstringa<16> copy{str_with_len_N};/512_median 48.2 ns 48.2 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 4.36 ns 4.36 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 8.98 % 8.98 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 57.8 ns 57.8 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 55.1 ns 55.1 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 7.48 ns 7.48 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 12.95 % 12.95 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 82.1 ns 82.1 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 82.4 ns 82.4 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 7.04 ns 7.04 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 8.58 % 8.58 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 126 ns 126 ns 4
lstringa<16> copy{str_with_len_N};/4096_median 125 ns 125 ns 4
lstringa<16> copy{str_with_len_N};/4096_stddev 0.317 ns 0.317 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 0.25 % 0.25 % 4
lstringa<512> copy{str_with_len_N};/15_mean 15.3 ns 15.3 ns 4
lstringa<512> copy{str_with_len_N};/15_median 15.4 ns 15.4 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.444 ns 0.444 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 2.90 % 2.90 % 4
lstringa<512> copy{str_with_len_N};/16_mean 15.3 ns 15.3 ns 4
lstringa<512> copy{str_with_len_N};/16_median 15.4 ns 15.4 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.476 ns 0.476 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 3.11 % 3.11 % 4
lstringa<512> copy{str_with_len_N};/23_mean 16.1 ns 16.1 ns 4
lstringa<512> copy{str_with_len_N};/23_median 16.3 ns 16.3 ns 4
lstringa<512> copy{str_with_len_N};/23_stddev 0.964 ns 0.964 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 5.98 % 5.98 % 4
lstringa<512> copy{str_with_len_N};/24_mean 14.8 ns 14.8 ns 4
lstringa<512> copy{str_with_len_N};/24_median 14.7 ns 14.7 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 0.310 ns 0.311 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 2.10 % 2.10 % 4
lstringa<512> copy{str_with_len_N};/32_mean 17.8 ns 17.8 ns 4
lstringa<512> copy{str_with_len_N};/32_median 17.9 ns 17.9 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.326 ns 0.326 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 1.83 % 1.83 % 4
lstringa<512> copy{str_with_len_N};/64_mean 17.6 ns 17.6 ns 4
lstringa<512> copy{str_with_len_N};/64_median 17.6 ns 17.6 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 0.372 ns 0.372 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 2.11 % 2.11 % 4
lstringa<512> copy{str_with_len_N};/128_mean 19.0 ns 19.0 ns 4
lstringa<512> copy{str_with_len_N};/128_median 19.2 ns 19.2 ns 4
lstringa<512> copy{str_with_len_N};/128_stddev 0.514 ns 0.514 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 2.71 % 2.71 % 4
lstringa<512> copy{str_with_len_N};/256_mean 20.7 ns 20.7 ns 4
lstringa<512> copy{str_with_len_N};/256_median 20.4 ns 20.4 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 1.03 ns 1.03 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 4.97 % 4.97 % 4
lstringa<512> copy{str_with_len_N};/512_mean 23.4 ns 23.4 ns 4
lstringa<512> copy{str_with_len_N};/512_median 23.5 ns 23.5 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 0.530 ns 0.530 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 2.27 % 2.27 % 4
lstringa<512> copy{str_with_len_N};/1024_mean 58.5 ns 58.5 ns 4
lstringa<512> copy{str_with_len_N};/1024_median 56.5 ns 56.5 ns 4
lstringa<512> copy{str_with_len_N};/1024_stddev 7.80 ns 7.80 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 13.33 % 13.33 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 80.2 ns 80.2 ns 4
lstringa<512> copy{str_with_len_N};/2048_median 79.7 ns 79.7 ns 4
lstringa<512> copy{str_with_len_N};/2048_stddev 9.04 ns 9.04 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 11.27 % 11.27 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 123 ns 123 ns 4
lstringa<512> copy{str_with_len_N};/4096_median 122 ns 122 ns 4
lstringa<512> copy{str_with_len_N};/4096_stddev 2.62 ns 2.62 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 2.14 % 2.14 % 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 91.6 ns 91.6 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 91.2 ns 91.2 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 1.39 ns 1.39 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 1.52 % 1.52 % 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 27.8 ns 27.8 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 27.8 ns 27.8 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.450 ns 0.450 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 1.62 % 1.62 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 19.2 ns 19.2 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 19.2 ns 19.2 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.349 ns 0.349 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.82 % 1.82 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 19.2 ns 19.2 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 19.3 ns 19.3 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.253 ns 0.253 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.32 % 1.31 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 19.3 ns 19.3 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 19.1 ns 19.1 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.597 ns 0.597 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.10 % 3.10 % 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 70.4 ns 70.4 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 71.0 ns 71.0 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 2.14 ns 2.14 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 3.04 % 3.03 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 26.1 ns 26.1 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 25.8 ns 25.8 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.918 ns 0.918 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 3.52 % 3.52 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 19.8 ns 19.8 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 19.8 ns 19.8 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.659 ns 0.659 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.34 % 3.34 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 19.9 ns 19.9 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 19.8 ns 19.8 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.443 ns 0.443 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.23 % 2.23 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 20.0 ns 20.0 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 20.1 ns 20.1 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.320 ns 0.320 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.60 % 1.60 % 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 99.8 ns 99.8 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 99.2 ns 99.2 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 1.55 ns 1.55 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.55 % 1.55 % 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 25.1 ns 25.1 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 24.8 ns 24.8 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.770 ns 0.770 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 3.06 % 3.06 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 19.6 ns 19.6 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 19.3 ns 19.3 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.606 ns 0.606 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 3.10 % 3.10 % 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 306 ns 306 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 306 ns 306 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 4.12 ns 4.12 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 1.34 % 1.34 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 110 ns 110 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 110 ns 110 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 1.94 ns 1.94 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 1.76 % 1.76 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 42.9 ns 42.9 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_median 43.0 ns 43.0 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.658 ns 0.658 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 1.53 % 1.53 % 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 6574 ns 6574 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 6620 ns 6620 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 138 ns 138 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 2.10 % 2.10 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 811 ns 811 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 805 ns 805 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 13.7 ns 13.7 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 1.68 % 1.68 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 737 ns 737 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 732 ns 732 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 20.9 ns 20.9 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 2.84 % 2.84 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 650 ns 650 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 636 ns 636 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 36.0 ns 36.0 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 5.54 % 5.54 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 473 ns 473 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 470 ns 470 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 10.8 ns 10.8 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 2.29 % 2.29 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 429 ns 429 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 426 ns 426 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 16.4 ns 16.4 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 3.83 % 3.82 % 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 7037 ns 7037 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 7056 ns 7056 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 163 ns 163 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 2.32 % 2.32 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 2266 ns 2266 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 2264 ns 2264 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 81.7 ns 81.7 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 3.60 % 3.61 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 992 ns 992 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 984 ns 984 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 20.4 ns 20.4 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.06 % 2.05 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 851 ns 851 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 856 ns 856 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 25.1 ns 25.1 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.96 % 2.96 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 706 ns 706 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 705 ns 705 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 12.5 ns 12.5 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.78 % 1.78 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 677 ns 677 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 673 ns 673 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 22.3 ns 22.3 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.30 % 3.30 % 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 347176 ns 347177 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 348329 ns 348331 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 6993 ns 6994 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 2.01 % 2.01 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 124333 ns 124334 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 124822 ns 124822 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 2411 ns 2411 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.94 % 1.94 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 50774 ns 50774 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 50843 ns 50843 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1331 ns 1331 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.62 % 2.62 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 46223 ns 46223 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 46469 ns 46470 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1510 ns 1510 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.27 % 3.27 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 46054 ns 46054 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 45864 ns 45864 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1832 ns 1832 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.98 % 3.98 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 45846 ns 45846 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 46100 ns 46100 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1019 ns 1019 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.22 % 2.22 % 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 7255 ns 7255 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 7261 ns 7261 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 110 ns 110 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 1.52 % 1.52 % 4
std::string str; ... str += str_var1 + str_var2;_mean 2567 ns 2567 ns 4
std::string str; ... str += str_var1 + str_var2;_median 2539 ns 2539 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 86.4 ns 86.4 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 3.37 % 3.37 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 1192 ns 1192 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 1197 ns 1197 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 40.4 ns 40.4 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 3.39 % 3.39 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 1050 ns 1050 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 1048 ns 1048 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 28.8 ns 28.8 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 2.75 % 2.74 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 936 ns 936 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 945 ns 945 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 20.2 ns 20.2 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_cv 2.15 % 2.15 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 887 ns 887 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 895 ns 895 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 22.5 ns 22.5 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 2.54 % 2.54 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 11693 ns 11694 ns 4
std::stringstream str; str << "test = " << k << " times";_median 11612 ns 11613 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 398 ns 398 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 3.41 % 3.41 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 1717 ns 1717 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 1735 ns 1735 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 40.5 ns 40.5 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 2.36 % 2.36 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 5454 ns 5454 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 5459 ns 5459 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 83.7 ns 83.7 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.53 % 1.53 % 4
std::string str = std::format("test = {} times", k);_mean 2880 ns 2880 ns 4
std::string str = std::format("test = {} times", k);_median 2875 ns 2875 ns 4
std::string str = std::format("test = {} times", k);_stddev 124 ns 124 ns 4
std::string str = std::format("test = {} times", k);_cv 4.31 % 4.31 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 4935 ns 4935 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 4953 ns 4953 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 118 ns 118 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 2.39 % 2.39 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 4130 ns 4130 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 4126 ns 4126 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 46.2 ns 46.2 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 1.12 % 1.12 % 4
lstringa<8> str = "test = " + k + " times";_mean 576 ns 576 ns 4
lstringa<8> str = "test = " + k + " times";_median 575 ns 575 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 9.84 ns 9.84 ns 4
lstringa<8> str = "test = " + k + " times";_cv 1.71 % 1.71 % 4
lstringa<32> str = "test = " + k + " times";_mean 348 ns 348 ns 4
lstringa<32> str = "test = " + k + " times";_median 340 ns 340 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 33.2 ns 33.2 ns 4
lstringa<32> str = "test = " + k + " times";_cv 9.55 % 9.55 % 4
stringa str = "test = " + k + " times";_mean 610 ns 610 ns 4
stringa str = "test = " + k + " times";_median 606 ns 606 ns 4
stringa str = "test = " + k + " times";_stddev 16.9 ns 16.9 ns 4
stringa str = "test = " + k + " times";_cv 2.77 % 2.77 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 735 ns 735 ns 4
std::string::find + substr + std::strtol_median 734 ns 734 ns 4
std::string::find + substr + std::strtol_stddev 17.8 ns 17.8 ns 4
std::string::find + substr + std::strtol_cv 2.42 % 2.42 % 4
ssa::splitter + ssa::as_int_mean 244 ns 244 ns 4
ssa::splitter + ssa::as_int_median 244 ns 244 ns 4
ssa::splitter + ssa::as_int_stddev 4.79 ns 4.79 ns 4
ssa::splitter + ssa::as_int_cv 1.96 % 1.96 % 4
ssa::splitf + functor_mean 278 ns 278 ns 4
ssa::splitf + functor_median 278 ns 278 ns 4
ssa::splitf + functor_stddev 1.93 ns 1.93 ns 4
ssa::splitf + functor_cv 0.70 % 0.70 % 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 3050 ns 3050 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 3016 ns 3016 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 121 ns 121 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 3.97 % 3.97 % 4
replace symbols with std::string find_first_of + replace_mean 4955 ns 4955 ns 4
replace symbols with std::string find_first_of + replace_median 4910 ns 4910 ns 4
replace symbols with std::string find_first_of + replace_stddev 128 ns 128 ns 4
replace symbols with std::string find_first_of + replace_cv 2.57 % 2.58 % 4
replace symbols with std::string_view find_first_of + copy_mean 3059 ns 3059 ns 4
replace symbols with std::string_view find_first_of + copy_median 3058 ns 3058 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 109 ns 109 ns 4
replace symbols with std::string_view find_first_of + copy_cv 3.57 % 3.57 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 3223 ns 3223 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 3185 ns 3185 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 150 ns 150 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 4.64 % 4.64 % 4
replace runtime symbols with simstr and memorization of all search results_mean 2579 ns 2579 ns 4
replace runtime symbols with simstr and memorization of all search results_median 2587 ns 2587 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 125 ns 125 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 4.84 % 4.84 % 4
replace const symbols with string expressions and without remembering all search results_mean 2637 ns 2637 ns 4
replace const symbols with string expressions and without remembering all search results_median 2613 ns 2613 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 84.0 ns 84.0 ns 4
replace const symbols with string expressions and without remembering all search results_cv 3.19 % 3.19 % 4
replace const symbols with string expressions and memorization of all search results_mean 2389 ns 2389 ns 4
replace const symbols with string expressions and memorization of all search results_median 2396 ns 2397 ns 4
replace const symbols with string expressions and memorization of all search results_stddev 76.0 ns 76.0 ns 4
replace const symbols with string expressions and memorization of all search results_cv 3.18 % 3.18 % 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 439 ns 439 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 436 ns 436 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 12.8 ns 12.8 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.92 % 2.92 % 4
Short replace symbols with std::string find_first_of + replace_mean 654 ns 654 ns 4
Short replace symbols with std::string find_first_of + replace_median 642 ns 642 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 28.0 ns 28.0 ns 4
Short replace symbols with std::string find_first_of + replace_cv 4.28 % 4.28 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 511 ns 511 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 517 ns 517 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 21.5 ns 21.5 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 4.20 % 4.20 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 388 ns 388 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 394 ns 394 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 17.5 ns 17.5 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 4.52 % 4.52 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 451 ns 451 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 454 ns 454 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 12.8 ns 12.8 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 2.85 % 2.85 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 268 ns 268 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 268 ns 268 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 14.5 ns 14.5 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 5.39 % 5.39 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 340 ns 340 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 340 ns 340 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 16.7 ns 16.7 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 4.90 % 4.90 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 414 ns 414 ns 4
replace bb to ---- in std::string|64_median 415 ns 415 ns 4
replace bb to ---- in std::string|64_stddev 18.5 ns 18.5 ns 4
replace bb to ---- in std::string|64_cv 4.46 % 4.46 % 4
replace bb to ---- in std::string|256_mean 1247 ns 1247 ns 4
replace bb to ---- in std::string|256_median 1249 ns 1249 ns 4
replace bb to ---- in std::string|256_stddev 46.9 ns 46.9 ns 4
replace bb to ---- in std::string|256_cv 3.76 % 3.76 % 4
replace bb to ---- in std::string|512_mean 2343 ns 2343 ns 4
replace bb to ---- in std::string|512_median 2348 ns 2348 ns 4
replace bb to ---- in std::string|512_stddev 102 ns 102 ns 4
replace bb to ---- in std::string|512_cv 4.36 % 4.36 % 4
replace bb to ---- in std::string|1024_mean 4971 ns 4971 ns 4
replace bb to ---- in std::string|1024_median 4909 ns 4909 ns 4
replace bb to ---- in std::string|1024_stddev 329 ns 329 ns 4
replace bb to ---- in std::string|1024_cv 6.62 % 6.62 % 4
replace bb to ---- in std::string|2048_mean 11336 ns 11336 ns 4
replace bb to ---- in std::string|2048_median 11316 ns 11316 ns 4
replace bb to ---- in std::string|2048_stddev 196 ns 196 ns 4
replace bb to ---- in std::string|2048_cv 1.73 % 1.73 % 4
replace bb to ---- in lstringa<8>|64_mean 307 ns 307 ns 4
replace bb to ---- in lstringa<8>|64_median 307 ns 307 ns 4
replace bb to ---- in lstringa<8>|64_stddev 10.5 ns 10.5 ns 4
replace bb to ---- in lstringa<8>|64_cv 3.43 % 3.43 % 4
replace bb to ---- in lstringa<8>|256_mean 945 ns 945 ns 4
replace bb to ---- in lstringa<8>|256_median 928 ns 928 ns 4
replace bb to ---- in lstringa<8>|256_stddev 65.6 ns 65.6 ns 4
replace bb to ---- in lstringa<8>|256_cv 6.94 % 6.94 % 4
replace bb to ---- in lstringa<8>|512_mean 1772 ns 1772 ns 4
replace bb to ---- in lstringa<8>|512_median 1775 ns 1775 ns 4
replace bb to ---- in lstringa<8>|512_stddev 26.8 ns 26.8 ns 4
replace bb to ---- in lstringa<8>|512_cv 1.51 % 1.51 % 4
replace bb to ---- in lstringa<8>|1024_mean 3390 ns 3390 ns 4
replace bb to ---- in lstringa<8>|1024_median 3371 ns 3371 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 105 ns 105 ns 4
replace bb to ---- in lstringa<8>|1024_cv 3.10 % 3.10 % 4
replace bb to ---- in lstringa<8>|2048_mean 6782 ns 6782 ns 4
replace bb to ---- in lstringa<8>|2048_median 6707 ns 6707 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 482 ns 482 ns 4
replace bb to ---- in lstringa<8>|2048_cv 7.11 % 7.11 % 4
replace bb to ---- by init stringa|64_mean 209 ns 209 ns 4
replace bb to ---- by init stringa|64_median 208 ns 208 ns 4
replace bb to ---- by init stringa|64_stddev 2.28 ns 2.28 ns 4
replace bb to ---- by init stringa|64_cv 1.09 % 1.09 % 4
replace bb to ---- by init stringa|256_mean 613 ns 613 ns 4
replace bb to ---- by init stringa|256_median 613 ns 613 ns 4
replace bb to ---- by init stringa|256_stddev 20.5 ns 20.5 ns 4
replace bb to ---- by init stringa|256_cv 3.35 % 3.35 % 4
replace bb to ---- by init stringa|512_mean 1421 ns 1421 ns 4
replace bb to ---- by init stringa|512_median 1411 ns 1411 ns 4
replace bb to ---- by init stringa|512_stddev 47.5 ns 47.5 ns 4
replace bb to ---- by init stringa|512_cv 3.34 % 3.34 % 4
replace bb to ---- by init stringa|1024_mean 2946 ns 2946 ns 4
replace bb to ---- by init stringa|1024_median 2962 ns 2962 ns 4
replace bb to ---- by init stringa|1024_stddev 58.1 ns 58.1 ns 4
replace bb to ---- by init stringa|1024_cv 1.97 % 1.97 % 4
replace bb to ---- by init stringa|2048_mean 6119 ns 6119 ns 4
replace bb to ---- by init stringa|2048_median 6090 ns 6090 ns 4
replace bb to ---- by init stringa|2048_stddev 159 ns 159 ns 4
replace bb to ---- by init stringa|2048_cv 2.59 % 2.59 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 287 ns 287 ns 4
replace bb to -- in std::string|64_median 289 ns 289 ns 4
replace bb to -- in std::string|64_stddev 7.44 ns 7.44 ns 4
replace bb to -- in std::string|64_cv 2.59 % 2.60 % 4
replace bb to -- in std::string|256_mean 909 ns 909 ns 4
replace bb to -- in std::string|256_median 890 ns 890 ns 4
replace bb to -- in std::string|256_stddev 49.0 ns 49.0 ns 4
replace bb to -- in std::string|256_cv 5.39 % 5.39 % 4
replace bb to -- in std::string|512_mean 1631 ns 1631 ns 4
replace bb to -- in std::string|512_median 1613 ns 1613 ns 4
replace bb to -- in std::string|512_stddev 75.3 ns 75.3 ns 4
replace bb to -- in std::string|512_cv 4.62 % 4.62 % 4
replace bb to -- in std::string|1024_mean 3086 ns 3086 ns 4
replace bb to -- in std::string|1024_median 3094 ns 3094 ns 4
replace bb to -- in std::string|1024_stddev 45.0 ns 45.0 ns 4
replace bb to -- in std::string|1024_cv 1.46 % 1.46 % 4
replace bb to -- in std::string|2048_mean 6778 ns 6778 ns 4
replace bb to -- in std::string|2048_median 6712 ns 6712 ns 4
replace bb to -- in std::string|2048_stddev 455 ns 455 ns 4
replace bb to -- in std::string|2048_cv 6.71 % 6.71 % 4
replace bb to -- in lstringa<8>|64_mean 222 ns 222 ns 4
replace bb to -- in lstringa<8>|64_median 222 ns 222 ns 4
replace bb to -- in lstringa<8>|64_stddev 0.782 ns 0.781 ns 4
replace bb to -- in lstringa<8>|64_cv 0.35 % 0.35 % 4
replace bb to -- in lstringa<8>|256_mean 670 ns 670 ns 4
replace bb to -- in lstringa<8>|256_median 668 ns 668 ns 4
replace bb to -- in lstringa<8>|256_stddev 37.1 ns 37.2 ns 4
replace bb to -- in lstringa<8>|256_cv 5.54 % 5.54 % 4
replace bb to -- in lstringa<8>|512_mean 1251 ns 1251 ns 4
replace bb to -- in lstringa<8>|512_median 1258 ns 1258 ns 4
replace bb to -- in lstringa<8>|512_stddev 19.5 ns 19.5 ns 4
replace bb to -- in lstringa<8>|512_cv 1.56 % 1.56 % 4
replace bb to -- in lstringa<8>|1024_mean 2408 ns 2408 ns 4
replace bb to -- in lstringa<8>|1024_median 2422 ns 2422 ns 4
replace bb to -- in lstringa<8>|1024_stddev 76.9 ns 76.9 ns 4
replace bb to -- in lstringa<8>|1024_cv 3.19 % 3.19 % 4
replace bb to -- in lstringa<8>|2048_mean 4767 ns 4767 ns 4
replace bb to -- in lstringa<8>|2048_median 4759 ns 4759 ns 4
replace bb to -- in lstringa<8>|2048_stddev 117 ns 117 ns 4
replace bb to -- in lstringa<8>|2048_cv 2.44 % 2.45 % 4
replace bb to -- by init stringa|64_mean 172 ns 172 ns 4
replace bb to -- by init stringa|64_median 171 ns 171 ns 4
replace bb to -- by init stringa|64_stddev 7.68 ns 7.68 ns 4
replace bb to -- by init stringa|64_cv 4.46 % 4.46 % 4
replace bb to -- by init stringa|256_mean 508 ns 508 ns 4
replace bb to -- by init stringa|256_median 507 ns 507 ns 4
replace bb to -- by init stringa|256_stddev 6.27 ns 6.27 ns 4
replace bb to -- by init stringa|256_cv 1.23 % 1.23 % 4
replace bb to -- by init stringa|512_mean 849 ns 849 ns 4
replace bb to -- by init stringa|512_median 843 ns 843 ns 4
replace bb to -- by init stringa|512_stddev 24.6 ns 24.6 ns 4
replace bb to -- by init stringa|512_cv 2.90 % 2.90 % 4
replace bb to -- by init stringa|1024_mean 1687 ns 1687 ns 4
replace bb to -- by init stringa|1024_median 1683 ns 1683 ns 4
replace bb to -- by init stringa|1024_stddev 13.2 ns 13.2 ns 4
replace bb to -- by init stringa|1024_cv 0.78 % 0.78 % 4
replace bb to -- by init stringa|2048_mean 3367 ns 3367 ns 4
replace bb to -- by init stringa|2048_median 3329 ns 3329 ns 4
replace bb to -- by init stringa|2048_stddev 76.6 ns 76.6 ns 4
replace bb to -- by init stringa|2048_cv 2.28 % 2.28 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3337923 ns 3337952 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 3342195 ns 3342230 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 38842 ns 38824 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 1.16 % 1.16 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3713478 ns 3713491 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3646049 ns 3646049 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 176783 ns 176790 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 4.76 % 4.76 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 3277536 ns 3277548 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 3283080 ns 3283104 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 61487 ns 61477 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 1.88 % 1.88 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 4219440 ns 4219456 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 4180920 ns 4180920 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 92117 ns 92126 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 2.18 % 2.18 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 3514 ns 3514 ns 4
Build func full name std::string;_median 3509 ns 3509 ns 4
Build func full name std::string;_stddev 69.4 ns 69.4 ns 4
Build func full name std::string;_cv 1.97 % 1.97 % 4
Build func full name std::string 1;_mean 3573 ns 3573 ns 4
Build func full name std::string 1;_median 3562 ns 3562 ns 4
Build func full name std::string 1;_stddev 44.7 ns 44.7 ns 4
Build func full name std::string 1;_cv 1.25 % 1.25 % 4
Build func full name std::stream;_mean 12140 ns 12140 ns 4
Build func full name std::stream;_median 12165 ns 12165 ns 4
Build func full name std::stream;_stddev 301 ns 301 ns 4
Build func full name std::stream;_cv 2.48 % 2.48 % 4
Build func full name stringa;_mean 1750 ns 1750 ns 4
Build func full name stringa;_median 1710 ns 1710 ns 4
Build func full name stringa;_stddev 102 ns 102 ns 4
Build func full name stringa;_cv 5.83 % 5.83 % 4
Build func full name stringa 1;_mean 2047 ns 2047 ns 4
Build func full name stringa 1;_median 2070 ns 2070 ns 4
Build func full name stringa 1;_stddev 103 ns 103 ns 4
Build func full name stringa 1;_cv 5.01 % 5.01 % 4