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

940 lines
139 KiB
Plaintext

Benchmarks of simstr, version 1.6.6
Sources: https://github.com/orefkov/simstr
Results: https://orefkov.github.io/simstr/results.html
2026-02-10T23:05:44+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.37, 0.74, 0.51
***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 216 ns 216 ns 4
Concat std::string and number by std to std::string_median 214 ns 214 ns 4
Concat std::string and number by std to std::string_stddev 6.62 ns 6.62 ns 4
Concat std::string and number by std to std::string_cv 3.06 % 3.06 % 4
Concat std::string and number by StrExpr to std::string_mean 99.5 ns 99.5 ns 4
Concat std::string and number by StrExpr to std::string_median 99.2 ns 99.2 ns 4
Concat std::string and number by StrExpr to std::string_stddev 1.38 ns 1.38 ns 4
Concat std::string and number by StrExpr to std::string_cv 1.39 % 1.39 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 62.5 ns 62.5 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 62.3 ns 62.3 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 1.23 ns 1.23 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 1.96 % 1.96 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 67.1 ns 67.1 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 67.2 ns 67.2 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 0.505 ns 0.505 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 0.75 % 0.75 % 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 637 ns 637 ns 4
Concat std::string and format hex number and literal to std::string_median 637 ns 637 ns 4
Concat std::string and format hex number and literal to std::string_stddev 3.08 ns 3.08 ns 4
Concat std::string and format hex number and literal to std::string_cv 0.48 % 0.48 % 4
std::format std::string and hex number by literal to std::string_mean 824 ns 824 ns 4
std::format std::string and hex number by literal to std::string_median 811 ns 811 ns 4
std::format std::string and hex number by literal to std::string_stddev 42.0 ns 42.0 ns 4
std::format std::string and hex number by literal to std::string_cv 5.10 % 5.10 % 4
Concat std::string and std::to_chars and string to std::string_mean 196 ns 196 ns 4
Concat std::string and std::to_chars and string to std::string_median 195 ns 195 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 3.85 ns 3.85 ns 4
Concat std::string and std::to_chars and string to std::string_cv 1.96 % 1.96 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 130 ns 130 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 129 ns 129 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 1.62 ns 1.62 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 1.25 % 1.25 % 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 114 ns 114 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 113 ns 113 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 1.76 ns 1.76 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 1.54 % 1.54 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 121 ns 121 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 121 ns 121 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 2.11 ns 2.11 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 1.74 % 1.74 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 183 ns 183 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 181 ns 181 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 8.67 ns 8.67 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 4.73 % 4.73 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 297 ns 297 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 298 ns 298 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 3.52 ns 3.52 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 1.18 % 1.18 % 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 264 ns 264 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 264 ns 264 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 2.52 ns 2.52 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 0.95 % 0.95 % 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 342 ns 342 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 334 ns 334 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 17.5 ns 17.5 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 5.11 % 5.11 % 4
e_vsubst(pattern, i / 0x8a010_fmt)_mean 614 ns 614 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_median 605 ns 605 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 20.5 ns 20.5 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_cv 3.34 % 3.34 % 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 680 ns 680 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 683 ns 683 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 10.9 ns 10.9 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 1.60 % 1.60 % 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 793 ns 793 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 795 ns 795 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 9.03 ns 9.03 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 1.14 % 1.14 % 4
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 974 ns 974 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_median 934 ns 934 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 91.3 ns 91.3 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 9.37 % 9.37 % 4
std::vformat(pattern, std::make_format_args(i))_mean 933 ns 933 ns 4
std::vformat(pattern, std::make_format_args(i))_median 932 ns 932 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 11.3 ns 11.3 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 1.21 % 1.21 % 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 2845 ns 2845 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 2764 ns 2764 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 171 ns 171 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 6.01 % 6.01 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 43.5 ns 43.5 ns 4
Concat std::string by std to std::string_median 43.4 ns 43.4 ns 4
Concat std::string by std to std::string_stddev 1.14 ns 1.14 ns 4
Concat std::string by std to std::string_cv 2.62 % 2.62 % 4
Concat std::string by StrExpr to std::string_mean 32.3 ns 32.3 ns 4
Concat std::string by StrExpr to std::string_median 32.3 ns 32.3 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.09 % 3.09 % 4
Concat stringa by StrExpr to stringa_mean 28.5 ns 28.5 ns 4
Concat stringa by StrExpr to stringa_median 28.6 ns 28.6 ns 4
Concat stringa by StrExpr to stringa_stddev 0.559 ns 0.559 ns 4
Concat stringa by StrExpr to stringa_cv 1.96 % 1.96 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 109 ns 109 ns 4
Find concat three std::string_median 108 ns 108 ns 4
Find concat three std::string_stddev 4.25 ns 4.25 ns 4
Find concat three std::string_cv 3.88 % 3.88 % 4
Find concat three strexpr_mean 47.4 ns 47.4 ns 4
Find concat three strexpr_median 47.1 ns 47.1 ns 4
Find concat three strexpr_stddev 0.645 ns 0.645 ns 4
Find concat three strexpr_cv 1.36 % 1.36 % 4
Find concat three simstr_mean 22.6 ns 22.6 ns 4
Find concat three simstr_median 22.6 ns 22.6 ns 4
Find concat three simstr_stddev 0.090 ns 0.090 ns 4
Find concat three simstr_cv 0.40 % 0.40 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 6.89 ns 6.89 ns 4
BuildTypeNameStr 0/0_median 6.92 ns 6.92 ns 4
BuildTypeNameStr 0/0_stddev 0.099 ns 0.099 ns 4
BuildTypeNameStr 0/0_cv 1.43 % 1.43 % 4
BuildTypeNameExp 0/0_mean 7.12 ns 7.12 ns 4
BuildTypeNameExp 0/0_median 7.11 ns 7.11 ns 4
BuildTypeNameExp 0/0_stddev 0.051 ns 0.051 ns 4
BuildTypeNameExp 0/0_cv 0.71 % 0.71 % 4
BuildTypeNameSim 0/0_mean 4.71 ns 4.71 ns 4
BuildTypeNameSim 0/0_median 4.71 ns 4.71 ns 4
BuildTypeNameSim 0/0_stddev 0.046 ns 0.046 ns 4
BuildTypeNameSim 0/0_cv 0.97 % 0.97 % 4
BuildTypeNameStr 10/10_mean 51.7 ns 51.7 ns 4
BuildTypeNameStr 10/10_median 51.6 ns 51.6 ns 4
BuildTypeNameStr 10/10_stddev 1.10 ns 1.10 ns 4
BuildTypeNameStr 10/10_cv 2.13 % 2.13 % 4
BuildTypeNameExp 10/10_mean 34.4 ns 34.4 ns 4
BuildTypeNameExp 10/10_median 34.1 ns 34.1 ns 4
BuildTypeNameExp 10/10_stddev 1.65 ns 1.65 ns 4
BuildTypeNameExp 10/10_cv 4.80 % 4.80 % 4
BuildTypeNameSim 10/10_mean 22.2 ns 22.2 ns 4
BuildTypeNameSim 10/10_median 22.3 ns 22.3 ns 4
BuildTypeNameSim 10/10_stddev 0.324 ns 0.324 ns 4
BuildTypeNameSim 10/10_cv 1.46 % 1.46 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 195 ns 195 ns 4
Concat with replace str_median 195 ns 195 ns 4
Concat with replace str_stddev 2.13 ns 2.13 ns 4
Concat with replace str_cv 1.09 % 1.09 % 4
Concat with replace exp_mean 135 ns 135 ns 4
Concat with replace exp_median 134 ns 134 ns 4
Concat with replace exp_stddev 3.38 ns 3.38 ns 4
Concat with replace exp_cv 2.50 % 2.50 % 4
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.08 ns 1.08 ns 4
std::string e;_median 1.07 ns 1.07 ns 4
std::string e;_stddev 0.021 ns 0.021 ns 4
std::string e;_cv 1.94 % 1.94 % 4
std::string_view e;_mean 0.361 ns 0.361 ns 4
std::string_view e;_median 0.361 ns 0.361 ns 4
std::string_view e;_stddev 0.006 ns 0.006 ns 4
std::string_view e;_cv 1.78 % 1.78 % 4
ssa e;_mean 0.355 ns 0.355 ns 4
ssa e;_median 0.355 ns 0.355 ns 4
ssa e;_stddev 0.003 ns 0.003 ns 4
ssa e;_cv 0.82 % 0.82 % 4
stringa e;_mean 0.720 ns 0.720 ns 4
stringa e;_median 0.721 ns 0.721 ns 4
stringa e;_stddev 0.011 ns 0.011 ns 4
stringa e;_cv 1.57 % 1.57 % 4
lstringa<20> e;_mean 1.09 ns 1.09 ns 4
lstringa<20> e;_median 1.09 ns 1.09 ns 4
lstringa<20> e;_stddev 0.017 ns 0.017 ns 4
lstringa<20> e;_cv 1.52 % 1.52 % 4
lstringa<40> e;_mean 1.08 ns 1.08 ns 4
lstringa<40> e;_median 1.08 ns 1.08 ns 4
lstringa<40> e;_stddev 0.006 ns 0.006 ns 4
lstringa<40> e;_cv 0.56 % 0.57 % 4
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 1.85 ns 1.85 ns 4
std::string e = "Test text";_median 1.79 ns 1.79 ns 4
std::string e = "Test text";_stddev 0.113 ns 0.113 ns 4
std::string e = "Test text";_cv 6.11 % 6.11 % 4
std::string_view e = "Test text";_mean 0.719 ns 0.719 ns 4
std::string_view e = "Test text";_median 0.718 ns 0.718 ns 4
std::string_view e = "Test text";_stddev 0.010 ns 0.010 ns 4
std::string_view e = "Test text";_cv 1.44 % 1.44 % 4
ssa e = "Test text";_mean 0.362 ns 0.362 ns 4
ssa e = "Test text";_median 0.357 ns 0.357 ns 4
ssa e = "Test text";_stddev 0.013 ns 0.013 ns 4
ssa e = "Test text";_cv 3.56 % 3.56 % 4
stringa e = "Test text";_mean 1.08 ns 1.08 ns 4
stringa e = "Test text";_median 1.07 ns 1.07 ns 4
stringa e = "Test text";_stddev 0.020 ns 0.020 ns 4
stringa e = "Test text";_cv 1.86 % 1.86 % 4
lstringa<20> e = "Test text";_mean 1.81 ns 1.81 ns 4
lstringa<20> e = "Test text";_median 1.78 ns 1.78 ns 4
lstringa<20> e = "Test text";_stddev 0.052 ns 0.052 ns 4
lstringa<20> e = "Test text";_cv 2.88 % 2.88 % 4
lstringa<40> e = "Test text";_mean 1.79 ns 1.79 ns 4
lstringa<40> e = "Test text";_median 1.79 ns 1.79 ns 4
lstringa<40> e = "Test text";_stddev 0.011 ns 0.011 ns 4
lstringa<40> e = "Test text";_cv 0.63 % 0.63 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 19.0 ns 19.0 ns 4
std::string e = "123456789012345678901234567890";_median 18.9 ns 18.9 ns 4
std::string e = "123456789012345678901234567890";_stddev 0.317 ns 0.317 ns 4
std::string e = "123456789012345678901234567890";_cv 1.67 % 1.67 % 4
std::string_view e = "123456789012345678901234567890";_mean 0.731 ns 0.731 ns 4
std::string_view e = "123456789012345678901234567890";_median 0.726 ns 0.726 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.023 ns 0.023 ns 4
std::string_view e = "123456789012345678901234567890";_cv 3.14 % 3.14 % 4
ssa e = "123456789012345678901234567890";_mean 0.364 ns 0.364 ns 4
ssa e = "123456789012345678901234567890";_median 0.363 ns 0.363 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.006 ns 0.006 ns 4
ssa e = "123456789012345678901234567890";_cv 1.68 % 1.68 % 4
stringa e = "123456789012345678901234567890";_mean 1.07 ns 1.07 ns 4
stringa e = "123456789012345678901234567890";_median 1.07 ns 1.07 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.018 ns 0.018 ns 4
stringa e = "123456789012345678901234567890";_cv 1.72 % 1.72 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 23.2 ns 23.2 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 23.3 ns 23.3 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 0.407 ns 0.407 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 1.75 % 1.75 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 2.56 ns 2.56 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 2.47 ns 2.47 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.178 ns 0.178 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 6.95 % 6.95 % 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 4.73 ns 4.73 ns 4
std::string e = "Test text"; auto c{e};_median 4.71 ns 4.71 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.064 ns 0.064 ns 4
std::string e = "Test text"; auto c{e};_cv 1.36 % 1.36 % 4
std::string_view e = "Test text"; auto c{e};_mean 0.363 ns 0.363 ns 4
std::string_view e = "Test text"; auto c{e};_median 0.361 ns 0.361 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.005 ns 0.005 ns 4
std::string_view e = "Test text"; auto c{e};_cv 1.26 % 1.26 % 4
ssa e = "Test text"; auto c{e};_mean 0.358 ns 0.358 ns 4
ssa e = "Test text"; auto c{e};_median 0.358 ns 0.358 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.004 ns 0.004 ns 4
ssa e = "Test text"; auto c{e};_cv 1.05 % 1.05 % 4
stringa e = "Test text"; auto c{e};_mean 1.08 ns 1.08 ns 4
stringa e = "Test text"; auto c{e};_median 1.08 ns 1.08 ns 4
stringa e = "Test text"; auto c{e};_stddev 0.020 ns 0.020 ns 4
stringa e = "Test text"; auto c{e};_cv 1.83 % 1.83 % 4
lstringa<20> e = "Test text"; auto c{e};_mean 4.15 ns 4.15 ns 4
lstringa<20> e = "Test text"; auto c{e};_median 4.11 ns 4.11 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.171 ns 0.171 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 4.11 % 4.11 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 3.98 ns 3.98 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 3.96 ns 3.96 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.065 ns 0.065 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 1.64 % 1.64 % 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 19.0 ns 19.0 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 18.9 ns 18.9 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.877 ns 0.877 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 4.61 % 4.61 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.751 ns 0.751 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.719 ns 0.719 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.073 ns 0.073 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 9.70 % 9.70 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.361 ns 0.361 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.362 ns 0.362 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.004 ns 0.004 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.11 % 1.11 % 4
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.07 ns 1.07 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.07 ns 1.07 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.008 ns 0.008 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 0.71 % 0.71 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 21.3 ns 21.3 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 21.3 ns 21.3 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.092 ns 0.092 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 0.43 % 0.43 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.68 ns 4.68 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.054 ns 0.054 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 1.15 % 1.15 % 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.59 ns 6.59 ns 4
std::string::find;_median 6.60 ns 6.60 ns 4
std::string::find;_stddev 0.089 ns 0.089 ns 4
std::string::find;_cv 1.35 % 1.35 % 4
std::string_view::find;_mean 7.31 ns 7.31 ns 4
std::string_view::find;_median 7.33 ns 7.33 ns 4
std::string_view::find;_stddev 0.079 ns 0.079 ns 4
std::string_view::find;_cv 1.09 % 1.09 % 4
ssa::find;_mean 6.63 ns 6.63 ns 4
ssa::find;_median 6.58 ns 6.58 ns 4
ssa::find;_stddev 0.237 ns 0.237 ns 4
ssa::find;_cv 3.57 % 3.57 % 4
stringa::find;_mean 6.91 ns 6.91 ns 4
stringa::find;_median 6.90 ns 6.90 ns 4
stringa::find;_stddev 0.129 ns 0.129 ns 4
stringa::find;_cv 1.87 % 1.87 % 4
lstringa<20>::find;_mean 6.16 ns 6.16 ns 4
lstringa<20>::find;_median 6.13 ns 6.13 ns 4
lstringa<20>::find;_stddev 0.093 ns 0.093 ns 4
lstringa<20>::find;_cv 1.51 % 1.51 % 4
lstringa<40>::find;_mean 6.37 ns 6.37 ns 4
lstringa<40>::find;_median 6.29 ns 6.29 ns 4
lstringa<40>::find;_stddev 0.264 ns 0.264 ns 4
lstringa<40>::find;_cv 4.14 % 4.14 % 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 5.55 ns 5.55 ns 4
std::string copy{str_with_len_N};/15_median 5.55 ns 5.55 ns 4
std::string copy{str_with_len_N};/15_stddev 0.020 ns 0.020 ns 4
std::string copy{str_with_len_N};/15_cv 0.37 % 0.37 % 4
std::string copy{str_with_len_N};/16_mean 23.6 ns 23.6 ns 4
std::string copy{str_with_len_N};/16_median 23.6 ns 23.6 ns 4
std::string copy{str_with_len_N};/16_stddev 0.311 ns 0.311 ns 4
std::string copy{str_with_len_N};/16_cv 1.32 % 1.32 % 4
std::string copy{str_with_len_N};/23_mean 23.9 ns 23.9 ns 4
std::string copy{str_with_len_N};/23_median 24.0 ns 24.0 ns 4
std::string copy{str_with_len_N};/23_stddev 0.308 ns 0.308 ns 4
std::string copy{str_with_len_N};/23_cv 1.29 % 1.29 % 4
std::string copy{str_with_len_N};/24_mean 23.6 ns 23.6 ns 4
std::string copy{str_with_len_N};/24_median 23.7 ns 23.7 ns 4
std::string copy{str_with_len_N};/24_stddev 0.305 ns 0.305 ns 4
std::string copy{str_with_len_N};/24_cv 1.29 % 1.29 % 4
std::string copy{str_with_len_N};/32_mean 23.3 ns 23.3 ns 4
std::string copy{str_with_len_N};/32_median 23.2 ns 23.2 ns 4
std::string copy{str_with_len_N};/32_stddev 0.361 ns 0.361 ns 4
std::string copy{str_with_len_N};/32_cv 1.55 % 1.55 % 4
std::string copy{str_with_len_N};/64_mean 23.3 ns 23.3 ns 4
std::string copy{str_with_len_N};/64_median 23.3 ns 23.3 ns 4
std::string copy{str_with_len_N};/64_stddev 0.340 ns 0.340 ns 4
std::string copy{str_with_len_N};/64_cv 1.46 % 1.46 % 4
std::string copy{str_with_len_N};/128_mean 24.8 ns 24.8 ns 4
std::string copy{str_with_len_N};/128_median 24.8 ns 24.8 ns 4
std::string copy{str_with_len_N};/128_stddev 0.493 ns 0.493 ns 4
std::string copy{str_with_len_N};/128_cv 1.99 % 1.99 % 4
std::string copy{str_with_len_N};/256_mean 25.1 ns 25.1 ns 4
std::string copy{str_with_len_N};/256_median 25.1 ns 25.1 ns 4
std::string copy{str_with_len_N};/256_stddev 0.306 ns 0.306 ns 4
std::string copy{str_with_len_N};/256_cv 1.22 % 1.22 % 4
std::string copy{str_with_len_N};/512_mean 29.4 ns 29.4 ns 4
std::string copy{str_with_len_N};/512_median 29.3 ns 29.3 ns 4
std::string copy{str_with_len_N};/512_stddev 0.538 ns 0.538 ns 4
std::string copy{str_with_len_N};/512_cv 1.83 % 1.83 % 4
std::string copy{str_with_len_N};/1024_mean 51.6 ns 51.6 ns 4
std::string copy{str_with_len_N};/1024_median 51.3 ns 51.3 ns 4
std::string copy{str_with_len_N};/1024_stddev 2.20 ns 2.20 ns 4
std::string copy{str_with_len_N};/1024_cv 4.26 % 4.26 % 4
std::string copy{str_with_len_N};/2048_mean 124 ns 124 ns 4
std::string copy{str_with_len_N};/2048_median 121 ns 121 ns 4
std::string copy{str_with_len_N};/2048_stddev 10.4 ns 10.4 ns 4
std::string copy{str_with_len_N};/2048_cv 8.34 % 8.34 % 4
std::string copy{str_with_len_N};/4096_mean 163 ns 163 ns 4
std::string copy{str_with_len_N};/4096_median 160 ns 160 ns 4
std::string copy{str_with_len_N};/4096_stddev 15.5 ns 15.5 ns 4
std::string copy{str_with_len_N};/4096_cv 9.52 % 9.52 % 4
stringa copy{str_with_len_N};/15_mean 1.20 ns 1.20 ns 4
stringa copy{str_with_len_N};/15_median 1.20 ns 1.20 ns 4
stringa copy{str_with_len_N};/15_stddev 0.043 ns 0.043 ns 4
stringa copy{str_with_len_N};/15_cv 3.55 % 3.55 % 4
stringa copy{str_with_len_N};/16_mean 1.24 ns 1.24 ns 4
stringa copy{str_with_len_N};/16_median 1.23 ns 1.23 ns 4
stringa copy{str_with_len_N};/16_stddev 0.032 ns 0.032 ns 4
stringa copy{str_with_len_N};/16_cv 2.58 % 2.58 % 4
stringa copy{str_with_len_N};/23_mean 1.11 ns 1.11 ns 4
stringa copy{str_with_len_N};/23_median 1.10 ns 1.10 ns 4
stringa copy{str_with_len_N};/23_stddev 0.026 ns 0.026 ns 4
stringa copy{str_with_len_N};/23_cv 2.36 % 2.36 % 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.093 ns 0.093 ns 4
stringa copy{str_with_len_N};/24_cv 0.58 % 0.58 % 4
stringa copy{str_with_len_N};/32_mean 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/32_median 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/32_stddev 0.138 ns 0.138 ns 4
stringa copy{str_with_len_N};/32_cv 0.85 % 0.85 % 4
stringa copy{str_with_len_N};/64_mean 16.1 ns 16.1 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.194 ns 0.194 ns 4
stringa copy{str_with_len_N};/64_cv 1.21 % 1.21 % 4
stringa copy{str_with_len_N};/128_mean 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/128_median 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/128_stddev 0.052 ns 0.052 ns 4
stringa copy{str_with_len_N};/128_cv 0.33 % 0.33 % 4
stringa copy{str_with_len_N};/256_mean 16.4 ns 16.4 ns 4
stringa copy{str_with_len_N};/256_median 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/256_stddev 0.465 ns 0.465 ns 4
stringa copy{str_with_len_N};/256_cv 2.84 % 2.84 % 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.209 ns 0.209 ns 4
stringa copy{str_with_len_N};/512_cv 1.29 % 1.29 % 4
stringa copy{str_with_len_N};/1024_mean 16.0 ns 16.0 ns 4
stringa copy{str_with_len_N};/1024_median 15.8 ns 15.8 ns 4
stringa copy{str_with_len_N};/1024_stddev 0.465 ns 0.465 ns 4
stringa copy{str_with_len_N};/1024_cv 2.90 % 2.90 % 4
stringa copy{str_with_len_N};/2048_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/2048_median 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/2048_stddev 0.215 ns 0.215 ns 4
stringa copy{str_with_len_N};/2048_cv 1.32 % 1.32 % 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.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/4096_stddev 0.168 ns 0.168 ns 4
stringa copy{str_with_len_N};/4096_cv 1.03 % 1.03 % 4
lstringa<16> copy{str_with_len_N};/15_mean 4.56 ns 4.56 ns 4
lstringa<16> copy{str_with_len_N};/15_median 4.57 ns 4.57 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.162 ns 0.162 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 3.55 % 3.55 % 4
lstringa<16> copy{str_with_len_N};/16_mean 4.51 ns 4.51 ns 4
lstringa<16> copy{str_with_len_N};/16_median 4.46 ns 4.46 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.252 ns 0.252 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 5.58 % 5.58 % 4
lstringa<16> copy{str_with_len_N};/23_mean 4.68 ns 4.68 ns 4
lstringa<16> copy{str_with_len_N};/23_median 4.66 ns 4.66 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 0.109 ns 0.109 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 2.33 % 2.33 % 4
lstringa<16> copy{str_with_len_N};/24_mean 27.1 ns 27.1 ns 4
lstringa<16> copy{str_with_len_N};/24_median 26.9 ns 26.9 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 1.96 ns 1.96 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 7.25 % 7.25 % 4
lstringa<16> copy{str_with_len_N};/32_mean 26.4 ns 26.4 ns 4
lstringa<16> copy{str_with_len_N};/32_median 26.4 ns 26.4 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 0.667 ns 0.667 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 2.52 % 2.52 % 4
lstringa<16> copy{str_with_len_N};/64_mean 28.6 ns 28.6 ns 4
lstringa<16> copy{str_with_len_N};/64_median 28.7 ns 28.7 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 1.02 ns 1.02 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 3.55 % 3.55 % 4
lstringa<16> copy{str_with_len_N};/128_mean 28.2 ns 28.2 ns 4
lstringa<16> copy{str_with_len_N};/128_median 28.5 ns 28.5 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 1.46 ns 1.46 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 5.16 % 5.16 % 4
lstringa<16> copy{str_with_len_N};/256_mean 31.0 ns 31.0 ns 4
lstringa<16> copy{str_with_len_N};/256_median 30.7 ns 30.7 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 0.889 ns 0.889 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 2.87 % 2.87 % 4
lstringa<16> copy{str_with_len_N};/512_mean 34.7 ns 34.7 ns 4
lstringa<16> copy{str_with_len_N};/512_median 34.8 ns 34.8 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 2.72 ns 2.72 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 7.83 % 7.83 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 118 ns 118 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 117 ns 117 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 6.23 ns 6.23 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 5.26 % 5.26 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 134 ns 134 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 137 ns 137 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 13.0 ns 13.0 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 9.66 % 9.66 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 153 ns 153 ns 4
lstringa<16> copy{str_with_len_N};/4096_median 154 ns 154 ns 4
lstringa<16> copy{str_with_len_N};/4096_stddev 5.41 ns 5.41 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 3.54 % 3.54 % 4
lstringa<512> copy{str_with_len_N};/15_mean 5.44 ns 5.44 ns 4
lstringa<512> copy{str_with_len_N};/15_median 5.43 ns 5.43 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.326 ns 0.326 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 6.00 % 6.00 % 4
lstringa<512> copy{str_with_len_N};/16_mean 4.88 ns 4.88 ns 4
lstringa<512> copy{str_with_len_N};/16_median 4.79 ns 4.79 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.246 ns 0.246 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 5.05 % 5.05 % 4
lstringa<512> copy{str_with_len_N};/23_mean 4.82 ns 4.82 ns 4
lstringa<512> copy{str_with_len_N};/23_median 4.74 ns 4.74 ns 4
lstringa<512> copy{str_with_len_N};/23_stddev 0.191 ns 0.191 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 3.96 % 3.96 % 4
lstringa<512> copy{str_with_len_N};/24_mean 4.72 ns 4.72 ns 4
lstringa<512> copy{str_with_len_N};/24_median 4.70 ns 4.70 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 0.065 ns 0.065 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 1.38 % 1.38 % 4
lstringa<512> copy{str_with_len_N};/32_mean 4.33 ns 4.33 ns 4
lstringa<512> copy{str_with_len_N};/32_median 4.31 ns 4.31 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.102 ns 0.102 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 2.35 % 2.35 % 4
lstringa<512> copy{str_with_len_N};/64_mean 5.80 ns 5.80 ns 4
lstringa<512> copy{str_with_len_N};/64_median 5.77 ns 5.77 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 0.120 ns 0.120 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 2.07 % 2.07 % 4
lstringa<512> copy{str_with_len_N};/128_mean 27.5 ns 27.5 ns 4
lstringa<512> copy{str_with_len_N};/128_median 27.5 ns 27.5 ns 4
lstringa<512> copy{str_with_len_N};/128_stddev 0.290 ns 0.290 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 1.05 % 1.05 % 4
lstringa<512> copy{str_with_len_N};/256_mean 22.3 ns 22.3 ns 4
lstringa<512> copy{str_with_len_N};/256_median 22.2 ns 22.2 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 0.195 ns 0.195 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 0.87 % 0.87 % 4
lstringa<512> copy{str_with_len_N};/512_mean 21.3 ns 21.3 ns 4
lstringa<512> copy{str_with_len_N};/512_median 21.1 ns 21.1 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 0.363 ns 0.363 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 1.71 % 1.71 % 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 7.96 ns 7.96 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 7.25 % 7.25 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 113 ns 113 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 3.82 ns 3.82 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 3.36 % 3.36 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 122 ns 122 ns 4
lstringa<512> copy{str_with_len_N};/4096_median 121 ns 121 ns 4
lstringa<512> copy{str_with_len_N};/4096_stddev 2.74 ns 2.74 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 2.24 % 2.24 % 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 25.8 ns 25.8 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 25.6 ns 25.6 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.382 ns 0.382 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 1.48 % 1.48 % 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 14.6 ns 14.6 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 14.2 ns 14.2 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.817 ns 0.817 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 5.59 % 5.59 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 12.2 ns 12.2 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.1 ns 12.1 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.334 ns 0.334 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.74 % 2.74 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 11.9 ns 11.9 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 11.9 ns 11.9 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.134 ns 0.134 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.13 % 1.13 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 12.0 ns 12.0 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.0 ns 12.0 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.074 ns 0.074 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 0.62 % 0.62 % 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.2 ns 23.2 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 23.0 ns 23.0 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.773 ns 0.773 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 3.33 % 3.33 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 9.32 ns 9.32 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 9.28 ns 9.28 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.132 ns 0.132 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 1.41 % 1.41 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.2 ns 12.2 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.2 ns 12.2 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.133 ns 0.133 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.09 % 1.09 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.6 ns 12.6 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.4 ns 12.4 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.555 ns 0.555 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 4.39 % 4.39 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.2 ns 12.2 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.2 ns 12.2 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.117 ns 0.117 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.96 % 0.96 % 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 29.0 ns 29.0 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 28.1 ns 28.1 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 2.41 ns 2.41 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 8.31 % 8.31 % 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 18.2 ns 18.2 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 18.3 ns 18.3 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.335 ns 0.335 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 1.84 % 1.84 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 14.7 ns 14.7 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 14.7 ns 14.7 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.198 ns 0.198 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.35 % 1.35 % 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 62.0 ns 62.0 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 61.5 ns 61.5 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 1.49 ns 1.49 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 2.40 % 2.40 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 25.6 ns 25.6 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 24.7 ns 24.7 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 2.33 ns 2.33 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 9.11 % 9.11 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 29.0 ns 29.0 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_median 28.9 ns 28.9 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 2.45 ns 2.45 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 8.43 % 8.43 % 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 1423 ns 1423 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 1351 ns 1351 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 178 ns 178 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 12.50 % 12.50 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 439 ns 439 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 445 ns 445 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 12.2 ns 12.2 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 2.78 % 2.78 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 424 ns 424 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 438 ns 438 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 40.3 ns 40.3 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 9.49 % 9.49 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 267 ns 267 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 268 ns 268 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 23.0 ns 23.0 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 8.64 % 8.64 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 250 ns 250 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 250 ns 250 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 20.2 ns 20.2 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 8.08 % 8.08 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 139 ns 139 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 137 ns 137 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 7.88 ns 7.88 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 5.66 % 5.66 % 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 1349 ns 1349 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 1348 ns 1348 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 14.5 ns 14.5 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 1.08 % 1.08 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1243 ns 1243 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1239 ns 1239 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 16.5 ns 16.5 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 1.33 % 1.33 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 461 ns 461 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 461 ns 461 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 6.97 ns 6.97 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.51 % 1.51 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 334 ns 334 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 339 ns 339 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 12.4 ns 12.4 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.72 % 3.72 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 319 ns 319 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 327 ns 327 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 15.7 ns 15.7 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.93 % 4.93 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 228 ns 228 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 228 ns 228 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 3.05 ns 3.05 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.34 % 1.34 % 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 74998 ns 74998 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 75038 ns 75038 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 1479 ns 1479 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.97 % 1.97 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 70443 ns 70443 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 70569 ns 70570 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1319 ns 1319 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.87 % 1.87 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18578 ns 18578 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18577 ns 18577 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 134 ns 134 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 0.72 % 0.72 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18590 ns 18590 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18464 ns 18464 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 326 ns 326 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.75 % 1.75 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 15811 ns 15811 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 15721 ns 15721 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 238 ns 238 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.50 % 1.50 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 15906 ns 15906 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 15913 ns 15913 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 297 ns 297 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.87 % 1.87 % 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 1367 ns 1367 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 1361 ns 1361 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 32.9 ns 32.9 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 2.41 % 2.41 % 4
std::string str; ... str += str_var1 + str_var2;_mean 1353 ns 1353 ns 4
std::string str; ... str += str_var1 + str_var2;_median 1341 ns 1341 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 34.3 ns 34.3 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 2.54 % 2.54 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 523 ns 523 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 522 ns 522 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 7.59 ns 7.59 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 1.45 % 1.45 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 436 ns 436 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 439 ns 439 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 11.1 ns 11.1 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 2.54 % 2.54 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 395 ns 395 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 402 ns 402 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 17.6 ns 17.6 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_cv 4.47 % 4.47 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 279 ns 279 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 280 ns 280 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 2.63 ns 2.63 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 0.94 % 0.94 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 2983 ns 2983 ns 4
std::stringstream str; str << "test = " << k << " times";_median 2993 ns 2993 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 49.3 ns 49.3 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 1.65 % 1.65 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 489 ns 489 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 489 ns 489 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 32.2 ns 32.2 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 6.59 % 6.59 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 1352 ns 1352 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 1351 ns 1351 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 20.0 ns 20.0 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.48 % 1.48 % 4
std::string str = std::format("test = {} times", k);_mean 1116 ns 1116 ns 4
std::string str = std::format("test = {} times", k);_median 1083 ns 1083 ns 4
std::string str = std::format("test = {} times", k);_stddev 88.2 ns 88.2 ns 4
std::string str = std::format("test = {} times", k);_cv 7.91 % 7.91 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 1300 ns 1300 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 1297 ns 1297 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 36.2 ns 36.2 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 2.78 % 2.78 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 952 ns 952 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 950 ns 950 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 30.3 ns 30.3 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 3.18 % 3.18 % 4
lstringa<8> str = "test = " + k + " times";_mean 280 ns 280 ns 4
lstringa<8> str = "test = " + k + " times";_median 280 ns 280 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 1.81 ns 1.81 ns 4
lstringa<8> str = "test = " + k + " times";_cv 0.65 % 0.65 % 4
lstringa<32> str = "test = " + k + " times";_mean 148 ns 148 ns 4
lstringa<32> str = "test = " + k + " times";_median 149 ns 149 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 1.88 ns 1.88 ns 4
lstringa<32> str = "test = " + k + " times";_cv 1.27 % 1.27 % 4
stringa str = "test = " + k + " times";_mean 147 ns 147 ns 4
stringa str = "test = " + k + " times";_median 147 ns 147 ns 4
stringa str = "test = " + k + " times";_stddev 3.15 ns 3.15 ns 4
stringa str = "test = " + k + " times";_cv 2.15 % 2.15 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 255 ns 255 ns 4
std::string::find + substr + std::strtol_median 254 ns 254 ns 4
std::string::find + substr + std::strtol_stddev 5.81 ns 5.81 ns 4
std::string::find + substr + std::strtol_cv 2.28 % 2.28 % 4
ssa::splitter + ssa::as_int_mean 157 ns 157 ns 4
ssa::splitter + ssa::as_int_median 153 ns 153 ns 4
ssa::splitter + ssa::as_int_stddev 11.1 ns 11.1 ns 4
ssa::splitter + ssa::as_int_cv 7.11 % 7.11 % 4
ssa::splitf + functor_mean 199 ns 199 ns 4
ssa::splitf + functor_median 199 ns 199 ns 4
ssa::splitf + functor_stddev 2.57 ns 2.57 ns 4
ssa::splitf + functor_cv 1.29 % 1.29 % 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 843 ns 843 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 831 ns 831 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 25.0 ns 25.0 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 2.96 % 2.96 % 4
replace symbols with std::string find_first_of + replace_mean 2378 ns 2378 ns 4
replace symbols with std::string find_first_of + replace_median 2373 ns 2373 ns 4
replace symbols with std::string find_first_of + replace_stddev 40.2 ns 40.2 ns 4
replace symbols with std::string find_first_of + replace_cv 1.69 % 1.69 % 4
replace symbols with std::string_view find_first_of + copy_mean 1090 ns 1090 ns 4
replace symbols with std::string_view find_first_of + copy_median 1085 ns 1085 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 33.8 ns 33.8 ns 4
replace symbols with std::string_view find_first_of + copy_cv 3.10 % 3.10 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 1226 ns 1226 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 1226 ns 1226 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 31.6 ns 31.6 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 2.58 % 2.58 % 4
replace runtime symbols with simstr and memorization of all search results_mean 965 ns 965 ns 4
replace runtime symbols with simstr and memorization of all search results_median 963 ns 963 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 23.5 ns 23.5 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 2.43 % 2.43 % 4
replace const symbols with string expressions and without remembering all search results_mean 1100 ns 1100 ns 4
replace const symbols with string expressions and without remembering all search results_median 1106 ns 1106 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 28.7 ns 28.7 ns 4
replace const symbols with string expressions and without remembering all search results_cv 2.61 % 2.61 % 4
replace const symbols with string expressions and memorization of all search results_mean 837 ns 837 ns 4
replace const symbols with string expressions and memorization of all search results_median 833 ns 833 ns 4
replace const symbols with string expressions and memorization of all search results_stddev 11.8 ns 11.8 ns 4
replace const symbols with string expressions and memorization of all search results_cv 1.41 % 1.41 % 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 158 ns 158 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 158 ns 158 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 0.834 ns 0.834 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 0.53 % 0.53 % 4
Short replace symbols with std::string find_first_of + replace_mean 304 ns 304 ns 4
Short replace symbols with std::string find_first_of + replace_median 304 ns 304 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 2.88 ns 2.88 ns 4
Short replace symbols with std::string find_first_of + replace_cv 0.95 % 0.95 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 159 ns 159 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 159 ns 159 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 1.29 ns 1.29 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 0.81 % 0.81 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 170 ns 170 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 169 ns 169 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 4.31 ns 4.31 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 2.53 % 2.53 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 176 ns 176 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 176 ns 176 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 1.77 ns 1.77 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 1.00 % 1.00 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 127 ns 127 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 127 ns 127 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 1.00 ns 1.00 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 0.79 % 0.79 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 139 ns 139 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 138 ns 138 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 2.64 ns 2.64 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 1.90 % 1.90 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 156 ns 156 ns 4
replace bb to ---- in std::string|64_median 156 ns 156 ns 4
replace bb to ---- in std::string|64_stddev 2.89 ns 2.89 ns 4
replace bb to ---- in std::string|64_cv 1.86 % 1.86 % 4
replace bb to ---- in std::string|256_mean 540 ns 540 ns 4
replace bb to ---- in std::string|256_median 536 ns 536 ns 4
replace bb to ---- in std::string|256_stddev 11.6 ns 11.6 ns 4
replace bb to ---- in std::string|256_cv 2.15 % 2.15 % 4
replace bb to ---- in std::string|512_mean 1007 ns 1007 ns 4
replace bb to ---- in std::string|512_median 1004 ns 1004 ns 4
replace bb to ---- in std::string|512_stddev 27.0 ns 27.0 ns 4
replace bb to ---- in std::string|512_cv 2.68 % 2.68 % 4
replace bb to ---- in std::string|1024_mean 2290 ns 2290 ns 4
replace bb to ---- in std::string|1024_median 2240 ns 2240 ns 4
replace bb to ---- in std::string|1024_stddev 155 ns 155 ns 4
replace bb to ---- in std::string|1024_cv 6.78 % 6.78 % 4
replace bb to ---- in std::string|2048_mean 5743 ns 5743 ns 4
replace bb to ---- in std::string|2048_median 5673 ns 5673 ns 4
replace bb to ---- in std::string|2048_stddev 323 ns 323 ns 4
replace bb to ---- in std::string|2048_cv 5.63 % 5.63 % 4
replace bb to ---- in lstringa<8>|64_mean 134 ns 134 ns 4
replace bb to ---- in lstringa<8>|64_median 134 ns 134 ns 4
replace bb to ---- in lstringa<8>|64_stddev 1.24 ns 1.24 ns 4
replace bb to ---- in lstringa<8>|64_cv 0.92 % 0.92 % 4
replace bb to ---- in lstringa<8>|256_mean 433 ns 433 ns 4
replace bb to ---- in lstringa<8>|256_median 433 ns 433 ns 4
replace bb to ---- in lstringa<8>|256_stddev 16.3 ns 16.3 ns 4
replace bb to ---- in lstringa<8>|256_cv 3.78 % 3.78 % 4
replace bb to ---- in lstringa<8>|512_mean 808 ns 808 ns 4
replace bb to ---- in lstringa<8>|512_median 808 ns 808 ns 4
replace bb to ---- in lstringa<8>|512_stddev 11.4 ns 11.4 ns 4
replace bb to ---- in lstringa<8>|512_cv 1.41 % 1.41 % 4
replace bb to ---- in lstringa<8>|1024_mean 1654 ns 1654 ns 4
replace bb to ---- in lstringa<8>|1024_median 1658 ns 1658 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 26.4 ns 26.4 ns 4
replace bb to ---- in lstringa<8>|1024_cv 1.60 % 1.60 % 4
replace bb to ---- in lstringa<8>|2048_mean 3144 ns 3144 ns 4
replace bb to ---- in lstringa<8>|2048_median 3170 ns 3170 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 89.5 ns 89.5 ns 4
replace bb to ---- in lstringa<8>|2048_cv 2.85 % 2.85 % 4
replace bb to ---- by init stringa|64_mean 92.8 ns 92.8 ns 4
replace bb to ---- by init stringa|64_median 92.5 ns 92.5 ns 4
replace bb to ---- by init stringa|64_stddev 0.744 ns 0.744 ns 4
replace bb to ---- by init stringa|64_cv 0.80 % 0.80 % 4
replace bb to ---- by init stringa|256_mean 304 ns 304 ns 4
replace bb to ---- by init stringa|256_median 304 ns 304 ns 4
replace bb to ---- by init stringa|256_stddev 5.02 ns 5.02 ns 4
replace bb to ---- by init stringa|256_cv 1.65 % 1.65 % 4
replace bb to ---- by init stringa|512_mean 692 ns 692 ns 4
replace bb to ---- by init stringa|512_median 691 ns 691 ns 4
replace bb to ---- by init stringa|512_stddev 4.32 ns 4.32 ns 4
replace bb to ---- by init stringa|512_cv 0.62 % 0.62 % 4
replace bb to ---- by init stringa|1024_mean 1497 ns 1497 ns 4
replace bb to ---- by init stringa|1024_median 1497 ns 1497 ns 4
replace bb to ---- by init stringa|1024_stddev 7.08 ns 7.08 ns 4
replace bb to ---- by init stringa|1024_cv 0.47 % 0.47 % 4
replace bb to ---- by init stringa|2048_mean 3011 ns 3011 ns 4
replace bb to ---- by init stringa|2048_median 2987 ns 2987 ns 4
replace bb to ---- by init stringa|2048_stddev 48.5 ns 48.5 ns 4
replace bb to ---- by init stringa|2048_cv 1.61 % 1.61 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 119 ns 119 ns 4
replace bb to -- in std::string|64_median 118 ns 118 ns 4
replace bb to -- in std::string|64_stddev 1.42 ns 1.42 ns 4
replace bb to -- in std::string|64_cv 1.20 % 1.20 % 4
replace bb to -- in std::string|256_mean 410 ns 410 ns 4
replace bb to -- in std::string|256_median 398 ns 398 ns 4
replace bb to -- in std::string|256_stddev 31.0 ns 31.0 ns 4
replace bb to -- in std::string|256_cv 7.56 % 7.56 % 4
replace bb to -- in std::string|512_mean 741 ns 741 ns 4
replace bb to -- in std::string|512_median 738 ns 738 ns 4
replace bb to -- in std::string|512_stddev 17.6 ns 17.6 ns 4
replace bb to -- in std::string|512_cv 2.37 % 2.37 % 4
replace bb to -- in std::string|1024_mean 1470 ns 1470 ns 4
replace bb to -- in std::string|1024_median 1465 ns 1465 ns 4
replace bb to -- in std::string|1024_stddev 78.7 ns 78.7 ns 4
replace bb to -- in std::string|1024_cv 5.35 % 5.35 % 4
replace bb to -- in std::string|2048_mean 2898 ns 2898 ns 4
replace bb to -- in std::string|2048_median 2908 ns 2908 ns 4
replace bb to -- in std::string|2048_stddev 41.8 ns 41.8 ns 4
replace bb to -- in std::string|2048_cv 1.44 % 1.44 % 4
replace bb to -- in lstringa<8>|64_mean 95.7 ns 95.7 ns 4
replace bb to -- in lstringa<8>|64_median 95.7 ns 95.7 ns 4
replace bb to -- in lstringa<8>|64_stddev 1.53 ns 1.53 ns 4
replace bb to -- in lstringa<8>|64_cv 1.60 % 1.60 % 4
replace bb to -- in lstringa<8>|256_mean 284 ns 284 ns 4
replace bb to -- in lstringa<8>|256_median 283 ns 283 ns 4
replace bb to -- in lstringa<8>|256_stddev 8.79 ns 8.79 ns 4
replace bb to -- in lstringa<8>|256_cv 3.09 % 3.09 % 4
replace bb to -- in lstringa<8>|512_mean 524 ns 524 ns 4
replace bb to -- in lstringa<8>|512_median 524 ns 524 ns 4
replace bb to -- in lstringa<8>|512_stddev 2.53 ns 2.53 ns 4
replace bb to -- in lstringa<8>|512_cv 0.48 % 0.48 % 4
replace bb to -- in lstringa<8>|1024_mean 1113 ns 1113 ns 4
replace bb to -- in lstringa<8>|1024_median 1091 ns 1091 ns 4
replace bb to -- in lstringa<8>|1024_stddev 60.5 ns 60.5 ns 4
replace bb to -- in lstringa<8>|1024_cv 5.44 % 5.44 % 4
replace bb to -- in lstringa<8>|2048_mean 2072 ns 2072 ns 4
replace bb to -- in lstringa<8>|2048_median 2073 ns 2073 ns 4
replace bb to -- in lstringa<8>|2048_stddev 40.9 ns 40.9 ns 4
replace bb to -- in lstringa<8>|2048_cv 1.97 % 1.97 % 4
replace bb to -- by init stringa|64_mean 80.2 ns 80.2 ns 4
replace bb to -- by init stringa|64_median 80.5 ns 80.5 ns 4
replace bb to -- by init stringa|64_stddev 1.20 ns 1.20 ns 4
replace bb to -- by init stringa|64_cv 1.49 % 1.49 % 4
replace bb to -- by init stringa|256_mean 242 ns 242 ns 4
replace bb to -- by init stringa|256_median 240 ns 240 ns 4
replace bb to -- by init stringa|256_stddev 6.00 ns 6.00 ns 4
replace bb to -- by init stringa|256_cv 2.48 % 2.48 % 4
replace bb to -- by init stringa|512_mean 415 ns 415 ns 4
replace bb to -- by init stringa|512_median 414 ns 414 ns 4
replace bb to -- by init stringa|512_stddev 2.67 ns 2.67 ns 4
replace bb to -- by init stringa|512_cv 0.64 % 0.64 % 4
replace bb to -- by init stringa|1024_mean 888 ns 888 ns 4
replace bb to -- by init stringa|1024_median 878 ns 878 ns 4
replace bb to -- by init stringa|1024_stddev 53.2 ns 53.2 ns 4
replace bb to -- by init stringa|1024_cv 6.00 % 6.00 % 4
replace bb to -- by init stringa|2048_mean 1679 ns 1679 ns 4
replace bb to -- by init stringa|2048_median 1678 ns 1678 ns 4
replace bb to -- by init stringa|2048_stddev 22.5 ns 22.5 ns 4
replace bb to -- by init stringa|2048_cv 1.34 % 1.34 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3543478 ns 3543492 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 3532550 ns 3532562 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 52497 ns 52500 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 1.48 % 1.48 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3471945 ns 3471952 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3472217 ns 3472220 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 16719 ns 16722 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 0.48 % 0.48 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 3607100 ns 3607114 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 3616972 ns 3616986 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 90029 ns 90028 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 2.50 % 2.50 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 4101611 ns 4101599 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 3995757 ns 3995772 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 237374 ns 237320 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 5.79 % 5.79 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 691 ns 691 ns 4
Build func full name std::string;_median 689 ns 689 ns 4
Build func full name std::string;_stddev 11.5 ns 11.5 ns 4
Build func full name std::string;_cv 1.66 % 1.66 % 4
Build func full name std::string 1;_mean 813 ns 813 ns 4
Build func full name std::string 1;_median 809 ns 809 ns 4
Build func full name std::string 1;_stddev 24.2 ns 24.2 ns 4
Build func full name std::string 1;_cv 2.97 % 2.97 % 4
Build func full name std::stream;_mean 2594 ns 2594 ns 4
Build func full name std::stream;_median 2606 ns 2606 ns 4
Build func full name std::stream;_stddev 52.4 ns 52.4 ns 4
Build func full name std::stream;_cv 2.02 % 2.02 % 4
Build func full name stringa;_mean 487 ns 487 ns 4
Build func full name stringa;_median 489 ns 489 ns 4
Build func full name stringa;_stddev 4.00 ns 4.00 ns 4
Build func full name stringa;_cv 0.82 % 0.82 % 4
Build func full name stringa 1;_mean 637 ns 637 ns 4
Build func full name stringa 1;_median 634 ns 634 ns 4
Build func full name stringa 1;_stddev 13.0 ns 13.0 ns 4
Build func full name stringa 1;_cv 2.05 % 2.05 % 4