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

940 lines
139 KiB
Plaintext

Benchmarks of simstr, version 1.6.7
Sources: https://github.com/orefkov/simstr
Results: https://orefkov.github.io/simstr/results.html
2026-02-12T15:27:04+03:00
Running ./benchStr
Run on (32 X 2494.22 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x16)
L1 Instruction 32 KiB (x16)
L2 Unified 256 KiB (x16)
L3 Unified 40960 KiB (x1)
Load Average: 0.19, 0.64, 0.48
***WARNING*** ASLR is enabled, the results may have unreproducible noise in them.
--------------------------------------------------------------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
--------------------------------------------------------------------------------------------------------------------------------------------------------
----- Concatenate string + Number + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string and number by std to std::string_mean 202 ns 202 ns 4
Concat std::string and number by std to std::string_median 199 ns 199 ns 4
Concat std::string and number by std to std::string_stddev 6.88 ns 6.88 ns 4
Concat std::string and number by std to std::string_cv 3.41 % 3.41 % 4
Concat std::string and number by StrExpr to std::string_mean 101 ns 101 ns 4
Concat std::string and number by StrExpr to std::string_median 101 ns 101 ns 4
Concat std::string and number by StrExpr to std::string_stddev 2.79 ns 2.79 ns 4
Concat std::string and number by StrExpr to std::string_cv 2.77 % 2.77 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 72.1 ns 72.1 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 71.6 ns 71.6 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 1.55 ns 1.55 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 2.15 % 2.15 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 75.9 ns 75.9 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 76.2 ns 76.2 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 0.726 ns 0.725 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 0.96 % 0.96 % 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 651 ns 651 ns 4
Concat std::string and format hex number and literal to std::string_median 650 ns 650 ns 4
Concat std::string and format hex number and literal to std::string_stddev 6.78 ns 6.78 ns 4
Concat std::string and format hex number and literal to std::string_cv 1.04 % 1.04 % 4
std::format std::string and hex number by literal to std::string_mean 922 ns 922 ns 4
std::format std::string and hex number by literal to std::string_median 912 ns 912 ns 4
std::format std::string and hex number by literal to std::string_stddev 24.9 ns 24.9 ns 4
std::format std::string and hex number by literal to std::string_cv 2.70 % 2.70 % 4
Concat std::string and std::to_chars and string to std::string_mean 176 ns 176 ns 4
Concat std::string and std::to_chars and string to std::string_median 176 ns 176 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 3.41 ns 3.41 ns 4
Concat std::string and std::to_chars and string to std::string_cv 1.94 % 1.94 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 125 ns 125 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 125 ns 125 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 2.60 ns 2.60 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 2.09 % 2.09 % 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 120 ns 120 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 120 ns 120 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 1.45 ns 1.45 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 1.20 % 1.20 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 124 ns 124 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 125 ns 125 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 1.19 ns 1.19 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 0.95 % 0.95 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 167 ns 167 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 166 ns 166 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 2.81 ns 2.81 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 1.68 % 1.68 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 296 ns 296 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 297 ns 297 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 2.96 ns 2.96 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 1.00 % 1.00 % 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 339 ns 339 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 337 ns 337 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 6.66 ns 6.66 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 1.97 % 1.97 % 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 320 ns 320 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 318 ns 318 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 6.45 ns 6.45 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 2.02 % 2.02 % 4
e_vsubst(pattern, i / 0x8a010_fmt)_mean 582 ns 582 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_median 579 ns 579 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 8.85 ns 8.85 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_cv 1.52 % 1.52 % 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 727 ns 727 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 729 ns 729 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 11.2 ns 11.2 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 1.54 % 1.54 % 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 786 ns 786 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 785 ns 785 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 10.8 ns 10.8 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 1.37 % 1.37 % 4
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 1222 ns 1222 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_median 1218 ns 1218 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 23.8 ns 23.8 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 1.95 % 1.95 % 4
std::vformat(pattern, std::make_format_args(i))_mean 1143 ns 1143 ns 4
std::vformat(pattern, std::make_format_args(i))_median 1148 ns 1148 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 21.3 ns 21.3 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 1.86 % 1.86 % 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 2092 ns 2092 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 2072 ns 2072 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 46.7 ns 46.7 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 2.23 % 2.23 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 49.8 ns 49.8 ns 4
Concat std::string by std to std::string_median 49.9 ns 49.9 ns 4
Concat std::string by std to std::string_stddev 1.10 ns 1.10 ns 4
Concat std::string by std to std::string_cv 2.21 % 2.21 % 4
Concat std::string by StrExpr to std::string_mean 30.3 ns 30.3 ns 4
Concat std::string by StrExpr to std::string_median 30.5 ns 30.5 ns 4
Concat std::string by StrExpr to std::string_stddev 1.00 ns 1.00 ns 4
Concat std::string by StrExpr to std::string_cv 3.31 % 3.31 % 4
Concat stringa by StrExpr to stringa_mean 26.6 ns 26.6 ns 4
Concat stringa by StrExpr to stringa_median 26.6 ns 26.6 ns 4
Concat stringa by StrExpr to stringa_stddev 0.270 ns 0.270 ns 4
Concat stringa by StrExpr to stringa_cv 1.02 % 1.02 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 192 ns 192 ns 4
Find concat three std::string_median 193 ns 193 ns 4
Find concat three std::string_stddev 2.50 ns 2.50 ns 4
Find concat three std::string_cv 1.30 % 1.30 % 4
Find concat three strexpr_mean 41.1 ns 41.1 ns 4
Find concat three strexpr_median 40.7 ns 40.7 ns 4
Find concat three strexpr_stddev 1.62 ns 1.62 ns 4
Find concat three strexpr_cv 3.93 % 3.93 % 4
Find concat three simstr_mean 19.5 ns 19.5 ns 4
Find concat three simstr_median 19.6 ns 19.6 ns 4
Find concat three simstr_stddev 0.203 ns 0.203 ns 4
Find concat three simstr_cv 1.04 % 1.04 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 10.1 ns 10.1 ns 4
BuildTypeNameStr 0/0_median 10.1 ns 10.1 ns 4
BuildTypeNameStr 0/0_stddev 0.217 ns 0.217 ns 4
BuildTypeNameStr 0/0_cv 2.16 % 2.16 % 4
BuildTypeNameExp 0/0_mean 6.62 ns 6.62 ns 4
BuildTypeNameExp 0/0_median 6.62 ns 6.62 ns 4
BuildTypeNameExp 0/0_stddev 0.069 ns 0.069 ns 4
BuildTypeNameExp 0/0_cv 1.04 % 1.04 % 4
BuildTypeNameSim 0/0_mean 4.89 ns 4.89 ns 4
BuildTypeNameSim 0/0_median 4.92 ns 4.92 ns 4
BuildTypeNameSim 0/0_stddev 0.073 ns 0.073 ns 4
BuildTypeNameSim 0/0_cv 1.50 % 1.50 % 4
BuildTypeNameStr 10/10_mean 82.3 ns 82.3 ns 4
BuildTypeNameStr 10/10_median 81.9 ns 81.9 ns 4
BuildTypeNameStr 10/10_stddev 1.21 ns 1.21 ns 4
BuildTypeNameStr 10/10_cv 1.47 % 1.47 % 4
BuildTypeNameExp 10/10_mean 25.3 ns 25.3 ns 4
BuildTypeNameExp 10/10_median 24.9 ns 24.9 ns 4
BuildTypeNameExp 10/10_stddev 1.64 ns 1.64 ns 4
BuildTypeNameExp 10/10_cv 6.48 % 6.48 % 4
BuildTypeNameSim 10/10_mean 21.6 ns 21.6 ns 4
BuildTypeNameSim 10/10_median 21.6 ns 21.6 ns 4
BuildTypeNameSim 10/10_stddev 0.206 ns 0.206 ns 4
BuildTypeNameSim 10/10_cv 0.95 % 0.95 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 225 ns 225 ns 4
Concat with replace str_median 226 ns 226 ns 4
Concat with replace str_stddev 2.79 ns 2.79 ns 4
Concat with replace str_cv 1.24 % 1.24 % 4
Concat with replace exp_mean 135 ns 135 ns 4
Concat with replace exp_median 135 ns 135 ns 4
Concat with replace exp_stddev 3.82 ns 3.82 ns 4
Concat with replace exp_cv 2.83 % 2.83 % 4
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.13 ns 1.13 ns 4
std::string e;_median 1.13 ns 1.13 ns 4
std::string e;_stddev 0.023 ns 0.023 ns 4
std::string e;_cv 2.01 % 2.01 % 4
std::string_view e;_mean 0.739 ns 0.739 ns 4
std::string_view e;_median 0.737 ns 0.737 ns 4
std::string_view e;_stddev 0.016 ns 0.016 ns 4
std::string_view e;_cv 2.12 % 2.12 % 4
ssa e;_mean 0.182 ns 0.182 ns 4
ssa e;_median 0.182 ns 0.182 ns 4
ssa e;_stddev 0.000 ns 0.000 ns 4
ssa e;_cv 0.21 % 0.21 % 4
stringa e;_mean 0.736 ns 0.736 ns 4
stringa e;_median 0.741 ns 0.741 ns 4
stringa e;_stddev 0.015 ns 0.015 ns 4
stringa e;_cv 2.05 % 2.05 % 4
lstringa<20> e;_mean 1.11 ns 1.11 ns 4
lstringa<20> e;_median 1.11 ns 1.11 ns 4
lstringa<20> e;_stddev 0.018 ns 0.018 ns 4
lstringa<20> e;_cv 1.64 % 1.64 % 4
lstringa<40> e;_mean 1.10 ns 1.10 ns 4
lstringa<40> e;_median 1.11 ns 1.11 ns 4
lstringa<40> e;_stddev 0.017 ns 0.017 ns 4
lstringa<40> e;_cv 1.56 % 1.56 % 4
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 1.82 ns 1.82 ns 4
std::string e = "Test text";_median 1.81 ns 1.81 ns 4
std::string e = "Test text";_stddev 0.030 ns 0.030 ns 4
std::string e = "Test text";_cv 1.63 % 1.63 % 4
std::string_view e = "Test text";_mean 0.742 ns 0.742 ns 4
std::string_view e = "Test text";_median 0.738 ns 0.738 ns 4
std::string_view e = "Test text";_stddev 0.013 ns 0.013 ns 4
std::string_view e = "Test text";_cv 1.79 % 1.79 % 4
ssa e = "Test text";_mean 0.736 ns 0.736 ns 4
ssa e = "Test text";_median 0.738 ns 0.738 ns 4
ssa e = "Test text";_stddev 0.011 ns 0.011 ns 4
ssa e = "Test text";_cv 1.49 % 1.49 % 4
stringa e = "Test text";_mean 1.10 ns 1.10 ns 4
stringa e = "Test text";_median 1.10 ns 1.10 ns 4
stringa e = "Test text";_stddev 0.018 ns 0.018 ns 4
stringa e = "Test text";_cv 1.61 % 1.61 % 4
lstringa<20> e = "Test text";_mean 1.85 ns 1.85 ns 4
lstringa<20> e = "Test text";_median 1.85 ns 1.85 ns 4
lstringa<20> e = "Test text";_stddev 0.010 ns 0.010 ns 4
lstringa<20> e = "Test text";_cv 0.56 % 0.56 % 4
lstringa<40> e = "Test text";_mean 1.83 ns 1.83 ns 4
lstringa<40> e = "Test text";_median 1.83 ns 1.83 ns 4
lstringa<40> e = "Test text";_stddev 0.030 ns 0.030 ns 4
lstringa<40> e = "Test text";_cv 1.64 % 1.64 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 19.5 ns 19.5 ns 4
std::string e = "123456789012345678901234567890";_median 19.6 ns 19.6 ns 4
std::string e = "123456789012345678901234567890";_stddev 0.159 ns 0.159 ns 4
std::string e = "123456789012345678901234567890";_cv 0.81 % 0.81 % 4
std::string_view e = "123456789012345678901234567890";_mean 0.730 ns 0.730 ns 4
std::string_view e = "123456789012345678901234567890";_median 0.732 ns 0.732 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.016 ns 0.016 ns 4
std::string_view e = "123456789012345678901234567890";_cv 2.19 % 2.19 % 4
ssa e = "123456789012345678901234567890";_mean 0.739 ns 0.739 ns 4
ssa e = "123456789012345678901234567890";_median 0.739 ns 0.739 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.017 ns 0.017 ns 4
ssa e = "123456789012345678901234567890";_cv 2.25 % 2.25 % 4
stringa e = "123456789012345678901234567890";_mean 1.13 ns 1.13 ns 4
stringa e = "123456789012345678901234567890";_median 1.13 ns 1.13 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.019 ns 0.019 ns 4
stringa e = "123456789012345678901234567890";_cv 1.68 % 1.68 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 19.9 ns 19.9 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 20.0 ns 20.0 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 0.153 ns 0.153 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 0.77 % 0.77 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 1.87 ns 1.87 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 1.87 ns 1.87 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.033 ns 0.033 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 1.75 % 1.75 % 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 5.76 ns 5.76 ns 4
std::string e = "Test text"; auto c{e};_median 5.77 ns 5.77 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.103 ns 0.103 ns 4
std::string e = "Test text"; auto c{e};_cv 1.78 % 1.78 % 4
std::string_view e = "Test text"; auto c{e};_mean 0.443 ns 0.443 ns 4
std::string_view e = "Test text"; auto c{e};_median 0.433 ns 0.433 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.027 ns 0.027 ns 4
std::string_view e = "Test text"; auto c{e};_cv 5.99 % 5.99 % 4
ssa e = "Test text"; auto c{e};_mean 0.395 ns 0.395 ns 4
ssa e = "Test text"; auto c{e};_median 0.387 ns 0.387 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.030 ns 0.030 ns 4
ssa e = "Test text"; auto c{e};_cv 7.54 % 7.54 % 4
stringa e = "Test text"; auto c{e};_mean 1.35 ns 1.35 ns 4
stringa e = "Test text"; auto c{e};_median 1.37 ns 1.37 ns 4
stringa e = "Test text"; auto c{e};_stddev 0.060 ns 0.060 ns 4
stringa e = "Test text"; auto c{e};_cv 4.43 % 4.43 % 4
lstringa<20> e = "Test text"; auto c{e};_mean 1.25 ns 1.25 ns 4
lstringa<20> e = "Test text"; auto c{e};_median 1.23 ns 1.23 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.053 ns 0.053 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 4.24 % 4.24 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 1.25 ns 1.25 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 1.25 ns 1.25 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.055 ns 0.055 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 4.41 % 4.41 % 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 22.8 ns 22.8 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 22.7 ns 22.7 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.811 ns 0.811 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 3.56 % 3.56 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.786 ns 0.786 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.772 ns 0.772 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.036 ns 0.036 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 4.60 % 4.60 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.820 ns 0.820 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.825 ns 0.825 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.032 ns 0.032 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_cv 3.88 % 3.88 % 4
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.11 ns 1.11 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.11 ns 1.11 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.019 ns 0.019 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 1.68 % 1.68 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 20.6 ns 20.6 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 20.7 ns 20.7 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.316 ns 0.316 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 1.53 % 1.53 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.70 ns 4.70 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.67 ns 4.67 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.088 ns 0.088 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 1.87 % 1.87 % 4
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 6.92 ns 6.92 ns 4
std::string::find;_median 6.91 ns 6.91 ns 4
std::string::find;_stddev 0.112 ns 0.112 ns 4
std::string::find;_cv 1.61 % 1.61 % 4
std::string_view::find;_mean 6.75 ns 6.75 ns 4
std::string_view::find;_median 6.78 ns 6.78 ns 4
std::string_view::find;_stddev 0.175 ns 0.175 ns 4
std::string_view::find;_cv 2.59 % 2.59 % 4
ssa::find;_mean 6.52 ns 6.52 ns 4
ssa::find;_median 6.50 ns 6.50 ns 4
ssa::find;_stddev 0.253 ns 0.253 ns 4
ssa::find;_cv 3.88 % 3.88 % 4
stringa::find;_mean 6.62 ns 6.62 ns 4
stringa::find;_median 6.62 ns 6.62 ns 4
stringa::find;_stddev 0.115 ns 0.115 ns 4
stringa::find;_cv 1.74 % 1.74 % 4
lstringa<20>::find;_mean 6.32 ns 6.32 ns 4
lstringa<20>::find;_median 6.34 ns 6.34 ns 4
lstringa<20>::find;_stddev 0.038 ns 0.038 ns 4
lstringa<20>::find;_cv 0.60 % 0.60 % 4
lstringa<40>::find;_mean 6.33 ns 6.33 ns 4
lstringa<40>::find;_median 6.32 ns 6.32 ns 4
lstringa<40>::find;_stddev 0.037 ns 0.037 ns 4
lstringa<40>::find;_cv 0.58 % 0.58 % 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 6.03 ns 6.03 ns 4
std::string copy{str_with_len_N};/15_median 6.02 ns 6.02 ns 4
std::string copy{str_with_len_N};/15_stddev 0.140 ns 0.140 ns 4
std::string copy{str_with_len_N};/15_cv 2.32 % 2.32 % 4
std::string copy{str_with_len_N};/16_mean 25.9 ns 25.9 ns 4
std::string copy{str_with_len_N};/16_median 25.5 ns 25.5 ns 4
std::string copy{str_with_len_N};/16_stddev 1.96 ns 1.96 ns 4
std::string copy{str_with_len_N};/16_cv 7.56 % 7.56 % 4
std::string copy{str_with_len_N};/23_mean 25.0 ns 25.0 ns 4
std::string copy{str_with_len_N};/23_median 24.7 ns 24.7 ns 4
std::string copy{str_with_len_N};/23_stddev 0.619 ns 0.619 ns 4
std::string copy{str_with_len_N};/23_cv 2.48 % 2.48 % 4
std::string copy{str_with_len_N};/24_mean 25.3 ns 25.3 ns 4
std::string copy{str_with_len_N};/24_median 25.3 ns 25.3 ns 4
std::string copy{str_with_len_N};/24_stddev 0.180 ns 0.180 ns 4
std::string copy{str_with_len_N};/24_cv 0.71 % 0.71 % 4
std::string copy{str_with_len_N};/32_mean 24.2 ns 24.2 ns 4
std::string copy{str_with_len_N};/32_median 24.1 ns 24.1 ns 4
std::string copy{str_with_len_N};/32_stddev 0.451 ns 0.451 ns 4
std::string copy{str_with_len_N};/32_cv 1.86 % 1.86 % 4
std::string copy{str_with_len_N};/64_mean 24.1 ns 24.1 ns 4
std::string copy{str_with_len_N};/64_median 24.2 ns 24.2 ns 4
std::string copy{str_with_len_N};/64_stddev 0.444 ns 0.444 ns 4
std::string copy{str_with_len_N};/64_cv 1.84 % 1.84 % 4
std::string copy{str_with_len_N};/128_mean 25.6 ns 25.6 ns 4
std::string copy{str_with_len_N};/128_median 25.4 ns 25.4 ns 4
std::string copy{str_with_len_N};/128_stddev 0.513 ns 0.513 ns 4
std::string copy{str_with_len_N};/128_cv 2.01 % 2.01 % 4
std::string copy{str_with_len_N};/256_mean 25.8 ns 25.8 ns 4
std::string copy{str_with_len_N};/256_median 25.9 ns 25.9 ns 4
std::string copy{str_with_len_N};/256_stddev 0.246 ns 0.246 ns 4
std::string copy{str_with_len_N};/256_cv 0.96 % 0.96 % 4
std::string copy{str_with_len_N};/512_mean 30.4 ns 30.4 ns 4
std::string copy{str_with_len_N};/512_median 30.3 ns 30.3 ns 4
std::string copy{str_with_len_N};/512_stddev 0.707 ns 0.707 ns 4
std::string copy{str_with_len_N};/512_cv 2.32 % 2.32 % 4
std::string copy{str_with_len_N};/1024_mean 47.0 ns 47.0 ns 4
std::string copy{str_with_len_N};/1024_median 47.4 ns 47.4 ns 4
std::string copy{str_with_len_N};/1024_stddev 1.41 ns 1.41 ns 4
std::string copy{str_with_len_N};/1024_cv 2.99 % 2.99 % 4
std::string copy{str_with_len_N};/2048_mean 131 ns 131 ns 4
std::string copy{str_with_len_N};/2048_median 126 ns 126 ns 4
std::string copy{str_with_len_N};/2048_stddev 10.3 ns 10.3 ns 4
std::string copy{str_with_len_N};/2048_cv 7.92 % 7.92 % 4
std::string copy{str_with_len_N};/4096_mean 159 ns 159 ns 4
std::string copy{str_with_len_N};/4096_median 159 ns 159 ns 4
std::string copy{str_with_len_N};/4096_stddev 4.31 ns 4.31 ns 4
std::string copy{str_with_len_N};/4096_cv 2.70 % 2.70 % 4
stringa copy{str_with_len_N};/15_mean 1.30 ns 1.30 ns 4
stringa copy{str_with_len_N};/15_median 1.30 ns 1.30 ns 4
stringa copy{str_with_len_N};/15_stddev 0.022 ns 0.022 ns 4
stringa copy{str_with_len_N};/15_cv 1.70 % 1.70 % 4
stringa copy{str_with_len_N};/16_mean 1.30 ns 1.30 ns 4
stringa copy{str_with_len_N};/16_median 1.30 ns 1.30 ns 4
stringa copy{str_with_len_N};/16_stddev 0.017 ns 0.017 ns 4
stringa copy{str_with_len_N};/16_cv 1.30 % 1.30 % 4
stringa copy{str_with_len_N};/23_mean 1.30 ns 1.30 ns 4
stringa copy{str_with_len_N};/23_median 1.30 ns 1.30 ns 4
stringa copy{str_with_len_N};/23_stddev 0.035 ns 0.035 ns 4
stringa copy{str_with_len_N};/23_cv 2.71 % 2.71 % 4
stringa copy{str_with_len_N};/24_mean 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/24_median 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/24_stddev 0.125 ns 0.125 ns 4
stringa copy{str_with_len_N};/24_cv 0.78 % 0.78 % 4
stringa copy{str_with_len_N};/32_mean 16.0 ns 16.0 ns 4
stringa copy{str_with_len_N};/32_median 16.0 ns 16.0 ns 4
stringa copy{str_with_len_N};/32_stddev 0.173 ns 0.173 ns 4
stringa copy{str_with_len_N};/32_cv 1.08 % 1.08 % 4
stringa copy{str_with_len_N};/64_mean 16.0 ns 16.0 ns 4
stringa copy{str_with_len_N};/64_median 16.0 ns 16.0 ns 4
stringa copy{str_with_len_N};/64_stddev 0.145 ns 0.145 ns 4
stringa copy{str_with_len_N};/64_cv 0.91 % 0.91 % 4
stringa copy{str_with_len_N};/128_mean 16.0 ns 16.0 ns 4
stringa copy{str_with_len_N};/128_median 16.0 ns 16.0 ns 4
stringa copy{str_with_len_N};/128_stddev 0.124 ns 0.124 ns 4
stringa copy{str_with_len_N};/128_cv 0.77 % 0.77 % 4
stringa copy{str_with_len_N};/256_mean 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/256_median 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/256_stddev 0.233 ns 0.233 ns 4
stringa copy{str_with_len_N};/256_cv 1.44 % 1.44 % 4
stringa copy{str_with_len_N};/512_mean 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/512_median 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/512_stddev 0.133 ns 0.133 ns 4
stringa copy{str_with_len_N};/512_cv 0.82 % 0.82 % 4
stringa copy{str_with_len_N};/1024_mean 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/1024_median 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/1024_stddev 0.102 ns 0.102 ns 4
stringa copy{str_with_len_N};/1024_cv 0.64 % 0.64 % 4
stringa copy{str_with_len_N};/2048_mean 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/2048_median 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/2048_stddev 0.270 ns 0.270 ns 4
stringa copy{str_with_len_N};/2048_cv 1.66 % 1.66 % 4
stringa copy{str_with_len_N};/4096_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/4096_median 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/4096_stddev 0.202 ns 0.202 ns 4
stringa copy{str_with_len_N};/4096_cv 1.24 % 1.24 % 4
lstringa<16> copy{str_with_len_N};/15_mean 1.11 ns 1.11 ns 4
lstringa<16> copy{str_with_len_N};/15_median 1.11 ns 1.11 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.025 ns 0.025 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 2.23 % 2.23 % 4
lstringa<16> copy{str_with_len_N};/16_mean 5.12 ns 5.12 ns 4
lstringa<16> copy{str_with_len_N};/16_median 5.08 ns 5.08 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.236 ns 0.236 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 4.61 % 4.61 % 4
lstringa<16> copy{str_with_len_N};/23_mean 5.05 ns 5.05 ns 4
lstringa<16> copy{str_with_len_N};/23_median 5.09 ns 5.09 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 0.105 ns 0.105 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 2.08 % 2.08 % 4
lstringa<16> copy{str_with_len_N};/24_mean 24.4 ns 24.4 ns 4
lstringa<16> copy{str_with_len_N};/24_median 24.3 ns 24.3 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 0.660 ns 0.660 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 2.70 % 2.70 % 4
lstringa<16> copy{str_with_len_N};/32_mean 24.7 ns 24.7 ns 4
lstringa<16> copy{str_with_len_N};/32_median 24.6 ns 24.6 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 0.521 ns 0.521 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 2.11 % 2.11 % 4
lstringa<16> copy{str_with_len_N};/64_mean 26.3 ns 26.3 ns 4
lstringa<16> copy{str_with_len_N};/64_median 26.3 ns 26.3 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 0.762 ns 0.762 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 2.89 % 2.89 % 4
lstringa<16> copy{str_with_len_N};/128_mean 26.5 ns 26.5 ns 4
lstringa<16> copy{str_with_len_N};/128_median 26.5 ns 26.5 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 0.376 ns 0.376 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 1.42 % 1.42 % 4
lstringa<16> copy{str_with_len_N};/256_mean 28.4 ns 28.4 ns 4
lstringa<16> copy{str_with_len_N};/256_median 28.3 ns 28.3 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 0.396 ns 0.396 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 1.40 % 1.40 % 4
lstringa<16> copy{str_with_len_N};/512_mean 31.1 ns 31.1 ns 4
lstringa<16> copy{str_with_len_N};/512_median 31.2 ns 31.2 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 0.499 ns 0.499 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 1.61 % 1.61 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 109 ns 109 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 108 ns 108 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 3.27 ns 3.27 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 2.99 % 2.99 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 120 ns 120 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 119 ns 119 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 5.23 ns 5.23 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 4.37 % 4.37 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 128 ns 128 ns 4
lstringa<16> copy{str_with_len_N};/4096_median 129 ns 129 ns 4
lstringa<16> copy{str_with_len_N};/4096_stddev 3.44 ns 3.44 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 2.68 % 2.68 % 4
lstringa<512> copy{str_with_len_N};/15_mean 1.14 ns 1.14 ns 4
lstringa<512> copy{str_with_len_N};/15_median 1.14 ns 1.14 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.037 ns 0.037 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 3.21 % 3.21 % 4
lstringa<512> copy{str_with_len_N};/16_mean 4.92 ns 4.92 ns 4
lstringa<512> copy{str_with_len_N};/16_median 4.95 ns 4.95 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.158 ns 0.158 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 3.21 % 3.21 % 4
lstringa<512> copy{str_with_len_N};/23_mean 5.05 ns 5.05 ns 4
lstringa<512> copy{str_with_len_N};/23_median 5.07 ns 5.07 ns 4
lstringa<512> copy{str_with_len_N};/23_stddev 0.083 ns 0.083 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 1.65 % 1.65 % 4
lstringa<512> copy{str_with_len_N};/24_mean 4.58 ns 4.58 ns 4
lstringa<512> copy{str_with_len_N};/24_median 4.58 ns 4.58 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 0.144 ns 0.144 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 3.14 % 3.14 % 4
lstringa<512> copy{str_with_len_N};/32_mean 4.73 ns 4.73 ns 4
lstringa<512> copy{str_with_len_N};/32_median 4.74 ns 4.74 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.045 ns 0.045 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 0.96 % 0.96 % 4
lstringa<512> copy{str_with_len_N};/64_mean 6.23 ns 6.23 ns 4
lstringa<512> copy{str_with_len_N};/64_median 6.32 ns 6.32 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 0.329 ns 0.329 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 5.27 % 5.27 % 4
lstringa<512> copy{str_with_len_N};/128_mean 8.44 ns 8.44 ns 4
lstringa<512> copy{str_with_len_N};/128_median 8.44 ns 8.44 ns 4
lstringa<512> copy{str_with_len_N};/128_stddev 0.149 ns 0.149 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 1.77 % 1.77 % 4
lstringa<512> copy{str_with_len_N};/256_mean 9.03 ns 9.03 ns 4
lstringa<512> copy{str_with_len_N};/256_median 8.82 ns 8.82 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 0.723 ns 0.723 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 8.01 % 8.01 % 4
lstringa<512> copy{str_with_len_N};/512_mean 12.8 ns 12.8 ns 4
lstringa<512> copy{str_with_len_N};/512_median 12.8 ns 12.8 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 0.352 ns 0.352 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 2.74 % 2.74 % 4
lstringa<512> copy{str_with_len_N};/1024_mean 110 ns 110 ns 4
lstringa<512> copy{str_with_len_N};/1024_median 110 ns 110 ns 4
lstringa<512> copy{str_with_len_N};/1024_stddev 0.487 ns 0.487 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 0.44 % 0.44 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 116 ns 116 ns 4
lstringa<512> copy{str_with_len_N};/2048_median 114 ns 114 ns 4
lstringa<512> copy{str_with_len_N};/2048_stddev 5.66 ns 5.66 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 4.86 % 4.86 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 130 ns 130 ns 4
lstringa<512> copy{str_with_len_N};/4096_median 131 ns 131 ns 4
lstringa<512> copy{str_with_len_N};/4096_stddev 4.27 ns 4.27 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 3.30 % 3.30 % 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 26.4 ns 26.4 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 26.6 ns 26.6 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.614 ns 0.614 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 2.32 % 2.32 % 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 11.4 ns 11.4 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 11.3 ns 11.3 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.109 ns 0.109 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 0.96 % 0.96 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.36 ns 8.36 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 8.36 ns 8.36 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.359 ns 0.359 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 4.30 % 4.30 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 7.83 ns 7.83 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 7.84 ns 7.84 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.155 ns 0.155 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.99 % 1.99 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.38 ns 8.38 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 8.46 ns 8.46 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.258 ns 0.258 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.08 % 3.08 % 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 23.5 ns 23.5 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 23.5 ns 23.5 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.556 ns 0.556 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 2.37 % 2.37 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 9.89 ns 9.89 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 9.82 ns 9.82 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.223 ns 0.223 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 2.25 % 2.25 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.19 ns 8.19 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.16 ns 8.16 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.106 ns 0.106 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.29 % 1.29 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.77 ns 7.77 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.77 ns 7.77 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.082 ns 0.082 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.06 % 1.06 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.12 ns 8.12 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.12 ns 8.12 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.177 ns 0.177 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.19 % 2.19 % 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 28.4 ns 28.4 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 28.6 ns 28.6 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.374 ns 0.374 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.31 % 1.31 % 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 14.9 ns 14.9 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 14.9 ns 14.9 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.479 ns 0.479 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 3.21 % 3.21 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 13.7 ns 13.7 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 13.8 ns 13.8 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.232 ns 0.232 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.69 % 1.69 % 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 66.8 ns 66.8 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 66.0 ns 66.0 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 1.89 ns 1.88 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 2.82 % 2.82 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 25.0 ns 25.0 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 24.6 ns 24.6 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 0.985 ns 0.985 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 3.94 % 3.94 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 25.2 ns 25.2 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_median 25.0 ns 25.0 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 1.33 ns 1.33 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 5.30 % 5.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 1359 ns 1359 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 1355 ns 1355 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 31.1 ns 31.1 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 2.29 % 2.29 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 380 ns 380 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 379 ns 379 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 9.64 ns 9.64 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 2.54 % 2.54 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 435 ns 435 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 438 ns 438 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 11.2 ns 11.2 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 2.58 % 2.58 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 280 ns 280 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 287 ns 287 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 26.3 ns 26.3 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 9.40 % 9.40 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 255 ns 255 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 263 ns 263 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 17.6 ns 17.6 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 6.90 % 6.90 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 141 ns 141 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 142 ns 142 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 2.92 ns 2.92 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 2.08 % 2.08 % 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 1357 ns 1357 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 1346 ns 1346 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 28.4 ns 28.4 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 2.09 % 2.09 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1291 ns 1291 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1271 ns 1271 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 54.7 ns 54.7 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 4.24 % 4.24 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 450 ns 450 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 448 ns 448 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 7.75 ns 7.75 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.72 % 1.72 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 373 ns 373 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 373 ns 373 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 14.0 ns 14.0 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.75 % 3.75 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 337 ns 337 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 338 ns 338 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 23.7 ns 23.7 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 7.03 % 7.03 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 246 ns 246 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 245 ns 245 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 3.93 ns 3.93 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.60 % 1.60 % 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 76165 ns 76165 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 75195 ns 75195 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 2995 ns 2995 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 3.93 % 3.93 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 74730 ns 74730 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 75093 ns 75094 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1648 ns 1648 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.21 % 2.21 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 20473 ns 20473 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 20456 ns 20456 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 726 ns 726 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.54 % 3.55 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17347 ns 17347 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17374 ns 17374 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 231 ns 231 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.33 % 1.33 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17337 ns 17337 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17362 ns 17362 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 639 ns 639 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.69 % 3.69 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17747 ns 17747 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17380 ns 17380 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 849 ns 849 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.78 % 4.78 % 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 1390 ns 1390 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 1391 ns 1391 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 22.6 ns 22.6 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 1.62 % 1.62 % 4
std::string str; ... str += str_var1 + str_var2;_mean 1351 ns 1351 ns 4
std::string str; ... str += str_var1 + str_var2;_median 1354 ns 1354 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 42.1 ns 42.1 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 3.11 % 3.11 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 547 ns 547 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 545 ns 545 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 16.7 ns 16.7 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 3.05 % 3.05 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 455 ns 455 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 457 ns 457 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 24.4 ns 24.4 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 5.36 % 5.36 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 428 ns 428 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 430 ns 430 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 15.2 ns 15.2 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_cv 3.56 % 3.56 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 318 ns 318 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 320 ns 320 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 6.09 ns 6.09 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 1.91 % 1.91 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 3118 ns 3118 ns 4
std::stringstream str; str << "test = " << k << " times";_median 3175 ns 3175 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 118 ns 118 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 3.78 % 3.78 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 444 ns 444 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 444 ns 444 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 10.2 ns 10.2 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 2.30 % 2.30 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 1517 ns 1517 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 1519 ns 1519 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 18.8 ns 18.8 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.24 % 1.24 % 4
std::string str = std::format("test = {} times", k);_mean 1221 ns 1221 ns 4
std::string str = std::format("test = {} times", k);_median 1231 ns 1231 ns 4
std::string str = std::format("test = {} times", k);_stddev 33.1 ns 33.1 ns 4
std::string str = std::format("test = {} times", k);_cv 2.71 % 2.71 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 1732 ns 1732 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 1737 ns 1737 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 71.0 ns 71.0 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 4.10 % 4.10 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 1099 ns 1099 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 1103 ns 1103 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 16.7 ns 16.7 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 1.52 % 1.52 % 4
lstringa<8> str = "test = " + k + " times";_mean 299 ns 299 ns 4
lstringa<8> str = "test = " + k + " times";_median 299 ns 299 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 7.24 ns 7.24 ns 4
lstringa<8> str = "test = " + k + " times";_cv 2.42 % 2.42 % 4
lstringa<32> str = "test = " + k + " times";_mean 180 ns 180 ns 4
lstringa<32> str = "test = " + k + " times";_median 180 ns 180 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 7.19 ns 7.19 ns 4
lstringa<32> str = "test = " + k + " times";_cv 3.99 % 3.99 % 4
stringa str = "test = " + k + " times";_mean 189 ns 189 ns 4
stringa str = "test = " + k + " times";_median 185 ns 185 ns 4
stringa str = "test = " + k + " times";_stddev 14.9 ns 14.9 ns 4
stringa str = "test = " + k + " times";_cv 7.86 % 7.86 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 290 ns 290 ns 4
std::string::find + substr + std::strtol_median 286 ns 286 ns 4
std::string::find + substr + std::strtol_stddev 11.6 ns 11.6 ns 4
std::string::find + substr + std::strtol_cv 4.00 % 4.00 % 4
ssa::splitter + ssa::as_int_mean 147 ns 147 ns 4
ssa::splitter + ssa::as_int_median 146 ns 146 ns 4
ssa::splitter + ssa::as_int_stddev 4.68 ns 4.68 ns 4
ssa::splitter + ssa::as_int_cv 3.18 % 3.18 % 4
ssa::splitf + functor_mean 136 ns 136 ns 4
ssa::splitf + functor_median 138 ns 138 ns 4
ssa::splitf + functor_stddev 8.48 ns 8.48 ns 4
ssa::splitf + functor_cv 6.22 % 6.22 % 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 925 ns 925 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 936 ns 936 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 53.5 ns 53.5 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 5.79 % 5.79 % 4
replace symbols with std::string find_first_of + replace_mean 2787 ns 2787 ns 4
replace symbols with std::string find_first_of + replace_median 2753 ns 2753 ns 4
replace symbols with std::string find_first_of + replace_stddev 118 ns 118 ns 4
replace symbols with std::string find_first_of + replace_cv 4.22 % 4.22 % 4
replace symbols with std::string_view find_first_of + copy_mean 1082 ns 1082 ns 4
replace symbols with std::string_view find_first_of + copy_median 1087 ns 1087 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 27.8 ns 27.8 ns 4
replace symbols with std::string_view find_first_of + copy_cv 2.57 % 2.57 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 1483 ns 1483 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 1485 ns 1485 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 21.7 ns 21.7 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 1.46 % 1.46 % 4
replace runtime symbols with simstr and memorization of all search results_mean 1047 ns 1047 ns 4
replace runtime symbols with simstr and memorization of all search results_median 1047 ns 1047 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 32.5 ns 32.5 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 3.10 % 3.10 % 4
replace const symbols with string expressions and without remembering all search results_mean 1228 ns 1228 ns 4
replace const symbols with string expressions and without remembering all search results_median 1225 ns 1225 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 33.4 ns 33.4 ns 4
replace const symbols with string expressions and without remembering all search results_cv 2.72 % 2.72 % 4
replace const symbols with string expressions and memorization of all search results_mean 850 ns 850 ns 4
replace const symbols with string expressions and memorization of all search results_median 848 ns 848 ns 4
replace const symbols with string expressions and memorization of all search results_stddev 14.1 ns 14.1 ns 4
replace const symbols with string expressions and memorization of all search results_cv 1.66 % 1.66 % 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 165 ns 165 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 166 ns 166 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 4.82 ns 4.82 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.93 % 2.93 % 4
Short replace symbols with std::string find_first_of + replace_mean 313 ns 313 ns 4
Short replace symbols with std::string find_first_of + replace_median 310 ns 310 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 9.34 ns 9.34 ns 4
Short replace symbols with std::string find_first_of + replace_cv 2.98 % 2.98 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 156 ns 156 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 156 ns 156 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 1.79 ns 1.79 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 1.14 % 1.14 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 188 ns 188 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 188 ns 188 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 1.91 ns 1.91 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 1.01 % 1.01 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 193 ns 193 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 191 ns 191 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 8.96 ns 8.96 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 4.65 % 4.65 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 150 ns 150 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 148 ns 148 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 5.36 ns 5.36 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 3.58 % 3.58 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 143 ns 143 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 142 ns 142 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 4.69 ns 4.69 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 3.27 % 3.27 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 159 ns 159 ns 4
replace bb to ---- in std::string|64_median 158 ns 158 ns 4
replace bb to ---- in std::string|64_stddev 1.80 ns 1.80 ns 4
replace bb to ---- in std::string|64_cv 1.13 % 1.13 % 4
replace bb to ---- in std::string|256_mean 502 ns 502 ns 4
replace bb to ---- in std::string|256_median 505 ns 505 ns 4
replace bb to ---- in std::string|256_stddev 15.1 ns 15.1 ns 4
replace bb to ---- in std::string|256_cv 3.00 % 3.00 % 4
replace bb to ---- in std::string|512_mean 1124 ns 1124 ns 4
replace bb to ---- in std::string|512_median 1129 ns 1129 ns 4
replace bb to ---- in std::string|512_stddev 18.6 ns 18.6 ns 4
replace bb to ---- in std::string|512_cv 1.65 % 1.65 % 4
replace bb to ---- in std::string|1024_mean 2263 ns 2263 ns 4
replace bb to ---- in std::string|1024_median 2211 ns 2211 ns 4
replace bb to ---- in std::string|1024_stddev 148 ns 148 ns 4
replace bb to ---- in std::string|1024_cv 6.55 % 6.55 % 4
replace bb to ---- in std::string|2048_mean 5898 ns 5898 ns 4
replace bb to ---- in std::string|2048_median 5930 ns 5930 ns 4
replace bb to ---- in std::string|2048_stddev 134 ns 134 ns 4
replace bb to ---- in std::string|2048_cv 2.27 % 2.27 % 4
replace bb to ---- in lstringa<8>|64_mean 163 ns 163 ns 4
replace bb to ---- in lstringa<8>|64_median 157 ns 157 ns 4
replace bb to ---- in lstringa<8>|64_stddev 12.3 ns 12.3 ns 4
replace bb to ---- in lstringa<8>|64_cv 7.56 % 7.56 % 4
replace bb to ---- in lstringa<8>|256_mean 480 ns 480 ns 4
replace bb to ---- in lstringa<8>|256_median 478 ns 478 ns 4
replace bb to ---- in lstringa<8>|256_stddev 12.4 ns 12.4 ns 4
replace bb to ---- in lstringa<8>|256_cv 2.58 % 2.58 % 4
replace bb to ---- in lstringa<8>|512_mean 909 ns 909 ns 4
replace bb to ---- in lstringa<8>|512_median 918 ns 918 ns 4
replace bb to ---- in lstringa<8>|512_stddev 19.8 ns 19.8 ns 4
replace bb to ---- in lstringa<8>|512_cv 2.17 % 2.17 % 4
replace bb to ---- in lstringa<8>|1024_mean 1860 ns 1860 ns 4
replace bb to ---- in lstringa<8>|1024_median 1861 ns 1861 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 41.4 ns 41.4 ns 4
replace bb to ---- in lstringa<8>|1024_cv 2.23 % 2.23 % 4
replace bb to ---- in lstringa<8>|2048_mean 3465 ns 3465 ns 4
replace bb to ---- in lstringa<8>|2048_median 3464 ns 3464 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 54.7 ns 54.7 ns 4
replace bb to ---- in lstringa<8>|2048_cv 1.58 % 1.58 % 4
replace bb to ---- by init stringa|64_mean 98.5 ns 98.5 ns 4
replace bb to ---- by init stringa|64_median 98.1 ns 98.1 ns 4
replace bb to ---- by init stringa|64_stddev 2.17 ns 2.17 ns 4
replace bb to ---- by init stringa|64_cv 2.20 % 2.20 % 4
replace bb to ---- by init stringa|256_mean 302 ns 302 ns 4
replace bb to ---- by init stringa|256_median 304 ns 304 ns 4
replace bb to ---- by init stringa|256_stddev 4.64 ns 4.64 ns 4
replace bb to ---- by init stringa|256_cv 1.54 % 1.53 % 4
replace bb to ---- by init stringa|512_mean 729 ns 729 ns 4
replace bb to ---- by init stringa|512_median 729 ns 729 ns 4
replace bb to ---- by init stringa|512_stddev 11.3 ns 11.3 ns 4
replace bb to ---- by init stringa|512_cv 1.55 % 1.55 % 4
replace bb to ---- by init stringa|1024_mean 1639 ns 1639 ns 4
replace bb to ---- by init stringa|1024_median 1646 ns 1646 ns 4
replace bb to ---- by init stringa|1024_stddev 58.9 ns 58.9 ns 4
replace bb to ---- by init stringa|1024_cv 3.59 % 3.59 % 4
replace bb to ---- by init stringa|2048_mean 3376 ns 3376 ns 4
replace bb to ---- by init stringa|2048_median 3364 ns 3364 ns 4
replace bb to ---- by init stringa|2048_stddev 68.3 ns 68.3 ns 4
replace bb to ---- by init stringa|2048_cv 2.02 % 2.02 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 117 ns 117 ns 4
replace bb to -- in std::string|64_median 117 ns 117 ns 4
replace bb to -- in std::string|64_stddev 2.88 ns 2.88 ns 4
replace bb to -- in std::string|64_cv 2.46 % 2.46 % 4
replace bb to -- in std::string|256_mean 392 ns 392 ns 4
replace bb to -- in std::string|256_median 394 ns 394 ns 4
replace bb to -- in std::string|256_stddev 3.26 ns 3.26 ns 4
replace bb to -- in std::string|256_cv 0.83 % 0.83 % 4
replace bb to -- in std::string|512_mean 705 ns 705 ns 4
replace bb to -- in std::string|512_median 699 ns 699 ns 4
replace bb to -- in std::string|512_stddev 30.8 ns 30.8 ns 4
replace bb to -- in std::string|512_cv 4.37 % 4.37 % 4
replace bb to -- in std::string|1024_mean 1346 ns 1346 ns 4
replace bb to -- in std::string|1024_median 1346 ns 1346 ns 4
replace bb to -- in std::string|1024_stddev 2.10 ns 2.10 ns 4
replace bb to -- in std::string|1024_cv 0.16 % 0.16 % 4
replace bb to -- in std::string|2048_mean 2835 ns 2835 ns 4
replace bb to -- in std::string|2048_median 2815 ns 2815 ns 4
replace bb to -- in std::string|2048_stddev 81.8 ns 81.8 ns 4
replace bb to -- in std::string|2048_cv 2.88 % 2.88 % 4
replace bb to -- in lstringa<8>|64_mean 102 ns 102 ns 4
replace bb to -- in lstringa<8>|64_median 102 ns 102 ns 4
replace bb to -- in lstringa<8>|64_stddev 2.17 ns 2.17 ns 4
replace bb to -- in lstringa<8>|64_cv 2.12 % 2.12 % 4
replace bb to -- in lstringa<8>|256_mean 284 ns 284 ns 4
replace bb to -- in lstringa<8>|256_median 284 ns 284 ns 4
replace bb to -- in lstringa<8>|256_stddev 2.90 ns 2.90 ns 4
replace bb to -- in lstringa<8>|256_cv 1.02 % 1.02 % 4
replace bb to -- in lstringa<8>|512_mean 525 ns 525 ns 4
replace bb to -- in lstringa<8>|512_median 519 ns 519 ns 4
replace bb to -- in lstringa<8>|512_stddev 13.5 ns 13.5 ns 4
replace bb to -- in lstringa<8>|512_cv 2.57 % 2.57 % 4
replace bb to -- in lstringa<8>|1024_mean 1047 ns 1047 ns 4
replace bb to -- in lstringa<8>|1024_median 1058 ns 1058 ns 4
replace bb to -- in lstringa<8>|1024_stddev 31.4 ns 31.4 ns 4
replace bb to -- in lstringa<8>|1024_cv 3.00 % 3.00 % 4
replace bb to -- in lstringa<8>|2048_mean 1993 ns 1993 ns 4
replace bb to -- in lstringa<8>|2048_median 1994 ns 1994 ns 4
replace bb to -- in lstringa<8>|2048_stddev 37.8 ns 37.8 ns 4
replace bb to -- in lstringa<8>|2048_cv 1.90 % 1.90 % 4
replace bb to -- by init stringa|64_mean 93.5 ns 93.5 ns 4
replace bb to -- by init stringa|64_median 92.9 ns 92.9 ns 4
replace bb to -- by init stringa|64_stddev 2.08 ns 2.08 ns 4
replace bb to -- by init stringa|64_cv 2.22 % 2.22 % 4
replace bb to -- by init stringa|256_mean 268 ns 268 ns 4
replace bb to -- by init stringa|256_median 267 ns 267 ns 4
replace bb to -- by init stringa|256_stddev 4.69 ns 4.69 ns 4
replace bb to -- by init stringa|256_cv 1.75 % 1.75 % 4
replace bb to -- by init stringa|512_mean 506 ns 506 ns 4
replace bb to -- by init stringa|512_median 506 ns 506 ns 4
replace bb to -- by init stringa|512_stddev 9.79 ns 9.79 ns 4
replace bb to -- by init stringa|512_cv 1.93 % 1.93 % 4
replace bb to -- by init stringa|1024_mean 1045 ns 1045 ns 4
replace bb to -- by init stringa|1024_median 1033 ns 1033 ns 4
replace bb to -- by init stringa|1024_stddev 26.6 ns 26.6 ns 4
replace bb to -- by init stringa|1024_cv 2.55 % 2.55 % 4
replace bb to -- by init stringa|2048_mean 2003 ns 2003 ns 4
replace bb to -- by init stringa|2048_median 2005 ns 2005 ns 4
replace bb to -- by init stringa|2048_stddev 23.3 ns 23.3 ns 4
replace bb to -- by init stringa|2048_cv 1.16 % 1.16 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3717070 ns 3717106 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 3715946 ns 3715961 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 23646 ns 23682 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 0.64 % 0.64 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3567358 ns 3567368 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3550488 ns 3550497 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 50396 ns 50396 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 1.41 % 1.41 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 3701465 ns 3701479 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 3710816 ns 3710831 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 57949 ns 57948 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 1.57 % 1.57 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 3941394 ns 3941409 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 3932719 ns 3932733 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 42603 ns 42603 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 1.08 % 1.08 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 971 ns 971 ns 4
Build func full name std::string;_median 955 ns 955 ns 4
Build func full name std::string;_stddev 49.0 ns 49.0 ns 4
Build func full name std::string;_cv 5.04 % 5.04 % 4
Build func full name std::string 1;_mean 1015 ns 1015 ns 4
Build func full name std::string 1;_median 1014 ns 1014 ns 4
Build func full name std::string 1;_stddev 15.0 ns 15.0 ns 4
Build func full name std::string 1;_cv 1.48 % 1.48 % 4
Build func full name std::stream;_mean 2569 ns 2569 ns 4
Build func full name std::stream;_median 2576 ns 2576 ns 4
Build func full name std::stream;_stddev 27.2 ns 27.2 ns 4
Build func full name std::stream;_cv 1.06 % 1.06 % 4
Build func full name stringa;_mean 463 ns 463 ns 4
Build func full name stringa;_median 463 ns 463 ns 4
Build func full name stringa;_stddev 12.9 ns 12.9 ns 4
Build func full name stringa;_cv 2.79 % 2.79 % 4
Build func full name stringa 1;_mean 664 ns 664 ns 4
Build func full name stringa 1;_median 663 ns 663 ns 4
Build func full name stringa 1;_stddev 7.82 ns 7.82 ns 4
Build func full name stringa 1;_cv 1.18 % 1.18 % 4