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

931 lines
138 KiB
Plaintext

Benchmarks of simstr, version 1.6.7
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 1035 ns 1035 ns 4
Concat std::string and number by std to std::string_median 1033 ns 1033 ns 4
Concat std::string and number by std to std::string_stddev 16.9 ns 16.9 ns 4
Concat std::string and number by std to std::string_cv 1.63 % 1.63 % 4
Concat std::string and number by StrExpr to std::string_mean 505 ns 505 ns 4
Concat std::string and number by StrExpr to std::string_median 509 ns 509 ns 4
Concat std::string and number by StrExpr to std::string_stddev 13.5 ns 13.5 ns 4
Concat std::string and number by StrExpr to std::string_cv 2.66 % 2.66 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 224 ns 224 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 217 ns 217 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 16.9 ns 16.9 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 7.55 % 7.55 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 224 ns 224 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 223 ns 223 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 3.66 ns 3.66 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 1.63 % 1.63 % 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 2034 ns 2034 ns 4
Concat std::string and format hex number and literal to std::string_median 2040 ns 2040 ns 4
Concat std::string and format hex number and literal to std::string_stddev 20.9 ns 20.9 ns 4
Concat std::string and format hex number and literal to std::string_cv 1.03 % 1.03 % 4
std::format std::string and hex number by literal to std::string_mean 2519 ns 2519 ns 4
std::format std::string and hex number by literal to std::string_median 2492 ns 2492 ns 4
std::format std::string and hex number by literal to std::string_stddev 74.1 ns 74.1 ns 4
std::format std::string and hex number by literal to std::string_cv 2.94 % 2.94 % 4
Concat std::string and std::to_chars and string to std::string_mean 617 ns 617 ns 4
Concat std::string and std::to_chars and string to std::string_median 615 ns 615 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 11.3 ns 11.3 ns 4
Concat std::string and std::to_chars and string to std::string_cv 1.83 % 1.83 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 473 ns 473 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 472 ns 472 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 14.4 ns 14.4 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 3.04 % 3.04 % 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 184 ns 184 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 184 ns 184 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 3.53 ns 3.53 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 1.92 % 1.92 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 190 ns 190 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 190 ns 190 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 2.76 ns 2.76 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 1.46 % 1.46 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 333 ns 333 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 324 ns 324 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 24.3 ns 24.3 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 7.29 % 7.29 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 833 ns 833 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 830 ns 830 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 6.12 ns 6.12 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 0.73 % 0.73 % 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 380 ns 380 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 378 ns 378 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 9.65 ns 9.65 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 2.54 % 2.54 % 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 580 ns 580 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 566 ns 566 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 33.3 ns 33.3 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 5.75 % 5.75 % 4
e_vsubst(pattern, i / 0x8a010_fmt)_mean 1424 ns 1424 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_median 1423 ns 1423 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 11.3 ns 11.3 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_cv 0.79 % 0.79 % 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 2133 ns 2133 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 2135 ns 2135 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 70.7 ns 70.7 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 3.32 % 3.32 % 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 2874 ns 2874 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 2863 ns 2863 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 36.5 ns 36.5 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 1.27 % 1.27 % 4
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 2951 ns 2951 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_median 2962 ns 2962 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 28.3 ns 28.3 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 0.96 % 0.96 % 4
std::vformat(pattern, std::make_format_args(i))_mean 3034 ns 3034 ns 4
std::vformat(pattern, std::make_format_args(i))_median 3013 ns 3013 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 135 ns 135 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 4.45 % 4.44 % 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 8267 ns 8267 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 8209 ns 8209 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 157 ns 157 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 1.89 % 1.90 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 104 ns 104 ns 4
Concat std::string by std to std::string_median 104 ns 104 ns 4
Concat std::string by std to std::string_stddev 2.29 ns 2.29 ns 4
Concat std::string by std to std::string_cv 2.20 % 2.20 % 4
Concat std::string by StrExpr to std::string_mean 119 ns 119 ns 4
Concat std::string by StrExpr to std::string_median 118 ns 118 ns 4
Concat std::string by StrExpr to std::string_stddev 3.37 ns 3.37 ns 4
Concat std::string by StrExpr to std::string_cv 2.84 % 2.84 % 4
Concat stringa by StrExpr to stringa_mean 95.1 ns 95.1 ns 4
Concat stringa by StrExpr to stringa_median 94.8 ns 94.8 ns 4
Concat stringa by StrExpr to stringa_stddev 1.15 ns 1.15 ns 4
Concat stringa by StrExpr to stringa_cv 1.21 % 1.21 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 217 ns 217 ns 4
Find concat three std::string_median 217 ns 217 ns 4
Find concat three std::string_stddev 3.91 ns 3.91 ns 4
Find concat three std::string_cv 1.80 % 1.80 % 4
Find concat three strexpr_mean 107 ns 107 ns 4
Find concat three strexpr_median 107 ns 107 ns 4
Find concat three strexpr_stddev 2.12 ns 2.12 ns 4
Find concat three strexpr_cv 1.98 % 1.98 % 4
Find concat three simstr_mean 61.5 ns 61.5 ns 4
Find concat three simstr_median 61.5 ns 61.5 ns 4
Find concat three simstr_stddev 1.22 ns 1.23 ns 4
Find concat three simstr_cv 1.99 % 1.99 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 21.3 ns 21.3 ns 4
BuildTypeNameStr 0/0_median 21.3 ns 21.3 ns 4
BuildTypeNameStr 0/0_stddev 0.119 ns 0.119 ns 4
BuildTypeNameStr 0/0_cv 0.56 % 0.56 % 4
BuildTypeNameExp 0/0_mean 23.4 ns 23.4 ns 4
BuildTypeNameExp 0/0_median 23.4 ns 23.4 ns 4
BuildTypeNameExp 0/0_stddev 0.346 ns 0.346 ns 4
BuildTypeNameExp 0/0_cv 1.48 % 1.48 % 4
BuildTypeNameSim 0/0_mean 19.2 ns 19.2 ns 4
BuildTypeNameSim 0/0_median 19.4 ns 19.4 ns 4
BuildTypeNameSim 0/0_stddev 0.418 ns 0.418 ns 4
BuildTypeNameSim 0/0_cv 2.17 % 2.17 % 4
BuildTypeNameStr 10/10_mean 374 ns 374 ns 4
BuildTypeNameStr 10/10_median 374 ns 374 ns 4
BuildTypeNameStr 10/10_stddev 8.65 ns 8.65 ns 4
BuildTypeNameStr 10/10_cv 2.31 % 2.31 % 4
BuildTypeNameExp 10/10_mean 109 ns 109 ns 4
BuildTypeNameExp 10/10_median 109 ns 109 ns 4
BuildTypeNameExp 10/10_stddev 2.70 ns 2.70 ns 4
BuildTypeNameExp 10/10_cv 2.48 % 2.48 % 4
BuildTypeNameSim 10/10_mean 63.6 ns 63.6 ns 4
BuildTypeNameSim 10/10_median 63.6 ns 63.6 ns 4
BuildTypeNameSim 10/10_stddev 0.768 ns 0.768 ns 4
BuildTypeNameSim 10/10_cv 1.21 % 1.21 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 495 ns 495 ns 4
Concat with replace str_median 493 ns 493 ns 4
Concat with replace str_stddev 7.47 ns 7.47 ns 4
Concat with replace str_cv 1.51 % 1.51 % 4
Concat with replace exp_mean 239 ns 239 ns 4
Concat with replace exp_median 236 ns 236 ns 4
Concat with replace exp_stddev 13.8 ns 13.8 ns 4
Concat with replace exp_cv 5.80 % 5.80 % 4
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 2.14 ns 2.14 ns 4
std::string e;_median 2.13 ns 2.13 ns 4
std::string e;_stddev 0.008 ns 0.008 ns 4
std::string e;_cv 0.39 % 0.39 % 4
std::string_view e;_mean 0.730 ns 0.730 ns 4
std::string_view e;_median 0.728 ns 0.728 ns 4
std::string_view e;_stddev 0.011 ns 0.011 ns 4
std::string_view e;_cv 1.58 % 1.58 % 4
ssa e;_mean 0.364 ns 0.364 ns 4
ssa e;_median 0.362 ns 0.362 ns 4
ssa e;_stddev 0.004 ns 0.004 ns 4
ssa e;_cv 1.06 % 1.06 % 4
stringa e;_mean 2.17 ns 2.17 ns 4
stringa e;_median 2.17 ns 2.17 ns 4
stringa e;_stddev 0.019 ns 0.019 ns 4
stringa e;_cv 0.87 % 0.87 % 4
lstringa<20> e;_mean 2.18 ns 2.18 ns 4
lstringa<20> e;_median 2.19 ns 2.19 ns 4
lstringa<20> e;_stddev 0.025 ns 0.025 ns 4
lstringa<20> e;_cv 1.15 % 1.15 % 4
lstringa<40> e;_mean 2.26 ns 2.26 ns 4
lstringa<40> e;_median 2.26 ns 2.26 ns 4
lstringa<40> e;_stddev 0.014 ns 0.014 ns 4
lstringa<40> e;_cv 0.61 % 0.61 % 4
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 2.43 ns 2.43 ns 4
std::string e = "Test text";_median 2.43 ns 2.43 ns 4
std::string e = "Test text";_stddev 0.059 ns 0.059 ns 4
std::string e = "Test text";_cv 2.41 % 2.41 % 4
std::string_view e = "Test text";_mean 1.10 ns 1.10 ns 4
std::string_view e = "Test text";_median 1.09 ns 1.09 ns 4
std::string_view e = "Test text";_stddev 0.031 ns 0.031 ns 4
std::string_view e = "Test text";_cv 2.79 % 2.79 % 4
ssa e = "Test text";_mean 0.732 ns 0.732 ns 4
ssa e = "Test text";_median 0.732 ns 0.732 ns 4
ssa e = "Test text";_stddev 0.008 ns 0.008 ns 4
ssa e = "Test text";_cv 1.10 % 1.10 % 4
stringa e = "Test text";_mean 2.19 ns 2.19 ns 4
stringa e = "Test text";_median 2.19 ns 2.19 ns 4
stringa e = "Test text";_stddev 0.027 ns 0.027 ns 4
stringa e = "Test text";_cv 1.25 % 1.25 % 4
lstringa<20> e = "Test text";_mean 2.57 ns 2.57 ns 4
lstringa<20> e = "Test text";_median 2.57 ns 2.57 ns 4
lstringa<20> e = "Test text";_stddev 0.025 ns 0.025 ns 4
lstringa<20> e = "Test text";_cv 0.98 % 0.98 % 4
lstringa<40> e = "Test text";_mean 2.62 ns 2.62 ns 4
lstringa<40> e = "Test text";_median 2.62 ns 2.62 ns 4
lstringa<40> e = "Test text";_stddev 0.012 ns 0.012 ns 4
lstringa<40> e = "Test text";_cv 0.46 % 0.46 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 22.4 ns 22.4 ns 4
std::string e = "123456789012345678901234567890";_median 22.3 ns 22.3 ns 4
std::string e = "123456789012345678901234567890";_stddev 0.716 ns 0.716 ns 4
std::string e = "123456789012345678901234567890";_cv 3.19 % 3.19 % 4
std::string_view e = "123456789012345678901234567890";_mean 1.18 ns 1.18 ns 4
std::string_view e = "123456789012345678901234567890";_median 1.18 ns 1.18 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.056 ns 0.056 ns 4
std::string_view e = "123456789012345678901234567890";_cv 4.77 % 4.77 % 4
ssa e = "123456789012345678901234567890";_mean 0.778 ns 0.778 ns 4
ssa e = "123456789012345678901234567890";_median 0.774 ns 0.774 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.020 ns 0.020 ns 4
ssa e = "123456789012345678901234567890";_cv 2.59 % 2.59 % 4
stringa e = "123456789012345678901234567890";_mean 2.22 ns 2.22 ns 4
stringa e = "123456789012345678901234567890";_median 2.21 ns 2.21 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.051 ns 0.051 ns 4
stringa e = "123456789012345678901234567890";_cv 2.28 % 2.28 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 24.8 ns 24.8 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 24.8 ns 24.8 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 0.315 ns 0.315 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 1.27 % 1.27 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 3.16 ns 3.16 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 3.18 ns 3.18 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.081 ns 0.081 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 2.58 % 2.58 % 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.86 ns 3.86 ns 4
std::string e = "Test text"; auto c{e};_median 3.77 ns 3.77 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.191 ns 0.191 ns 4
std::string e = "Test text"; auto c{e};_cv 4.96 % 4.96 % 4
std::string_view e = "Test text"; auto c{e};_mean 1.14 ns 1.14 ns 4
std::string_view e = "Test text"; auto c{e};_median 1.14 ns 1.14 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.037 ns 0.037 ns 4
std::string_view e = "Test text"; auto c{e};_cv 3.24 % 3.24 % 4
ssa e = "Test text"; auto c{e};_mean 1.19 ns 1.19 ns 4
ssa e = "Test text"; auto c{e};_median 1.19 ns 1.19 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.044 ns 0.044 ns 4
ssa e = "Test text"; auto c{e};_cv 3.72 % 3.72 % 4
stringa e = "Test text"; auto c{e};_mean 2.53 ns 2.53 ns 4
stringa e = "Test text"; auto c{e};_median 2.52 ns 2.52 ns 4
stringa e = "Test text"; auto c{e};_stddev 0.046 ns 0.046 ns 4
stringa e = "Test text"; auto c{e};_cv 1.81 % 1.81 % 4
lstringa<20> e = "Test text"; auto c{e};_mean 4.78 ns 4.78 ns 4
lstringa<20> e = "Test text"; auto c{e};_median 4.77 ns 4.77 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.094 ns 0.094 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 1.97 % 1.97 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 4.80 ns 4.80 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 4.78 ns 4.78 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.109 ns 0.109 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 2.27 % 2.27 % 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 46.7 ns 46.7 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 46.6 ns 46.6 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 1.08 ns 1.08 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 2.31 % 2.31 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 1.09 ns 1.09 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 1.09 ns 1.09 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.007 ns 0.007 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 0.60 % 0.60 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.737 ns 0.737 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.736 ns 0.736 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.009 ns 0.009 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.24 % 1.24 % 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.025 ns 0.025 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 1.14 % 1.14 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 21.9 ns 21.9 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 21.8 ns 21.8 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.441 ns 0.441 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.01 % 2.01 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 15.0 ns 15.0 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 15.0 ns 15.0 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.089 ns 0.089 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 0.60 % 0.60 % 4
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 43.3 ns 43.3 ns 4
std::string::find;_median 43.2 ns 43.2 ns 4
std::string::find;_stddev 0.425 ns 0.426 ns 4
std::string::find;_cv 0.98 % 0.98 % 4
std::string_view::find;_mean 45.3 ns 45.3 ns 4
std::string_view::find;_median 45.1 ns 45.1 ns 4
std::string_view::find;_stddev 0.457 ns 0.457 ns 4
std::string_view::find;_cv 1.01 % 1.01 % 4
ssa::find;_mean 43.4 ns 43.4 ns 4
ssa::find;_median 43.4 ns 43.4 ns 4
ssa::find;_stddev 0.667 ns 0.667 ns 4
ssa::find;_cv 1.54 % 1.54 % 4
stringa::find;_mean 43.5 ns 43.5 ns 4
stringa::find;_median 43.5 ns 43.5 ns 4
stringa::find;_stddev 0.666 ns 0.666 ns 4
stringa::find;_cv 1.53 % 1.53 % 4
lstringa<20>::find;_mean 38.7 ns 38.7 ns 4
lstringa<20>::find;_median 38.7 ns 38.7 ns 4
lstringa<20>::find;_stddev 0.098 ns 0.098 ns 4
lstringa<20>::find;_cv 0.25 % 0.25 % 4
lstringa<40>::find;_mean 40.2 ns 40.2 ns 4
lstringa<40>::find;_median 40.4 ns 40.4 ns 4
lstringa<40>::find;_stddev 0.525 ns 0.525 ns 4
lstringa<40>::find;_cv 1.30 % 1.30 % 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 49.3 ns 49.3 ns 4
std::string copy{str_with_len_N};/15_median 49.1 ns 49.1 ns 4
std::string copy{str_with_len_N};/15_stddev 1.47 ns 1.47 ns 4
std::string copy{str_with_len_N};/15_cv 2.98 % 2.98 % 4
std::string copy{str_with_len_N};/16_mean 48.3 ns 48.3 ns 4
std::string copy{str_with_len_N};/16_median 48.2 ns 48.2 ns 4
std::string copy{str_with_len_N};/16_stddev 0.527 ns 0.527 ns 4
std::string copy{str_with_len_N};/16_cv 1.09 % 1.09 % 4
std::string copy{str_with_len_N};/23_mean 49.1 ns 49.1 ns 4
std::string copy{str_with_len_N};/23_median 49.1 ns 49.1 ns 4
std::string copy{str_with_len_N};/23_stddev 0.755 ns 0.755 ns 4
std::string copy{str_with_len_N};/23_cv 1.54 % 1.54 % 4
std::string copy{str_with_len_N};/24_mean 48.1 ns 48.1 ns 4
std::string copy{str_with_len_N};/24_median 48.2 ns 48.2 ns 4
std::string copy{str_with_len_N};/24_stddev 0.677 ns 0.677 ns 4
std::string copy{str_with_len_N};/24_cv 1.41 % 1.41 % 4
std::string copy{str_with_len_N};/32_mean 51.5 ns 51.5 ns 4
std::string copy{str_with_len_N};/32_median 51.1 ns 51.1 ns 4
std::string copy{str_with_len_N};/32_stddev 1.18 ns 1.18 ns 4
std::string copy{str_with_len_N};/32_cv 2.30 % 2.30 % 4
std::string copy{str_with_len_N};/64_mean 53.0 ns 53.0 ns 4
std::string copy{str_with_len_N};/64_median 52.7 ns 52.7 ns 4
std::string copy{str_with_len_N};/64_stddev 1.25 ns 1.25 ns 4
std::string copy{str_with_len_N};/64_cv 2.35 % 2.35 % 4
std::string copy{str_with_len_N};/128_mean 52.6 ns 52.6 ns 4
std::string copy{str_with_len_N};/128_median 52.6 ns 52.6 ns 4
std::string copy{str_with_len_N};/128_stddev 0.900 ns 0.900 ns 4
std::string copy{str_with_len_N};/128_cv 1.71 % 1.71 % 4
std::string copy{str_with_len_N};/256_mean 59.2 ns 59.2 ns 4
std::string copy{str_with_len_N};/256_median 53.2 ns 53.2 ns 4
std::string copy{str_with_len_N};/256_stddev 12.5 ns 12.5 ns 4
std::string copy{str_with_len_N};/256_cv 21.06 % 21.06 % 4
std::string copy{str_with_len_N};/512_mean 59.5 ns 59.5 ns 4
std::string copy{str_with_len_N};/512_median 59.3 ns 59.3 ns 4
std::string copy{str_with_len_N};/512_stddev 3.97 ns 3.97 ns 4
std::string copy{str_with_len_N};/512_cv 6.68 % 6.68 % 4
std::string copy{str_with_len_N};/1024_mean 68.5 ns 68.5 ns 4
std::string copy{str_with_len_N};/1024_median 68.5 ns 68.6 ns 4
std::string copy{str_with_len_N};/1024_stddev 5.29 ns 5.29 ns 4
std::string copy{str_with_len_N};/1024_cv 7.72 % 7.72 % 4
std::string copy{str_with_len_N};/2048_mean 90.5 ns 90.5 ns 4
std::string copy{str_with_len_N};/2048_median 90.2 ns 90.2 ns 4
std::string copy{str_with_len_N};/2048_stddev 7.02 ns 7.02 ns 4
std::string copy{str_with_len_N};/2048_cv 7.76 % 7.76 % 4
std::string copy{str_with_len_N};/4096_mean 133 ns 133 ns 4
std::string copy{str_with_len_N};/4096_median 133 ns 133 ns 4
std::string copy{str_with_len_N};/4096_stddev 2.50 ns 2.50 ns 4
std::string copy{str_with_len_N};/4096_cv 1.88 % 1.88 % 4
stringa copy{str_with_len_N};/15_mean 2.36 ns 2.36 ns 4
stringa copy{str_with_len_N};/15_median 2.36 ns 2.36 ns 4
stringa copy{str_with_len_N};/15_stddev 0.040 ns 0.040 ns 4
stringa copy{str_with_len_N};/15_cv 1.72 % 1.72 % 4
stringa copy{str_with_len_N};/16_mean 4.79 ns 4.79 ns 4
stringa copy{str_with_len_N};/16_median 4.79 ns 4.79 ns 4
stringa copy{str_with_len_N};/16_stddev 0.061 ns 0.061 ns 4
stringa copy{str_with_len_N};/16_cv 1.27 % 1.27 % 4
stringa copy{str_with_len_N};/23_mean 4.82 ns 4.82 ns 4
stringa copy{str_with_len_N};/23_median 4.81 ns 4.81 ns 4
stringa copy{str_with_len_N};/23_stddev 0.062 ns 0.062 ns 4
stringa copy{str_with_len_N};/23_cv 1.29 % 1.29 % 4
stringa copy{str_with_len_N};/24_mean 4.79 ns 4.79 ns 4
stringa copy{str_with_len_N};/24_median 4.78 ns 4.78 ns 4
stringa copy{str_with_len_N};/24_stddev 0.056 ns 0.056 ns 4
stringa copy{str_with_len_N};/24_cv 1.18 % 1.18 % 4
stringa copy{str_with_len_N};/32_mean 4.81 ns 4.81 ns 4
stringa copy{str_with_len_N};/32_median 4.82 ns 4.82 ns 4
stringa copy{str_with_len_N};/32_stddev 0.048 ns 0.048 ns 4
stringa copy{str_with_len_N};/32_cv 1.01 % 1.01 % 4
stringa copy{str_with_len_N};/64_mean 4.83 ns 4.83 ns 4
stringa copy{str_with_len_N};/64_median 4.78 ns 4.78 ns 4
stringa copy{str_with_len_N};/64_stddev 0.166 ns 0.166 ns 4
stringa copy{str_with_len_N};/64_cv 3.43 % 3.43 % 4
stringa copy{str_with_len_N};/128_mean 4.77 ns 4.77 ns 4
stringa copy{str_with_len_N};/128_median 4.76 ns 4.76 ns 4
stringa copy{str_with_len_N};/128_stddev 0.070 ns 0.070 ns 4
stringa copy{str_with_len_N};/128_cv 1.46 % 1.46 % 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.059 ns 0.059 ns 4
stringa copy{str_with_len_N};/256_cv 1.23 % 1.23 % 4
stringa copy{str_with_len_N};/512_mean 4.77 ns 4.77 ns 4
stringa copy{str_with_len_N};/512_median 4.76 ns 4.76 ns 4
stringa copy{str_with_len_N};/512_stddev 0.032 ns 0.032 ns 4
stringa copy{str_with_len_N};/512_cv 0.68 % 0.68 % 4
stringa copy{str_with_len_N};/1024_mean 4.83 ns 4.83 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.043 ns 0.043 ns 4
stringa copy{str_with_len_N};/1024_cv 0.90 % 0.90 % 4
stringa copy{str_with_len_N};/2048_mean 4.82 ns 4.82 ns 4
stringa copy{str_with_len_N};/2048_median 4.79 ns 4.79 ns 4
stringa copy{str_with_len_N};/2048_stddev 0.072 ns 0.072 ns 4
stringa copy{str_with_len_N};/2048_cv 1.50 % 1.50 % 4
stringa copy{str_with_len_N};/4096_mean 4.77 ns 4.77 ns 4
stringa copy{str_with_len_N};/4096_median 4.77 ns 4.77 ns 4
stringa copy{str_with_len_N};/4096_stddev 0.043 ns 0.043 ns 4
stringa copy{str_with_len_N};/4096_cv 0.89 % 0.89 % 4
lstringa<16> copy{str_with_len_N};/15_mean 4.05 ns 4.05 ns 4
lstringa<16> copy{str_with_len_N};/15_median 4.06 ns 4.06 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.064 ns 0.064 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 1.59 % 1.59 % 4
lstringa<16> copy{str_with_len_N};/16_mean 14.5 ns 14.5 ns 4
lstringa<16> copy{str_with_len_N};/16_median 14.6 ns 14.6 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.232 ns 0.232 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 1.60 % 1.60 % 4
lstringa<16> copy{str_with_len_N};/23_mean 35.6 ns 35.6 ns 4
lstringa<16> copy{str_with_len_N};/23_median 35.4 ns 35.4 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 0.844 ns 0.844 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 2.37 % 2.37 % 4
lstringa<16> copy{str_with_len_N};/24_mean 35.4 ns 35.4 ns 4
lstringa<16> copy{str_with_len_N};/24_median 35.2 ns 35.2 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 0.567 ns 0.567 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 1.60 % 1.60 % 4
lstringa<16> copy{str_with_len_N};/32_mean 38.4 ns 38.4 ns 4
lstringa<16> copy{str_with_len_N};/32_median 38.4 ns 38.4 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 0.519 ns 0.519 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 1.35 % 1.35 % 4
lstringa<16> copy{str_with_len_N};/64_mean 38.3 ns 38.3 ns 4
lstringa<16> copy{str_with_len_N};/64_median 38.3 ns 38.3 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 0.509 ns 0.509 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 1.33 % 1.33 % 4
lstringa<16> copy{str_with_len_N};/128_mean 39.6 ns 39.6 ns 4
lstringa<16> copy{str_with_len_N};/128_median 38.8 ns 38.8 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 2.10 ns 2.10 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 5.31 % 5.31 % 4
lstringa<16> copy{str_with_len_N};/256_mean 45.5 ns 45.5 ns 4
lstringa<16> copy{str_with_len_N};/256_median 39.3 ns 39.3 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 12.7 ns 12.7 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 28.04 % 28.04 % 4
lstringa<16> copy{str_with_len_N};/512_mean 44.0 ns 44.0 ns 4
lstringa<16> copy{str_with_len_N};/512_median 44.0 ns 44.0 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 2.59 ns 2.59 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 5.88 % 5.88 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 54.9 ns 54.9 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 54.3 ns 54.3 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 4.67 ns 4.67 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 8.51 % 8.51 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 76.6 ns 76.6 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 75.7 ns 75.7 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 7.67 ns 7.67 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 10.00 % 10.00 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 122 ns 122 ns 4
lstringa<16> copy{str_with_len_N};/4096_median 122 ns 122 ns 4
lstringa<16> copy{str_with_len_N};/4096_stddev 2.81 ns 2.81 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 2.31 % 2.31 % 4
lstringa<512> copy{str_with_len_N};/15_mean 4.44 ns 4.44 ns 4
lstringa<512> copy{str_with_len_N};/15_median 4.47 ns 4.47 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.089 ns 0.089 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 2.00 % 2.00 % 4
lstringa<512> copy{str_with_len_N};/16_mean 15.0 ns 15.0 ns 4
lstringa<512> copy{str_with_len_N};/16_median 15.0 ns 15.0 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.159 ns 0.159 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 1.06 % 1.06 % 4
lstringa<512> copy{str_with_len_N};/23_mean 15.0 ns 15.0 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.162 ns 0.162 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 1.08 % 1.08 % 4
lstringa<512> copy{str_with_len_N};/24_mean 15.1 ns 15.1 ns 4
lstringa<512> copy{str_with_len_N};/24_median 15.1 ns 15.1 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 0.312 ns 0.312 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 2.07 % 2.07 % 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.8 ns 17.8 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.168 ns 0.168 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 0.95 % 0.95 % 4
lstringa<512> copy{str_with_len_N};/64_mean 18.4 ns 18.4 ns 4
lstringa<512> copy{str_with_len_N};/64_median 18.3 ns 18.3 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 0.497 ns 0.498 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 2.70 % 2.70 % 4
lstringa<512> copy{str_with_len_N};/128_mean 18.5 ns 18.5 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 0.272 ns 0.272 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 1.47 % 1.47 % 4
lstringa<512> copy{str_with_len_N};/256_mean 20.5 ns 20.5 ns 4
lstringa<512> copy{str_with_len_N};/256_median 20.6 ns 20.6 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 0.361 ns 0.361 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 1.76 % 1.76 % 4
lstringa<512> copy{str_with_len_N};/512_mean 23.2 ns 23.2 ns 4
lstringa<512> copy{str_with_len_N};/512_median 23.2 ns 23.2 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 0.043 ns 0.043 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 0.18 % 0.18 % 4
lstringa<512> copy{str_with_len_N};/1024_mean 55.2 ns 55.2 ns 4
lstringa<512> copy{str_with_len_N};/1024_median 53.8 ns 53.8 ns 4
lstringa<512> copy{str_with_len_N};/1024_stddev 4.51 ns 4.51 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 8.18 % 8.18 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 76.0 ns 76.0 ns 4
lstringa<512> copy{str_with_len_N};/2048_median 76.0 ns 76.0 ns 4
lstringa<512> copy{str_with_len_N};/2048_stddev 6.65 ns 6.65 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 8.75 % 8.75 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 122 ns 122 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 5.22 ns 5.22 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 4.27 % 4.27 % 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 93.0 ns 93.0 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 93.1 ns 93.1 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 1.93 ns 1.93 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 2.07 % 2.07 % 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 26.7 ns 26.7 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 26.7 ns 26.7 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.606 ns 0.605 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 2.27 % 2.27 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 19.1 ns 19.1 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 19.0 ns 19.0 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.300 ns 0.300 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.57 % 1.57 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 18.6 ns 18.6 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 18.6 ns 18.6 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.129 ns 0.129 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 0.69 % 0.69 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 18.9 ns 18.9 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 18.9 ns 18.9 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.237 ns 0.237 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.26 % 1.26 % 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 67.9 ns 67.9 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 68.0 ns 68.0 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.389 ns 0.389 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 0.57 % 0.57 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 25.8 ns 25.8 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 25.5 ns 25.5 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.994 ns 0.994 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 3.85 % 3.85 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 19.2 ns 19.2 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 19.2 ns 19.2 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.447 ns 0.447 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.32 % 2.32 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 19.0 ns 19.0 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 19.1 ns 19.1 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.119 ns 0.119 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.63 % 0.63 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 19.6 ns 19.6 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 19.4 ns 19.4 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.765 ns 0.764 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.90 % 3.90 % 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 98.4 ns 98.4 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 98.1 ns 98.1 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 2.62 ns 2.62 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 2.66 % 2.66 % 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 24.4 ns 24.4 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 24.3 ns 24.3 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.634 ns 0.634 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 2.60 % 2.60 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 19.3 ns 19.3 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.184 ns 0.184 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 0.95 % 0.95 % 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 308 ns 308 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 308 ns 308 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 2.38 ns 2.38 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 0.77 % 0.77 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 109 ns 109 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 109 ns 109 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 0.843 ns 0.843 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 0.77 % 0.77 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 42.1 ns 42.1 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_median 42.2 ns 42.2 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.547 ns 0.547 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 1.30 % 1.30 % 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 6617 ns 6617 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 6578 ns 6578 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 172 ns 172 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 2.60 % 2.60 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 775 ns 775 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 775 ns 775 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 1.89 ns 1.89 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 0.24 % 0.24 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 700 ns 700 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 697 ns 697 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 14.0 ns 14.0 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 1.99 % 1.99 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 574 ns 574 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 575 ns 575 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 4.60 ns 4.60 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 0.80 % 0.80 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 519 ns 519 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 519 ns 519 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 4.50 ns 4.50 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 0.87 % 0.87 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 420 ns 420 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 420 ns 420 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 6.73 ns 6.73 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 1.60 % 1.60 % 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 7050 ns 7050 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 7065 ns 7065 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 86.9 ns 86.9 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 1.23 % 1.23 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 2182 ns 2182 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 2183 ns 2183 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 20.2 ns 20.2 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 0.92 % 0.92 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 978 ns 978 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 986 ns 986 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 21.9 ns 21.9 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.24 % 2.24 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 838 ns 838 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 840 ns 840 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 22.4 ns 22.4 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.68 % 2.68 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 735 ns 735 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 731 ns 731 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 21.7 ns 21.7 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.95 % 2.95 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 663 ns 663 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 665 ns 665 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 9.71 ns 9.71 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.46 % 1.46 % 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 346232 ns 346235 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 350597 ns 350600 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 11487 ns 11488 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 3.32 % 3.32 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 119182 ns 119182 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 119674 ns 119675 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1204 ns 1203 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.01 % 1.01 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 50289 ns 50289 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 50125 ns 50125 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 992 ns 992 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.97 % 1.97 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 47056 ns 47057 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 47163 ns 47163 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1168 ns 1168 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.48 % 2.48 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 47969 ns 47970 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 48021 ns 48022 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1624 ns 1624 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.38 % 3.38 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 47909 ns 47910 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 47769 ns 47769 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 882 ns 882 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.84 % 1.84 % 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 7139 ns 7139 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 7170 ns 7171 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 151 ns 151 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 2.11 % 2.11 % 4
std::string str; ... str += str_var1 + str_var2;_mean 2572 ns 2572 ns 4
std::string str; ... str += str_var1 + str_var2;_median 2563 ns 2563 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 58.0 ns 58.0 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 2.26 % 2.26 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 1204 ns 1204 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 1202 ns 1202 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 54.0 ns 54.0 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 4.48 % 4.48 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 1079 ns 1079 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 1076 ns 1076 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 16.2 ns 16.2 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 1.50 % 1.50 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 993 ns 993 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 995 ns 995 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 43.9 ns 43.9 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_cv 4.42 % 4.42 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 947 ns 947 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 955 ns 955 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 25.9 ns 25.9 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 2.73 % 2.73 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 11745 ns 11746 ns 4
std::stringstream str; str << "test = " << k << " times";_median 11646 ns 11646 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 368 ns 368 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 3.13 % 3.13 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 1627 ns 1627 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 1625 ns 1625 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 23.3 ns 23.3 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 1.43 % 1.43 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 5392 ns 5392 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 5390 ns 5390 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 55.3 ns 55.2 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.02 % 1.02 % 4
std::string str = std::format("test = {} times", k);_mean 2823 ns 2823 ns 4
std::string str = std::format("test = {} times", k);_median 2818 ns 2818 ns 4
std::string str = std::format("test = {} times", k);_stddev 69.6 ns 69.6 ns 4
std::string str = std::format("test = {} times", k);_cv 2.47 % 2.47 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 4756 ns 4756 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 4775 ns 4775 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 83.2 ns 83.2 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 1.75 % 1.75 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 4212 ns 4212 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 4254 ns 4254 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 125 ns 125 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 2.98 % 2.98 % 4
lstringa<8> str = "test = " + k + " times";_mean 565 ns 565 ns 4
lstringa<8> str = "test = " + k + " times";_median 564 ns 564 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 5.85 ns 5.85 ns 4
lstringa<8> str = "test = " + k + " times";_cv 1.04 % 1.04 % 4
lstringa<32> str = "test = " + k + " times";_mean 338 ns 338 ns 4
lstringa<32> str = "test = " + k + " times";_median 340 ns 340 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 9.71 ns 9.71 ns 4
lstringa<32> str = "test = " + k + " times";_cv 2.87 % 2.87 % 4
stringa str = "test = " + k + " times";_mean 564 ns 564 ns 4
stringa str = "test = " + k + " times";_median 561 ns 561 ns 4
stringa str = "test = " + k + " times";_stddev 16.3 ns 16.3 ns 4
stringa str = "test = " + k + " times";_cv 2.89 % 2.89 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 693 ns 693 ns 4
std::string::find + substr + std::strtol_median 702 ns 702 ns 4
std::string::find + substr + std::strtol_stddev 31.3 ns 31.3 ns 4
std::string::find + substr + std::strtol_cv 4.51 % 4.51 % 4
ssa::splitter + ssa::as_int_mean 250 ns 250 ns 4
ssa::splitter + ssa::as_int_median 250 ns 250 ns 4
ssa::splitter + ssa::as_int_stddev 1.11 ns 1.11 ns 4
ssa::splitter + ssa::as_int_cv 0.45 % 0.45 % 4
ssa::splitf + functor_mean 277 ns 277 ns 4
ssa::splitf + functor_median 276 ns 276 ns 4
ssa::splitf + functor_stddev 7.87 ns 7.87 ns 4
ssa::splitf + functor_cv 2.85 % 2.85 % 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 3150 ns 3150 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 3130 ns 3130 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 105 ns 105 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 3.32 % 3.32 % 4
replace symbols with std::string find_first_of + replace_mean 4982 ns 4982 ns 4
replace symbols with std::string find_first_of + replace_median 4969 ns 4969 ns 4
replace symbols with std::string find_first_of + replace_stddev 233 ns 233 ns 4
replace symbols with std::string find_first_of + replace_cv 4.68 % 4.68 % 4
replace symbols with std::string_view find_first_of + copy_mean 3246 ns 3246 ns 4
replace symbols with std::string_view find_first_of + copy_median 3268 ns 3268 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 93.9 ns 93.9 ns 4
replace symbols with std::string_view find_first_of + copy_cv 2.89 % 2.89 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 3117 ns 3117 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 3133 ns 3133 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 84.7 ns 84.7 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 2.72 % 2.72 % 4
replace runtime symbols with simstr and memorization of all search results_mean 2534 ns 2534 ns 4
replace runtime symbols with simstr and memorization of all search results_median 2535 ns 2535 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 24.1 ns 24.1 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 0.95 % 0.95 % 4
replace const symbols with string expressions and without remembering all search results_mean 2608 ns 2608 ns 4
replace const symbols with string expressions and without remembering all search results_median 2623 ns 2623 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 63.1 ns 63.1 ns 4
replace const symbols with string expressions and without remembering all search results_cv 2.42 % 2.42 % 4
replace const symbols with string expressions and memorization of all search results_mean 2259 ns 2259 ns 4
replace const symbols with string expressions and memorization of all search results_median 2260 ns 2260 ns 4
replace const symbols with string expressions and memorization of all search results_stddev 66.3 ns 66.3 ns 4
replace const symbols with string expressions and memorization of all search results_cv 2.94 % 2.93 % 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 449 ns 449 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 455 ns 455 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 13.0 ns 13.0 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.89 % 2.89 % 4
Short replace symbols with std::string find_first_of + replace_mean 628 ns 628 ns 4
Short replace symbols with std::string find_first_of + replace_median 631 ns 631 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 10.1 ns 10.1 ns 4
Short replace symbols with std::string find_first_of + replace_cv 1.62 % 1.62 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 474 ns 474 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 471 ns 471 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 24.3 ns 24.3 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 5.14 % 5.14 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 376 ns 376 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 375 ns 375 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 6.81 ns 6.81 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 1.81 % 1.81 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 435 ns 435 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 437 ns 437 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 12.5 ns 12.5 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 2.88 % 2.88 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 285 ns 285 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 287 ns 287 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 8.98 ns 8.98 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 3.15 % 3.15 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 312 ns 312 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 312 ns 312 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 5.70 ns 5.70 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 1.82 % 1.82 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 422 ns 422 ns 4
replace bb to ---- in std::string|64_median 420 ns 420 ns 4
replace bb to ---- in std::string|64_stddev 13.0 ns 13.0 ns 4
replace bb to ---- in std::string|64_cv 3.09 % 3.10 % 4
replace bb to ---- in std::string|256_mean 1229 ns 1229 ns 4
replace bb to ---- in std::string|256_median 1248 ns 1248 ns 4
replace bb to ---- in std::string|256_stddev 43.1 ns 43.1 ns 4
replace bb to ---- in std::string|256_cv 3.51 % 3.51 % 4
replace bb to ---- in std::string|512_mean 2359 ns 2359 ns 4
replace bb to ---- in std::string|512_median 2319 ns 2319 ns 4
replace bb to ---- in std::string|512_stddev 101 ns 101 ns 4
replace bb to ---- in std::string|512_cv 4.30 % 4.30 % 4
replace bb to ---- in std::string|1024_mean 5079 ns 5079 ns 4
replace bb to ---- in std::string|1024_median 5035 ns 5035 ns 4
replace bb to ---- in std::string|1024_stddev 203 ns 203 ns 4
replace bb to ---- in std::string|1024_cv 4.01 % 4.01 % 4
replace bb to ---- in std::string|2048_mean 12214 ns 12214 ns 4
replace bb to ---- in std::string|2048_median 12009 ns 12009 ns 4
replace bb to ---- in std::string|2048_stddev 492 ns 492 ns 4
replace bb to ---- in std::string|2048_cv 4.03 % 4.03 % 4
replace bb to ---- in lstringa<8>|64_mean 311 ns 311 ns 4
replace bb to ---- in lstringa<8>|64_median 310 ns 310 ns 4
replace bb to ---- in lstringa<8>|64_stddev 1.61 ns 1.61 ns 4
replace bb to ---- in lstringa<8>|64_cv 0.52 % 0.52 % 4
replace bb to ---- in lstringa<8>|256_mean 964 ns 964 ns 4
replace bb to ---- in lstringa<8>|256_median 957 ns 957 ns 4
replace bb to ---- in lstringa<8>|256_stddev 43.0 ns 43.0 ns 4
replace bb to ---- in lstringa<8>|256_cv 4.46 % 4.46 % 4
replace bb to ---- in lstringa<8>|512_mean 1801 ns 1801 ns 4
replace bb to ---- in lstringa<8>|512_median 1784 ns 1784 ns 4
replace bb to ---- in lstringa<8>|512_stddev 75.1 ns 75.1 ns 4
replace bb to ---- in lstringa<8>|512_cv 4.17 % 4.17 % 4
replace bb to ---- in lstringa<8>|1024_mean 3329 ns 3329 ns 4
replace bb to ---- in lstringa<8>|1024_median 3329 ns 3329 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 49.6 ns 49.6 ns 4
replace bb to ---- in lstringa<8>|1024_cv 1.49 % 1.49 % 4
replace bb to ---- in lstringa<8>|2048_mean 6478 ns 6478 ns 4
replace bb to ---- in lstringa<8>|2048_median 6487 ns 6487 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 173 ns 173 ns 4
replace bb to ---- in lstringa<8>|2048_cv 2.67 % 2.67 % 4
replace bb to ---- by init stringa|64_mean 205 ns 205 ns 4
replace bb to ---- by init stringa|64_median 205 ns 205 ns 4
replace bb to ---- by init stringa|64_stddev 2.90 ns 2.90 ns 4
replace bb to ---- by init stringa|64_cv 1.41 % 1.41 % 4
replace bb to ---- by init stringa|256_mean 620 ns 620 ns 4
replace bb to ---- by init stringa|256_median 617 ns 617 ns 4
replace bb to ---- by init stringa|256_stddev 17.4 ns 17.4 ns 4
replace bb to ---- by init stringa|256_cv 2.81 % 2.81 % 4
replace bb to ---- by init stringa|512_mean 1395 ns 1395 ns 4
replace bb to ---- by init stringa|512_median 1395 ns 1395 ns 4
replace bb to ---- by init stringa|512_stddev 8.37 ns 8.37 ns 4
replace bb to ---- by init stringa|512_cv 0.60 % 0.60 % 4
replace bb to ---- by init stringa|1024_mean 2995 ns 2995 ns 4
replace bb to ---- by init stringa|1024_median 2993 ns 2993 ns 4
replace bb to ---- by init stringa|1024_stddev 137 ns 137 ns 4
replace bb to ---- by init stringa|1024_cv 4.56 % 4.56 % 4
replace bb to ---- by init stringa|2048_mean 5944 ns 5944 ns 4
replace bb to ---- by init stringa|2048_median 5947 ns 5947 ns 4
replace bb to ---- by init stringa|2048_stddev 53.7 ns 53.7 ns 4
replace bb to ---- by init stringa|2048_cv 0.90 % 0.90 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 282 ns 282 ns 4
replace bb to -- in std::string|64_median 279 ns 279 ns 4
replace bb to -- in std::string|64_stddev 7.17 ns 7.17 ns 4
replace bb to -- in std::string|64_cv 2.54 % 2.54 % 4
replace bb to -- in std::string|256_mean 853 ns 853 ns 4
replace bb to -- in std::string|256_median 853 ns 853 ns 4
replace bb to -- in std::string|256_stddev 22.1 ns 22.1 ns 4
replace bb to -- in std::string|256_cv 2.59 % 2.59 % 4
replace bb to -- in std::string|512_mean 1670 ns 1670 ns 4
replace bb to -- in std::string|512_median 1673 ns 1673 ns 4
replace bb to -- in std::string|512_stddev 18.3 ns 18.3 ns 4
replace bb to -- in std::string|512_cv 1.10 % 1.10 % 4
replace bb to -- in std::string|1024_mean 3119 ns 3119 ns 4
replace bb to -- in std::string|1024_median 3131 ns 3131 ns 4
replace bb to -- in std::string|1024_stddev 58.4 ns 58.4 ns 4
replace bb to -- in std::string|1024_cv 1.87 % 1.87 % 4
replace bb to -- in std::string|2048_mean 6498 ns 6498 ns 4
replace bb to -- in std::string|2048_median 6470 ns 6470 ns 4
replace bb to -- in std::string|2048_stddev 89.6 ns 89.7 ns 4
replace bb to -- in std::string|2048_cv 1.38 % 1.38 % 4
replace bb to -- in lstringa<8>|64_mean 221 ns 221 ns 4
replace bb to -- in lstringa<8>|64_median 220 ns 220 ns 4
replace bb to -- in lstringa<8>|64_stddev 5.54 ns 5.53 ns 4
replace bb to -- in lstringa<8>|64_cv 2.50 % 2.50 % 4
replace bb to -- in lstringa<8>|256_mean 671 ns 671 ns 4
replace bb to -- in lstringa<8>|256_median 670 ns 670 ns 4
replace bb to -- in lstringa<8>|256_stddev 35.5 ns 35.5 ns 4
replace bb to -- in lstringa<8>|256_cv 5.29 % 5.29 % 4
replace bb to -- in lstringa<8>|512_mean 1237 ns 1237 ns 4
replace bb to -- in lstringa<8>|512_median 1236 ns 1236 ns 4
replace bb to -- in lstringa<8>|512_stddev 12.8 ns 12.8 ns 4
replace bb to -- in lstringa<8>|512_cv 1.04 % 1.04 % 4
replace bb to -- in lstringa<8>|1024_mean 2398 ns 2398 ns 4
replace bb to -- in lstringa<8>|1024_median 2387 ns 2387 ns 4
replace bb to -- in lstringa<8>|1024_stddev 52.8 ns 52.8 ns 4
replace bb to -- in lstringa<8>|1024_cv 2.20 % 2.20 % 4
replace bb to -- in lstringa<8>|2048_mean 4661 ns 4661 ns 4
replace bb to -- in lstringa<8>|2048_median 4669 ns 4669 ns 4
replace bb to -- in lstringa<8>|2048_stddev 40.2 ns 40.2 ns 4
replace bb to -- in lstringa<8>|2048_cv 0.86 % 0.86 % 4
replace bb to -- by init stringa|64_mean 171 ns 171 ns 4
replace bb to -- by init stringa|64_median 170 ns 170 ns 4
replace bb to -- by init stringa|64_stddev 4.59 ns 4.59 ns 4
replace bb to -- by init stringa|64_cv 2.69 % 2.69 % 4
replace bb to -- by init stringa|256_mean 528 ns 528 ns 4
replace bb to -- by init stringa|256_median 531 ns 531 ns 4
replace bb to -- by init stringa|256_stddev 17.2 ns 17.2 ns 4
replace bb to -- by init stringa|256_cv 3.25 % 3.25 % 4
replace bb to -- by init stringa|512_mean 881 ns 881 ns 4
replace bb to -- by init stringa|512_median 886 ns 886 ns 4
replace bb to -- by init stringa|512_stddev 27.2 ns 27.2 ns 4
replace bb to -- by init stringa|512_cv 3.08 % 3.08 % 4
replace bb to -- by init stringa|1024_mean 1721 ns 1721 ns 4
replace bb to -- by init stringa|1024_median 1731 ns 1731 ns 4
replace bb to -- by init stringa|1024_stddev 27.6 ns 27.6 ns 4
replace bb to -- by init stringa|1024_cv 1.61 % 1.61 % 4
replace bb to -- by init stringa|2048_mean 3318 ns 3318 ns 4
replace bb to -- by init stringa|2048_median 3314 ns 3314 ns 4
replace bb to -- by init stringa|2048_stddev 114 ns 114 ns 4
replace bb to -- by init stringa|2048_cv 3.43 % 3.43 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3294169 ns 3294203 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 3290069 ns 3290103 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 52242 ns 52235 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 1.59 % 1.59 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3593372 ns 3593410 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3568808 ns 3568846 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 58442 ns 58433 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 1.63 % 1.63 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 3280453 ns 3280494 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 3292058 ns 3292105 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 31526 ns 31537 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 0.96 % 0.96 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 3999371 ns 3999393 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 3995266 ns 3995281 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 94150 ns 94150 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 2.35 % 2.35 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 3564 ns 3564 ns 4
Build func full name std::string;_median 3521 ns 3521 ns 4
Build func full name std::string;_stddev 114 ns 114 ns 4
Build func full name std::string;_cv 3.20 % 3.20 % 4
Build func full name std::string 1;_mean 3650 ns 3650 ns 4
Build func full name std::string 1;_median 3618 ns 3618 ns 4
Build func full name std::string 1;_stddev 205 ns 205 ns 4
Build func full name std::string 1;_cv 5.63 % 5.63 % 4
Build func full name std::stream;_mean 12092 ns 12092 ns 4
Build func full name std::stream;_median 12016 ns 12016 ns 4
Build func full name std::stream;_stddev 167 ns 167 ns 4
Build func full name std::stream;_cv 1.38 % 1.38 % 4
Build func full name stringa;_mean 1696 ns 1696 ns 4
Build func full name stringa;_median 1696 ns 1696 ns 4
Build func full name stringa;_stddev 54.0 ns 54.0 ns 4
Build func full name stringa;_cv 3.19 % 3.19 % 4
Build func full name stringa 1;_mean 2029 ns 2029 ns 4
Build func full name stringa 1;_median 2049 ns 2049 ns 4
Build func full name stringa 1;_stddev 114 ns 114 ns 4
Build func full name stringa 1;_cv 5.62 % 5.62 % 4