simstr/bench/results/002-Xeon E5-2682 v4, Window...

930 lines
137 KiB
Plaintext

Benchmarks of simstr, version 1.6.4
Sources: https://github.com/orefkov/simstr
Results: https://orefkov.github.io/simstr/results.html
2026-02-04T17:07:18+03:00
Running benchStr.exe
Run on (32 X 2494 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)
--------------------------------------------------------------------------------------------------------------------------------------------------------
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 264 ns 264 ns 4
Concat std::string and number by std to std::string_median 264 ns 264 ns 4
Concat std::string and number by std to std::string_stddev 4.78 ns 3.42 ns 4
Concat std::string and number by std to std::string_cv 1.81 % 1.30 % 4
Concat std::string and number by StrExpr to std::string_mean 148 ns 147 ns 4
Concat std::string and number by StrExpr to std::string_median 148 ns 146 ns 4
Concat std::string and number by StrExpr to std::string_stddev 2.46 ns 1.74 ns 4
Concat std::string and number by StrExpr to std::string_cv 1.66 % 1.18 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 68.5 ns 68.7 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 68.3 ns 68.4 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 0.583 ns 0.698 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 0.85 % 1.02 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 75.6 ns 75.4 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 75.2 ns 75.0 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 1.31 ns 2.19 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 1.74 % 2.91 % 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 714 ns 715 ns 4
Concat std::string and format hex number and literal to std::string_median 713 ns 724 ns 4
Concat std::string and format hex number and literal to std::string_stddev 13.3 ns 24.7 ns 4
Concat std::string and format hex number and literal to std::string_cv 1.86 % 3.45 % 4
std::format std::string and hex number by literal to std::string_mean 1483 ns 1483 ns 4
std::format std::string and hex number by literal to std::string_median 1475 ns 1475 ns 4
std::format std::string and hex number by literal to std::string_stddev 44.6 ns 47.1 ns 4
std::format std::string and hex number by literal to std::string_cv 3.01 % 3.17 % 4
Concat std::string and std::to_chars and string to std::string_mean 191 ns 190 ns 4
Concat std::string and std::to_chars and string to std::string_median 191 ns 190 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 2.18 ns 0.000 ns 4
Concat std::string and std::to_chars and string to std::string_cv 1.14 % 0.00 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 78.8 ns 78.9 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 79.0 ns 79.3 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 1.13 ns 1.67 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 1.43 % 2.12 % 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 74.3 ns 74.1 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 72.0 ns 72.4 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 5.99 ns 5.42 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 8.07 % 7.32 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 81.0 ns 80.7 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 81.0 ns 81.1 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 1.90 ns 1.67 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 2.34 % 2.07 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 149 ns 149 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 149 ns 149 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 1.77 ns 1.81 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 1.18 % 1.22 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 305 ns 305 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 305 ns 305 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 19.2 ns 19.5 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 6.29 % 6.40 % 4
----- format/vformat and subst/vsubst octal number ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
"art "_ss + i / 0x8a010_fmt + " end"_mean 108 ns 108 ns 4
"art "_ss + i / 0x8a010_fmt + " end"_median 108 ns 107 ns 4
"art "_ss + i / 0x8a010_fmt + " end"_stddev 6.17 ns 7.01 ns 4
"art "_ss + i / 0x8a010_fmt + " end"_cv 5.70 % 6.49 % 4
e_subst("art {} end", i / 0x8a010_fmt)_mean 188 ns 189 ns 4
e_subst("art {} end", i / 0x8a010_fmt)_median 182 ns 181 ns 4
e_subst("art {} end", i / 0x8a010_fmt)_stddev 23.9 ns 23.5 ns 4
e_subst("art {} end", i / 0x8a010_fmt)_cv 12.66 % 12.45 % 4
e_vsubst(pattern, i / 0x8a010_fmt)_mean 315 ns 317 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_median 316 ns 318 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 9.05 ns 13.1 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_cv 2.87 % 4.14 % 4
std::format("art {:#010o} end", i)_mean 1364 ns 1365 ns 4
std::format("art {:#010o} end", i)_median 1366 ns 1365 ns 4
std::format("art {:#010o} end", i)_stddev 22.3 ns 18.1 ns 4
std::format("art {:#010o} end", i)_cv 1.64 % 1.33 % 4
std::vformat(pattern, std::make_format_args(i))_mean 1391 ns 1395 ns 4
std::vformat(pattern, std::make_format_args(i))_median 1394 ns 1395 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 33.8 ns 22.8 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 2.43 % 1.63 % 4
strm << "art 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 6488 ns 6487 ns 4
strm << "art 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 6488 ns 6557 ns 4
strm << "art 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 88.7 ns 140 ns 4
strm << "art 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 1.37 % 2.15 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 41.1 ns 41.0 ns 4
Concat std::string by std to std::string_median 39.3 ns 39.4 ns 4
Concat std::string by std to std::string_stddev 5.33 ns 4.93 ns 4
Concat std::string by std to std::string_cv 12.95 % 12.02 % 4
Concat std::string by StrExpr to std::string_mean 38.6 ns 38.7 ns 4
Concat std::string by StrExpr to std::string_median 38.7 ns 38.5 ns 4
Concat std::string by StrExpr to std::string_stddev 0.438 ns 0.419 ns 4
Concat std::string by StrExpr to std::string_cv 1.13 % 1.08 % 4
Concat stringa by StrExpr to stringa_mean 29.2 ns 29.2 ns 4
Concat stringa by StrExpr to stringa_median 28.5 ns 28.8 ns 4
Concat stringa by StrExpr to stringa_stddev 1.89 ns 1.95 ns 4
Concat stringa by StrExpr to stringa_cv 6.47 % 6.69 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 205 ns 206 ns 4
Find concat three std::string_median 204 ns 205 ns 4
Find concat three std::string_stddev 4.81 ns 6.28 ns 4
Find concat three std::string_cv 2.34 % 3.05 % 4
Find concat three strexpr_mean 120 ns 121 ns 4
Find concat three strexpr_median 121 ns 121 ns 4
Find concat three strexpr_stddev 5.11 ns 5.81 ns 4
Find concat three strexpr_cv 4.25 % 4.81 % 4
Find concat three simstr_mean 29.1 ns 29.1 ns 4
Find concat three simstr_median 28.4 ns 28.3 ns 4
Find concat three simstr_stddev 1.93 ns 2.00 ns 4
Find concat three simstr_cv 6.62 % 6.88 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 8.48 ns 8.44 ns 4
BuildTypeNameStr 0/0_median 8.38 ns 8.44 ns 4
BuildTypeNameStr 0/0_stddev 0.326 ns 0.299 ns 4
BuildTypeNameStr 0/0_cv 3.85 % 3.54 % 4
BuildTypeNameExp 0/0_mean 7.67 ns 7.63 ns 4
BuildTypeNameExp 0/0_median 7.68 ns 7.67 ns 4
BuildTypeNameExp 0/0_stddev 0.145 ns 0.219 ns 4
BuildTypeNameExp 0/0_cv 1.90 % 2.88 % 4
BuildTypeNameSim 0/0_mean 7.67 ns 7.67 ns 4
BuildTypeNameSim 0/0_median 7.68 ns 7.67 ns 4
BuildTypeNameSim 0/0_stddev 0.127 ns 0.201 ns 4
BuildTypeNameSim 0/0_cv 1.65 % 2.62 % 4
BuildTypeNameStr 10/10_mean 60.0 ns 60.0 ns 4
BuildTypeNameStr 10/10_median 58.5 ns 58.6 ns 4
BuildTypeNameStr 10/10_stddev 3.03 ns 2.79 ns 4
BuildTypeNameStr 10/10_cv 5.06 % 4.65 % 4
BuildTypeNameExp 10/10_mean 32.4 ns 32.4 ns 4
BuildTypeNameExp 10/10_median 32.6 ns 32.1 ns 4
BuildTypeNameExp 10/10_stddev 0.546 ns 0.698 ns 4
BuildTypeNameExp 10/10_cv 1.68 % 2.15 % 4
BuildTypeNameSim 10/10_mean 24.9 ns 24.9 ns 4
BuildTypeNameSim 10/10_median 24.8 ns 24.6 ns 4
BuildTypeNameSim 10/10_stddev 0.355 ns 0.523 ns 4
BuildTypeNameSim 10/10_cv 1.43 % 2.11 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 314 ns 314 ns 4
Concat with replace str_median 306 ns 304 ns 4
Concat with replace str_stddev 24.1 ns 25.6 ns 4
Concat with replace str_cv 7.68 % 8.16 % 4
Concat with replace exp_mean 213 ns 212 ns 4
Concat with replace exp_median 213 ns 212 ns 4
Concat with replace exp_stddev 3.03 ns 2.82 ns 4
Concat with replace exp_cv 1.42 % 1.33 % 4
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.12 ns 1.12 ns 4
std::string e;_median 1.11 ns 1.11 ns 4
std::string e;_stddev 0.046 ns 0.023 ns 4
std::string e;_cv 4.08 % 2.09 % 4
std::string_view e;_mean 0.378 ns 0.377 ns 4
std::string_view e;_median 0.378 ns 0.377 ns 4
std::string_view e;_stddev 0.019 ns 0.019 ns 4
std::string_view e;_cv 5.06 % 4.91 % 4
ssa e;_mean 0.377 ns 0.376 ns 4
ssa e;_median 0.374 ns 0.372 ns 4
ssa e;_stddev 0.017 ns 0.011 ns 4
ssa e;_cv 4.43 % 2.89 % 4
stringa e;_mean 0.734 ns 0.732 ns 4
stringa e;_median 0.724 ns 0.724 ns 4
stringa e;_stddev 0.036 ns 0.038 ns 4
stringa e;_cv 4.93 % 5.14 % 4
lstringa<20> e;_mean 1.09 ns 1.09 ns 4
lstringa<20> e;_median 1.10 ns 1.10 ns 4
lstringa<20> e;_stddev 0.009 ns 0.012 ns 4
lstringa<20> e;_cv 0.80 % 1.12 % 4
lstringa<40> e;_mean 1.07 ns 1.07 ns 4
lstringa<40> e;_median 1.07 ns 1.07 ns 4
lstringa<40> e;_stddev 0.007 ns 0.010 ns 4
lstringa<40> e;_cv 0.64 % 0.98 % 4
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 1.80 ns 1.80 ns 4
std::string e = "Test text";_median 1.80 ns 1.80 ns 4
std::string e = "Test text";_stddev 0.020 ns 0.031 ns 4
std::string e = "Test text";_cv 1.14 % 1.74 % 4
std::string_view e = "Test text";_mean 0.723 ns 0.724 ns 4
std::string_view e = "Test text";_median 0.725 ns 0.724 ns 4
std::string_view e = "Test text";_stddev 0.005 ns 0.010 ns 4
std::string_view e = "Test text";_cv 0.74 % 1.39 % 4
ssa e = "Test text";_mean 0.364 ns 0.362 ns 4
ssa e = "Test text";_median 0.360 ns 0.360 ns 4
ssa e = "Test text";_stddev 0.010 ns 0.011 ns 4
ssa e = "Test text";_cv 2.75 % 2.91 % 4
stringa e = "Test text";_mean 1.09 ns 1.09 ns 4
stringa e = "Test text";_median 1.10 ns 1.09 ns 4
stringa e = "Test text";_stddev 0.026 ns 0.023 ns 4
stringa e = "Test text";_cv 2.36 % 2.14 % 4
lstringa<20> e = "Test text";_mean 1.80 ns 1.79 ns 4
lstringa<20> e = "Test text";_median 1.79 ns 1.80 ns 4
lstringa<20> e = "Test text";_stddev 0.025 ns 0.019 ns 4
lstringa<20> e = "Test text";_cv 1.41 % 1.07 % 4
lstringa<40> e = "Test text";_mean 1.82 ns 1.82 ns 4
lstringa<40> e = "Test text";_median 1.82 ns 1.82 ns 4
lstringa<40> e = "Test text";_stddev 0.022 ns 0.022 ns 4
lstringa<40> e = "Test text";_cv 1.21 % 1.22 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 71.3 ns 71.1 ns 4
std::string e = "123456789012345678901234567890";_median 71.0 ns 70.1 ns 4
std::string e = "123456789012345678901234567890";_stddev 1.76 ns 2.96 ns 4
std::string e = "123456789012345678901234567890";_cv 2.47 % 4.16 % 4
std::string_view e = "123456789012345678901234567890";_mean 0.722 ns 0.715 ns 4
std::string_view e = "123456789012345678901234567890";_median 0.721 ns 0.715 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.012 ns 0.000 ns 4
std::string_view e = "123456789012345678901234567890";_cv 1.67 % 0.00 % 4
ssa e = "123456789012345678901234567890";_mean 0.373 ns 0.364 ns 4
ssa e = "123456789012345678901234567890";_median 0.371 ns 0.361 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.017 ns 0.013 ns 4
ssa e = "123456789012345678901234567890";_cv 4.47 % 3.65 % 4
stringa e = "123456789012345678901234567890";_mean 1.10 ns 1.10 ns 4
stringa e = "123456789012345678901234567890";_median 1.11 ns 1.10 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.008 ns 0.016 ns 4
stringa e = "123456789012345678901234567890";_cv 0.72 % 1.46 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 71.0 ns 71.1 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 71.1 ns 71.1 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 0.903 ns 1.14 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 1.27 % 1.60 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 2.51 ns 2.51 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 2.51 ns 2.49 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.019 ns 0.030 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 0.77 % 1.18 % 4
----- Create copy of Str with 9 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text"; auto c{e};_mean 2.01 ns 2.01 ns 4
std::string e = "Test text"; auto c{e};_median 2.00 ns 2.01 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.221 ns 0.223 ns 4
std::string e = "Test text"; auto c{e};_cv 10.98 % 11.05 % 4
std::string_view e = "Test text"; auto c{e};_mean 0.383 ns 0.381 ns 4
std::string_view e = "Test text"; auto c{e};_median 0.382 ns 0.379 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.016 ns 0.022 ns 4
std::string_view e = "Test text"; auto c{e};_cv 4.26 % 5.71 % 4
ssa e = "Test text"; auto c{e};_mean 0.373 ns 0.374 ns 4
ssa e = "Test text"; auto c{e};_median 0.370 ns 0.372 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.008 ns 0.011 ns 4
ssa e = "Test text"; auto c{e};_cv 2.27 % 3.05 % 4
stringa e = "Test text"; auto c{e};_mean 1.34 ns 1.34 ns 4
stringa e = "Test text"; auto c{e};_median 1.31 ns 1.31 ns 4
stringa e = "Test text"; auto c{e};_stddev 0.101 ns 0.097 ns 4
stringa e = "Test text"; auto c{e};_cv 7.50 % 7.22 % 4
lstringa<20> e = "Test text"; auto c{e};_mean 5.05 ns 5.04 ns 4
lstringa<20> e = "Test text"; auto c{e};_median 5.05 ns 5.00 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.035 ns 0.078 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 0.69 % 1.55 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 5.12 ns 5.12 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 5.14 ns 5.08 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.114 ns 0.150 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 2.23 % 2.92 % 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 71.5 ns 71.1 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 71.3 ns 70.6 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 1.39 ns 1.67 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 1.95 % 2.35 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.719 ns 0.722 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.722 ns 0.725 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.008 ns 0.007 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.16 % 0.97 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.365 ns 0.365 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.360 ns 0.361 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.010 ns 0.008 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_cv 2.74 % 2.20 % 4
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.83 ns 1.83 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.84 ns 1.84 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.028 ns 0.021 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 1.53 % 1.14 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 71.3 ns 71.5 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 71.5 ns 71.5 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 1.12 ns 1.42 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 1.57 % 1.99 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.74 ns 4.77 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.71 ns 4.69 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.162 ns 0.156 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 3.42 % 3.28 % 4
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 39.1 ns 39.0 ns 4
std::string::find;_median 39.2 ns 39.0 ns 4
std::string::find;_stddev 0.285 ns 0.740 ns 4
std::string::find;_cv 0.73 % 1.90 % 4
std::string_view::find;_mean 38.7 ns 38.7 ns 4
std::string_view::find;_median 38.4 ns 38.5 ns 4
std::string_view::find;_stddev 0.812 ns 1.05 ns 4
std::string_view::find;_cv 2.10 % 2.72 % 4
ssa::find;_mean 17.4 ns 17.4 ns 4
ssa::find;_median 17.4 ns 17.4 ns 4
ssa::find;_stddev 0.293 ns 0.540 ns 4
ssa::find;_cv 1.68 % 3.11 % 4
stringa::find;_mean 18.4 ns 18.4 ns 4
stringa::find;_median 18.5 ns 18.4 ns 4
stringa::find;_stddev 0.338 ns 0.342 ns 4
stringa::find;_cv 1.83 % 1.86 % 4
lstringa<20>::find;_mean 17.4 ns 17.3 ns 4
lstringa<20>::find;_median 17.3 ns 17.3 ns 4
lstringa<20>::find;_stddev 0.486 ns 0.282 ns 4
lstringa<20>::find;_cv 2.80 % 1.63 % 4
lstringa<40>::find;_mean 17.5 ns 17.5 ns 4
lstringa<40>::find;_median 17.5 ns 17.6 ns 4
lstringa<40>::find;_stddev 0.167 ns 0.209 ns 4
lstringa<40>::find;_cv 0.96 % 1.20 % 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 1.84 ns 1.83 ns 4
std::string copy{str_with_len_N};/15_median 1.80 ns 1.80 ns 4
std::string copy{str_with_len_N};/15_stddev 0.092 ns 0.093 ns 4
std::string copy{str_with_len_N};/15_cv 4.98 % 5.07 % 4
std::string copy{str_with_len_N};/16_mean 76.4 ns 76.3 ns 4
std::string copy{str_with_len_N};/16_median 76.8 ns 76.7 ns 4
std::string copy{str_with_len_N};/16_stddev 1.21 ns 0.872 ns 4
std::string copy{str_with_len_N};/16_cv 1.59 % 1.14 % 4
std::string copy{str_with_len_N};/23_mean 75.4 ns 75.0 ns 4
std::string copy{str_with_len_N};/23_median 75.1 ns 75.0 ns 4
std::string copy{str_with_len_N};/23_stddev 0.921 ns 1.42 ns 4
std::string copy{str_with_len_N};/23_cv 1.22 % 1.90 % 4
std::string copy{str_with_len_N};/24_mean 75.1 ns 75.3 ns 4
std::string copy{str_with_len_N};/24_median 75.2 ns 76.0 ns 4
std::string copy{str_with_len_N};/24_stddev 1.24 ns 1.97 ns 4
std::string copy{str_with_len_N};/24_cv 1.66 % 2.62 % 4
std::string copy{str_with_len_N};/32_mean 81.4 ns 81.6 ns 4
std::string copy{str_with_len_N};/32_median 81.4 ns 81.6 ns 4
std::string copy{str_with_len_N};/32_stddev 1.19 ns 1.71 ns 4
std::string copy{str_with_len_N};/32_cv 1.46 % 2.09 % 4
std::string copy{str_with_len_N};/64_mean 81.7 ns 81.5 ns 4
std::string copy{str_with_len_N};/64_median 81.5 ns 81.1 ns 4
std::string copy{str_with_len_N};/64_stddev 1.28 ns 1.67 ns 4
std::string copy{str_with_len_N};/64_cv 1.57 % 2.05 % 4
std::string copy{str_with_len_N};/128_mean 84.3 ns 84.1 ns 4
std::string copy{str_with_len_N};/128_median 84.2 ns 83.7 ns 4
std::string copy{str_with_len_N};/128_stddev 2.87 ns 2.62 ns 4
std::string copy{str_with_len_N};/128_cv 3.40 % 3.11 % 4
std::string copy{str_with_len_N};/256_mean 83.9 ns 83.7 ns 4
std::string copy{str_with_len_N};/256_median 83.8 ns 83.7 ns 4
std::string copy{str_with_len_N};/256_stddev 0.612 ns 1.42 ns 4
std::string copy{str_with_len_N};/256_cv 0.73 % 1.70 % 4
std::string copy{str_with_len_N};/512_mean 88.5 ns 87.9 ns 4
std::string copy{str_with_len_N};/512_median 88.4 ns 87.9 ns 4
std::string copy{str_with_len_N};/512_stddev 3.37 ns 3.82 ns 4
std::string copy{str_with_len_N};/512_cv 3.80 % 4.35 % 4
std::string copy{str_with_len_N};/1024_mean 91.4 ns 91.6 ns 4
std::string copy{str_with_len_N};/1024_median 89.5 ns 88.9 ns 4
std::string copy{str_with_len_N};/1024_stddev 5.26 ns 5.23 ns 4
std::string copy{str_with_len_N};/1024_cv 5.75 % 5.71 % 4
std::string copy{str_with_len_N};/2048_mean 128 ns 128 ns 4
std::string copy{str_with_len_N};/2048_median 128 ns 129 ns 4
std::string copy{str_with_len_N};/2048_stddev 1.59 ns 1.57 ns 4
std::string copy{str_with_len_N};/2048_cv 1.24 % 1.23 % 4
std::string copy{str_with_len_N};/4096_mean 178 ns 177 ns 4
std::string copy{str_with_len_N};/4096_median 179 ns 176 ns 4
std::string copy{str_with_len_N};/4096_stddev 2.75 ns 1.92 ns 4
std::string copy{str_with_len_N};/4096_cv 1.55 % 1.08 % 4
stringa copy{str_with_len_N};/15_mean 1.33 ns 1.32 ns 4
stringa copy{str_with_len_N};/15_median 1.29 ns 1.27 ns 4
stringa copy{str_with_len_N};/15_stddev 0.103 ns 0.108 ns 4
stringa copy{str_with_len_N};/15_cv 7.72 % 8.17 % 4
stringa copy{str_with_len_N};/16_mean 1.28 ns 1.28 ns 4
stringa copy{str_with_len_N};/16_median 1.26 ns 1.26 ns 4
stringa copy{str_with_len_N};/16_stddev 0.061 ns 0.056 ns 4
stringa copy{str_with_len_N};/16_cv 4.76 % 4.35 % 4
stringa copy{str_with_len_N};/23_mean 1.27 ns 1.26 ns 4
stringa copy{str_with_len_N};/23_median 1.28 ns 1.26 ns 4
stringa copy{str_with_len_N};/23_stddev 0.023 ns 0.023 ns 4
stringa copy{str_with_len_N};/23_cv 1.80 % 1.81 % 4
stringa copy{str_with_len_N};/24_mean 15.8 ns 15.8 ns 4
stringa copy{str_with_len_N};/24_median 15.8 ns 15.7 ns 4
stringa copy{str_with_len_N};/24_stddev 0.076 ns 0.174 ns 4
stringa copy{str_with_len_N};/24_cv 0.48 % 1.10 % 4
stringa copy{str_with_len_N};/32_mean 15.8 ns 15.8 ns 4
stringa copy{str_with_len_N};/32_median 15.8 ns 15.7 ns 4
stringa copy{str_with_len_N};/32_stddev 0.068 ns 0.174 ns 4
stringa copy{str_with_len_N};/32_cv 0.43 % 1.10 % 4
stringa copy{str_with_len_N};/64_mean 16.0 ns 15.9 ns 4
stringa copy{str_with_len_N};/64_median 16.0 ns 15.9 ns 4
stringa copy{str_with_len_N};/64_stddev 0.080 ns 0.222 ns 4
stringa copy{str_with_len_N};/64_cv 0.50 % 1.39 % 4
stringa copy{str_with_len_N};/128_mean 16.0 ns 16.1 ns 4
stringa copy{str_with_len_N};/128_median 16.0 ns 16.1 ns 4
stringa copy{str_with_len_N};/128_stddev 0.185 ns 0.000 ns 4
stringa copy{str_with_len_N};/128_cv 1.16 % 0.00 % 4
stringa copy{str_with_len_N};/256_mean 16.0 ns 15.9 ns 4
stringa copy{str_with_len_N};/256_median 15.8 ns 15.7 ns 4
stringa copy{str_with_len_N};/256_stddev 0.535 ns 0.665 ns 4
stringa copy{str_with_len_N};/256_cv 3.35 % 4.17 % 4
stringa copy{str_with_len_N};/512_mean 15.8 ns 15.7 ns 4
stringa copy{str_with_len_N};/512_median 15.8 ns 15.7 ns 4
stringa copy{str_with_len_N};/512_stddev 0.067 ns 0.000 ns 4
stringa copy{str_with_len_N};/512_cv 0.43 % 0.00 % 4
stringa copy{str_with_len_N};/1024_mean 15.8 ns 15.8 ns 4
stringa copy{str_with_len_N};/1024_median 15.8 ns 15.7 ns 4
stringa copy{str_with_len_N};/1024_stddev 0.193 ns 0.174 ns 4
stringa copy{str_with_len_N};/1024_cv 1.22 % 1.10 % 4
stringa copy{str_with_len_N};/2048_mean 15.9 ns 16.0 ns 4
stringa copy{str_with_len_N};/2048_median 15.9 ns 16.0 ns 4
stringa copy{str_with_len_N};/2048_stddev 0.204 ns 0.174 ns 4
stringa copy{str_with_len_N};/2048_cv 1.28 % 1.09 % 4
stringa copy{str_with_len_N};/4096_mean 15.7 ns 15.8 ns 4
stringa copy{str_with_len_N};/4096_median 15.8 ns 15.7 ns 4
stringa copy{str_with_len_N};/4096_stddev 0.028 ns 0.174 ns 4
stringa copy{str_with_len_N};/4096_cv 0.18 % 1.10 % 4
lstringa<16> copy{str_with_len_N};/15_mean 5.10 ns 5.12 ns 4
lstringa<16> copy{str_with_len_N};/15_median 5.10 ns 5.16 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.045 ns 0.078 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 0.88 % 1.53 % 4
lstringa<16> copy{str_with_len_N};/16_mean 5.71 ns 5.70 ns 4
lstringa<16> copy{str_with_len_N};/16_median 5.70 ns 5.70 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.390 ns 0.372 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 6.84 % 6.52 % 4
lstringa<16> copy{str_with_len_N};/23_mean 5.81 ns 5.82 ns 4
lstringa<16> copy{str_with_len_N};/23_median 5.94 ns 5.93 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 0.393 ns 0.367 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 6.77 % 6.30 % 4
lstringa<16> copy{str_with_len_N};/24_mean 84.0 ns 84.1 ns 4
lstringa<16> copy{str_with_len_N};/24_median 82.1 ns 82.0 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 5.87 ns 5.58 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 6.98 % 6.64 % 4
lstringa<16> copy{str_with_len_N};/32_mean 84.7 ns 85.0 ns 4
lstringa<16> copy{str_with_len_N};/32_median 84.3 ns 84.6 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 2.38 ns 2.98 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 2.81 % 3.50 % 4
lstringa<16> copy{str_with_len_N};/64_mean 81.1 ns 81.1 ns 4
lstringa<16> copy{str_with_len_N};/64_median 81.2 ns 81.1 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 1.62 ns 1.01 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 1.99 % 1.24 % 4
lstringa<16> copy{str_with_len_N};/128_mean 85.1 ns 85.1 ns 4
lstringa<16> copy{str_with_len_N};/128_median 81.9 ns 82.3 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 7.11 ns 6.64 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 8.36 % 7.80 % 4
lstringa<16> copy{str_with_len_N};/256_mean 85.4 ns 85.3 ns 4
lstringa<16> copy{str_with_len_N};/256_median 85.7 ns 84.8 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 2.34 ns 2.00 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 2.74 % 2.35 % 4
lstringa<16> copy{str_with_len_N};/512_mean 88.6 ns 88.5 ns 4
lstringa<16> copy{str_with_len_N};/512_median 88.7 ns 88.9 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 1.86 ns 2.19 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 2.10 % 2.48 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 92.6 ns 92.9 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 92.8 ns 92.4 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 1.28 ns 0.872 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 1.38 % 0.94 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 132 ns 132 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 131 ns 131 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 3.67 ns 3.51 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 2.78 % 2.66 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 186 ns 185 ns 4
lstringa<16> copy{str_with_len_N};/4096_median 189 ns 188 ns 4
lstringa<16> copy{str_with_len_N};/4096_stddev 5.96 ns 5.75 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 3.20 % 3.11 % 4
lstringa<512> copy{str_with_len_N};/15_mean 5.06 ns 5.04 ns 4
lstringa<512> copy{str_with_len_N};/15_median 5.07 ns 5.00 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.035 ns 0.078 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 0.69 % 1.55 % 4
lstringa<512> copy{str_with_len_N};/16_mean 5.16 ns 5.16 ns 4
lstringa<512> copy{str_with_len_N};/16_median 5.10 ns 5.00 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.212 ns 0.312 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 4.10 % 6.06 % 4
lstringa<512> copy{str_with_len_N};/23_mean 5.01 ns 5.04 ns 4
lstringa<512> copy{str_with_len_N};/23_median 5.01 ns 5.00 ns 4
lstringa<512> copy{str_with_len_N};/23_stddev 0.091 ns 0.078 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 1.81 % 1.55 % 4
lstringa<512> copy{str_with_len_N};/24_mean 5.10 ns 5.12 ns 4
lstringa<512> copy{str_with_len_N};/24_median 5.09 ns 5.08 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 0.083 ns 0.150 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 1.63 % 2.92 % 4
lstringa<512> copy{str_with_len_N};/32_mean 8.45 ns 8.41 ns 4
lstringa<512> copy{str_with_len_N};/32_median 8.16 ns 8.11 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.822 ns 0.798 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 9.74 % 9.48 % 4
lstringa<512> copy{str_with_len_N};/64_mean 8.13 ns 8.15 ns 4
lstringa<512> copy{str_with_len_N};/64_median 7.97 ns 7.93 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 0.441 ns 0.501 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 5.42 % 6.14 % 4
lstringa<512> copy{str_with_len_N};/128_mean 9.99 ns 9.98 ns 4
lstringa<512> copy{str_with_len_N};/128_median 9.80 ns 9.77 ns 4
lstringa<512> copy{str_with_len_N};/128_stddev 0.547 ns 0.576 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 5.47 % 5.77 % 4
lstringa<512> copy{str_with_len_N};/256_mean 9.93 ns 9.94 ns 4
lstringa<512> copy{str_with_len_N};/256_median 9.72 ns 9.84 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 0.644 ns 0.554 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 6.49 % 5.57 % 4
lstringa<512> copy{str_with_len_N};/512_mean 10.8 ns 10.7 ns 4
lstringa<512> copy{str_with_len_N};/512_median 10.8 ns 10.7 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 0.072 ns 0.199 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 0.66 % 1.86 % 4
lstringa<512> copy{str_with_len_N};/1024_mean 93.7 ns 94.2 ns 4
lstringa<512> copy{str_with_len_N};/1024_median 93.3 ns 94.2 ns 4
lstringa<512> copy{str_with_len_N};/1024_stddev 3.80 ns 4.50 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 4.06 % 4.78 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 124 ns 124 ns 4
lstringa<512> copy{str_with_len_N};/2048_median 125 ns 124 ns 4
lstringa<512> copy{str_with_len_N};/2048_stddev 4.13 ns 4.83 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 3.33 % 3.89 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 187 ns 186 ns 4
lstringa<512> copy{str_with_len_N};/4096_median 187 ns 186 ns 4
lstringa<512> copy{str_with_len_N};/4096_stddev 5.20 ns 5.40 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 2.79 % 2.90 % 4
----- Convert to int '1234567' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_mean 31.2 ns 31.3 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 30.9 ns 31.1 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.671 ns 0.834 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 2.15 % 2.66 % 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 13.4 ns 13.5 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 13.5 ns 13.5 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.118 ns 0.267 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 0.88 % 1.98 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 14.0 ns 14.0 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 14.0 ns 14.0 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.273 ns 0.405 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.95 % 2.90 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.0 ns 12.8 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.9 ns 12.7 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.150 ns 0.395 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.16 % 3.07 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.1 ns 13.1 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.0 ns 13.1 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.257 ns 0.228 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.96 % 1.74 % 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 33.4 ns 33.3 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 33.2 ns 33.0 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.712 ns 0.732 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 2.14 % 2.20 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 8.21 ns 8.21 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 8.22 ns 8.27 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.113 ns 0.200 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 1.37 % 2.44 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.3 ns 12.3 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.3 ns 12.3 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.376 ns 0.315 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.06 % 2.56 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 11.7 ns 11.7 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 11.7 ns 11.7 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.057 ns 0.000 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.49 % 0.00 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 11.8 ns 11.7 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 11.8 ns 11.9 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.078 ns 0.395 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.66 % 3.37 % 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 43.3 ns 43.2 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 43.6 ns 43.5 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.992 ns 0.935 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 2.29 % 2.16 % 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 17.7 ns 17.6 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 17.7 ns 17.6 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.430 ns 0.443 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 2.43 % 2.51 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 16.7 ns 16.7 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 16.7 ns 16.9 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.433 ns 0.384 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 2.59 % 2.30 % 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 101 ns 101 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 101 ns 101 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 2.12 ns 2.34 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 2.10 % 2.32 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 61.4 ns 61.5 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 61.2 ns 61.9 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 1.46 ns 1.67 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 2.37 % 2.72 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 35.2 ns 34.9 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_median 35.1 ns 34.5 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.645 ns 0.802 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 1.83 % 2.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 4811 ns 4810 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 4826 ns 4834 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 143 ns 167 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 2.98 % 3.47 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 1092 ns 1093 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 1095 ns 1099 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 21.7 ns 20.0 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 1.99 % 1.83 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 739 ns 739 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 737 ns 739 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 9.89 ns 11.4 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 1.34 % 1.54 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 381 ns 379 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 378 ns 375 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 13.8 ns 16.7 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 3.63 % 4.40 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 230 ns 230 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 228 ns 229 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 13.7 ns 15.9 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 5.97 % 6.90 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 136 ns 137 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 136 ns 137 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 1.41 ns 1.81 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 1.04 % 1.33 % 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 4701 ns 4678 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 4726 ns 4703 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 199 ns 209 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 4.23 % 4.46 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 3729 ns 3728 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 3726 ns 3706 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 77.9 ns 83.5 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 2.09 % 2.24 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 711 ns 706 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 713 ns 706 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 13.7 ns 22.5 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.93 % 3.19 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 450 ns 449 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 449 ns 449 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 10.7 ns 7.97 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.37 % 1.77 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 302 ns 302 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 301 ns 302 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 5.45 ns 3.83 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.81 % 1.27 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 209 ns 209 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 210 ns 209 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 1.78 ns 0.000 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 0.85 % 0.00 % 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 226339 ns 225830 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 225516 ns 224609 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 2799 ns 2441 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.24 % 1.08 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 196248 ns 195679 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 190589 ns 190447 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 13733 ns 15043 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 7.00 % 7.69 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18586 ns 18625 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18560 ns 18625 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 298 ns 242 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.61 % 1.30 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16639 ns 16593 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16604 ns 16497 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 189 ns 192 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.13 % 1.16 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16065 ns 16044 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16115 ns 16044 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 348 ns 285 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.17 % 1.77 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16783 ns 16741 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16245 ns 16218 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1355 ns 1424 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 8.08 % 8.51 % 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 4316 ns 4296 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 4327 ns 4296 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 70.9 ns 55.7 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 1.64 % 1.30 % 4
std::string str; ... str += str_var1 + str_var2;_mean 3897 ns 3880 ns 4
std::string str; ... str += str_var1 + str_var2;_median 3882 ns 3836 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 75.9 ns 87.2 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 1.95 % 2.25 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 796 ns 798 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 796 ns 802 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 13.0 ns 21.9 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 1.63 % 2.75 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 516 ns 520 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 518 ns 523 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 8.07 ns 15.0 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 1.56 % 2.88 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 389 ns 389 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 380 ns 381 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 24.6 ns 26.0 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_cv 6.33 % 6.69 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 287 ns 287 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 283 ns 286 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 15.7 ns 17.3 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 5.48 % 6.02 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 11483 ns 11457 ns 4
std::stringstream str; str << "test = " << k << " times";_median 10983 ns 10986 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 1410 ns 1415 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 12.28 % 12.35 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 1108 ns 1099 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 1093 ns 1074 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 93.1 ns 93.5 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 8.40 % 8.51 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2766 ns 2767 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2753 ns 2750 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 84.6 ns 63.4 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 3.06 % 2.29 % 4
std::string str = std::format("test = {} times", k);_mean 1868 ns 1873 ns 4
std::string str = std::format("test = {} times", k);_median 1869 ns 1883 ns 4
std::string str = std::format("test = {} times", k);_stddev 9.71 ns 20.9 ns 4
std::string str = std::format("test = {} times", k);_cv 0.52 % 1.12 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 2065 ns 2040 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 2044 ns 2018 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 48.4 ns 64.1 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 2.35 % 3.14 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 1014 ns 1007 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 1017 ns 1001 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 12.7 ns 12.2 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 1.26 % 1.21 % 4
lstringa<8> str = "test = " + k + " times";_mean 803 ns 802 ns 4
lstringa<8> str = "test = " + k + " times";_median 806 ns 802 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 5.56 ns 0.000 ns 4
lstringa<8> str = "test = " + k + " times";_cv 0.69 % 0.00 % 4
lstringa<32> str = "test = " + k + " times";_mean 155 ns 156 ns 4
lstringa<32> str = "test = " + k + " times";_median 155 ns 155 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 2.91 ns 3.01 ns 4
lstringa<32> str = "test = " + k + " times";_cv 1.87 % 1.92 % 4
stringa str = "test = " + k + " times";_mean 151 ns 151 ns 4
stringa str = "test = " + k + " times";_median 150 ns 150 ns 4
stringa str = "test = " + k + " times";_stddev 2.11 ns 1.74 ns 4
stringa str = "test = " + k + " times";_cv 1.40 % 1.16 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 557 ns 559 ns 4
std::string::find + substr + std::strtol_median 559 ns 562 ns 4
std::string::find + substr + std::strtol_stddev 20.4 ns 23.4 ns 4
std::string::find + substr + std::strtol_cv 3.66 % 4.20 % 4
ssa::splitter + ssa::as_int_mean 163 ns 162 ns 4
ssa::splitter + ssa::as_int_median 163 ns 161 ns 4
ssa::splitter + ssa::as_int_stddev 3.52 ns 4.01 ns 4
ssa::splitter + ssa::as_int_cv 2.16 % 2.47 % 4
ssa::splitf + functor_mean 187 ns 186 ns 4
ssa::splitf + functor_median 187 ns 184 ns 4
ssa::splitf + functor_stddev 4.73 ns 4.19 ns 4
ssa::splitf + functor_cv 2.52 % 2.25 % 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 1151 ns 1151 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 1147 ns 1158 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 30.0 ns 26.7 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 2.60 % 2.32 % 4
replace symbols with std::string find_first_of + replace_mean 2019 ns 2006 ns 4
replace symbols with std::string find_first_of + replace_median 2017 ns 2018 ns 4
replace symbols with std::string find_first_of + replace_stddev 17.4 ns 43.4 ns 4
replace symbols with std::string find_first_of + replace_cv 0.86 % 2.16 % 4
replace symbols with std::string_view find_first_of + copy_mean 2391 ns 2393 ns 4
replace symbols with std::string_view find_first_of + copy_median 2348 ns 2344 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 100.0 ns 97.7 ns 4
replace symbols with std::string_view find_first_of + copy_cv 4.18 % 4.08 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 1462 ns 1465 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 1469 ns 1465 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 31.5 ns 28.5 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 2.15 % 1.94 % 4
replace runtime symbols with simstr and memorization of all search results_mean 1359 ns 1360 ns 4
replace runtime symbols with simstr and memorization of all search results_median 1365 ns 1367 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 48.3 ns 57.5 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 3.56 % 4.23 % 4
replace const symbols with string expressions and without remembering all search results_mean 1231 ns 1235 ns 4
replace const symbols with string expressions and without remembering all search results_median 1231 ns 1242 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 8.58 ns 26.7 ns 4
replace const symbols with string expressions and without remembering all search results_cv 0.70 % 2.16 % 4
replace const symbols with string expressions and memorization of all search results_mean 1178 ns 1178 ns 4
replace const symbols with string expressions and memorization of all search results_median 1170 ns 1172 ns 4
replace const symbols with string expressions and memorization of all search results_stddev 62.5 ns 72.9 ns 4
replace const symbols with string expressions and memorization of all search results_cv 5.30 % 6.19 % 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 344 ns 341 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 335 ns 333 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 40.6 ns 38.5 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 11.80 % 11.28 % 4
Short replace symbols with std::string find_first_of + replace_mean 401 ns 401 ns 4
Short replace symbols with std::string find_first_of + replace_median 393 ns 394 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 37.2 ns 39.4 ns 4
Short replace symbols with std::string find_first_of + replace_cv 9.27 % 9.83 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 326 ns 326 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 321 ns 322 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 15.2 ns 14.7 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 4.66 % 4.51 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 267 ns 268 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 267 ns 268 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 2.37 ns 0.000 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 0.89 % 0.00 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 356 ns 356 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 358 ns 360 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 7.52 ns 8.37 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 2.11 % 2.35 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 217 ns 216 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 216 ns 214 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 6.10 ns 7.85 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 2.81 % 3.64 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 303 ns 300 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 308 ns 303 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 10.9 ns 9.86 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 3.58 % 3.29 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 226 ns 226 ns 4
replace bb to ---- in std::string|64_median 227 ns 227 ns 4
replace bb to ---- in std::string|64_stddev 5.27 ns 4.67 ns 4
replace bb to ---- in std::string|64_cv 2.33 % 2.07 % 4
replace bb to ---- in std::string|256_mean 793 ns 793 ns 4
replace bb to ---- in std::string|256_median 751 ns 750 ns 4
replace bb to ---- in std::string|256_stddev 89.4 ns 87.2 ns 4
replace bb to ---- in std::string|256_cv 11.27 % 10.99 % 4
replace bb to ---- in std::string|512_mean 1453 ns 1452 ns 4
replace bb to ---- in std::string|512_median 1436 ns 1444 ns 4
replace bb to ---- in std::string|512_stddev 46.9 ns 39.5 ns 4
replace bb to ---- in std::string|512_cv 3.23 % 2.72 % 4
replace bb to ---- in std::string|1024_mean 3359 ns 3346 ns 4
replace bb to ---- in std::string|1024_median 3407 ns 3380 ns 4
replace bb to ---- in std::string|1024_stddev 192 ns 175 ns 4
replace bb to ---- in std::string|1024_cv 5.73 % 5.24 % 4
replace bb to ---- in std::string|2048_mean 7816 ns 7804 ns 4
replace bb to ---- in std::string|2048_median 7813 ns 7847 ns 4
replace bb to ---- in std::string|2048_stddev 65.5 ns 87.2 ns 4
replace bb to ---- in std::string|2048_cv 0.84 % 1.12 % 4
replace bb to ---- in lstringa<8>|64_mean 224 ns 225 ns 4
replace bb to ---- in lstringa<8>|64_median 222 ns 220 ns 4
replace bb to ---- in lstringa<8>|64_stddev 7.93 ns 9.77 ns 4
replace bb to ---- in lstringa<8>|64_cv 3.54 % 4.35 % 4
replace bb to ---- in lstringa<8>|256_mean 614 ns 614 ns 4
replace bb to ---- in lstringa<8>|256_median 616 ns 614 ns 4
replace bb to ---- in lstringa<8>|256_stddev 7.18 ns 11.4 ns 4
replace bb to ---- in lstringa<8>|256_cv 1.17 % 1.86 % 4
replace bb to ---- in lstringa<8>|512_mean 1070 ns 1068 ns 4
replace bb to ---- in lstringa<8>|512_median 1072 ns 1074 ns 4
replace bb to ---- in lstringa<8>|512_stddev 33.2 ns 30.7 ns 4
replace bb to ---- in lstringa<8>|512_cv 3.11 % 2.88 % 4
replace bb to ---- in lstringa<8>|1024_mean 1874 ns 1862 ns 4
replace bb to ---- in lstringa<8>|1024_median 1881 ns 1862 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 38.3 ns 24.2 ns 4
replace bb to ---- in lstringa<8>|1024_cv 2.04 % 1.30 % 4
replace bb to ---- in lstringa<8>|2048_mean 3872 ns 3870 ns 4
replace bb to ---- in lstringa<8>|2048_median 3763 ns 3730 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 427 ns 426 ns 4
replace bb to ---- in lstringa<8>|2048_cv 11.02 % 11.02 % 4
replace bb to ---- by init stringa|64_mean 185 ns 185 ns 4
replace bb to ---- by init stringa|64_median 186 ns 186 ns 4
replace bb to ---- by init stringa|64_stddev 13.9 ns 11.9 ns 4
replace bb to ---- by init stringa|64_cv 7.47 % 6.45 % 4
replace bb to ---- by init stringa|256_mean 369 ns 366 ns 4
replace bb to ---- by init stringa|256_median 369 ns 364 ns 4
replace bb to ---- by init stringa|256_stddev 4.10 ns 8.01 ns 4
replace bb to ---- by init stringa|256_cv 1.11 % 2.19 % 4
replace bb to ---- by init stringa|512_mean 796 ns 793 ns 4
replace bb to ---- by init stringa|512_median 787 ns 793 ns 4
replace bb to ---- by init stringa|512_stddev 29.1 ns 22.5 ns 4
replace bb to ---- by init stringa|512_cv 3.66 % 2.84 % 4
replace bb to ---- by init stringa|1024_mean 1684 ns 1683 ns 4
replace bb to ---- by init stringa|1024_median 1672 ns 1657 ns 4
replace bb to ---- by init stringa|1024_stddev 90.5 ns 91.7 ns 4
replace bb to ---- by init stringa|1024_cv 5.37 % 5.45 % 4
replace bb to ---- by init stringa|2048_mean 3149 ns 3156 ns 4
replace bb to ---- by init stringa|2048_median 3133 ns 3139 ns 4
replace bb to ---- by init stringa|2048_stddev 93.8 ns 87.8 ns 4
replace bb to ---- by init stringa|2048_cv 2.98 % 2.78 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 197 ns 197 ns 4
replace bb to -- in std::string|64_median 191 ns 191 ns 4
replace bb to -- in std::string|64_stddev 12.9 ns 15.0 ns 4
replace bb to -- in std::string|64_cv 6.56 % 7.61 % 4
replace bb to -- in std::string|256_mean 496 ns 495 ns 4
replace bb to -- in std::string|256_median 486 ns 488 ns 4
replace bb to -- in std::string|256_stddev 28.0 ns 24.2 ns 4
replace bb to -- in std::string|256_cv 5.65 % 4.88 % 4
replace bb to -- in std::string|512_mean 849 ns 848 ns 4
replace bb to -- in std::string|512_median 850 ns 848 ns 4
replace bb to -- in std::string|512_stddev 10.3 ns 12.1 ns 4
replace bb to -- in std::string|512_cv 1.22 % 1.43 % 4
replace bb to -- in std::string|1024_mean 1966 ns 1972 ns 4
replace bb to -- in std::string|1024_median 1983 ns 1995 ns 4
replace bb to -- in std::string|1024_stddev 80.2 ns 86.8 ns 4
replace bb to -- in std::string|1024_cv 4.08 % 4.40 % 4
replace bb to -- in std::string|2048_mean 3153 ns 3149 ns 4
replace bb to -- in std::string|2048_median 3093 ns 3113 ns 4
replace bb to -- in std::string|2048_stddev 125 ns 104 ns 4
replace bb to -- in std::string|2048_cv 3.97 % 3.29 % 4
replace bb to -- in lstringa<8>|64_mean 179 ns 178 ns 4
replace bb to -- in lstringa<8>|64_median 178 ns 176 ns 4
replace bb to -- in lstringa<8>|64_stddev 2.78 ns 4.19 ns 4
replace bb to -- in lstringa<8>|64_cv 1.56 % 2.35 % 4
replace bb to -- in lstringa<8>|256_mean 446 ns 444 ns 4
replace bb to -- in lstringa<8>|256_median 446 ns 444 ns 4
replace bb to -- in lstringa<8>|256_stddev 18.1 ns 20.3 ns 4
replace bb to -- in lstringa<8>|256_cv 4.05 % 4.58 % 4
replace bb to -- in lstringa<8>|512_mean 748 ns 746 ns 4
replace bb to -- in lstringa<8>|512_median 748 ns 741 ns 4
replace bb to -- in lstringa<8>|512_stddev 16.3 ns 16.7 ns 4
replace bb to -- in lstringa<8>|512_cv 2.18 % 2.24 % 4
replace bb to -- in lstringa<8>|1024_mean 1392 ns 1395 ns 4
replace bb to -- in lstringa<8>|1024_median 1367 ns 1381 ns 4
replace bb to -- in lstringa<8>|1024_stddev 70.7 ns 60.3 ns 4
replace bb to -- in lstringa<8>|1024_cv 5.08 % 4.32 % 4
replace bb to -- in lstringa<8>|2048_mean 2687 ns 2684 ns 4
replace bb to -- in lstringa<8>|2048_median 2688 ns 2668 ns 4
replace bb to -- in lstringa<8>|2048_stddev 64.9 ns 60.1 ns 4
replace bb to -- in lstringa<8>|2048_cv 2.41 % 2.24 % 4
replace bb to -- by init stringa|64_mean 161 ns 161 ns 4
replace bb to -- by init stringa|64_median 161 ns 162 ns 4
replace bb to -- by init stringa|64_stddev 4.49 ns 5.96 ns 4
replace bb to -- by init stringa|64_cv 2.79 % 3.69 % 4
replace bb to -- by init stringa|256_mean 360 ns 359 ns 4
replace bb to -- by init stringa|256_median 360 ns 357 ns 4
replace bb to -- by init stringa|256_stddev 5.37 ns 7.68 ns 4
replace bb to -- by init stringa|256_cv 1.49 % 2.14 % 4
replace bb to -- by init stringa|512_mean 596 ns 596 ns 4
replace bb to -- by init stringa|512_median 595 ns 593 ns 4
replace bb to -- by init stringa|512_stddev 5.42 ns 13.4 ns 4
replace bb to -- by init stringa|512_cv 0.91 % 2.24 % 4
replace bb to -- by init stringa|1024_mean 1072 ns 1072 ns 4
replace bb to -- by init stringa|1024_median 1066 ns 1067 ns 4
replace bb to -- by init stringa|1024_stddev 18.5 ns 31.4 ns 4
replace bb to -- by init stringa|1024_cv 1.72 % 2.93 % 4
replace bb to -- by init stringa|2048_mean 2037 ns 2040 ns 4
replace bb to -- by init stringa|2048_median 2031 ns 2030 ns 4
replace bb to -- by init stringa|2048_stddev 44.3 ns 40.1 ns 4
replace bb to -- by init stringa|2048_cv 2.18 % 1.96 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3949761 ns 3968917 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 3949255 ns 3968917 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 80959 ns 107871 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 2.05 % 2.72 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5604257 ns 5625000 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5546210 ns 5546875 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 225236 ns 220971 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 4.02 % 3.93 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 3501051 ns 3504136 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 3492655 ns 3523284 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 88845 ns 96378 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 2.54 % 2.75 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6433478 ns 6406250 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6397733 ns 6328125 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 386916 ns 382733 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 6.01 % 5.97 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 1714 ns 1717 ns 4
Build func full name std::string;_median 1631 ns 1631 ns 4
Build func full name std::string;_stddev 223 ns 213 ns 4
Build func full name std::string;_cv 13.01 % 12.43 % 4
Build func full name std::string 1;_mean 1657 ns 1653 ns 4
Build func full name std::string 1;_median 1626 ns 1611 ns 4
Build func full name std::string 1;_stddev 119 ns 130 ns 4
Build func full name std::string 1;_cv 7.16 % 7.87 % 4
Build func full name std::stream;_mean 8196 ns 8240 ns 4
Build func full name std::stream;_median 8292 ns 8283 ns 4
Build func full name std::stream;_stddev 237 ns 298 ns 4
Build func full name std::stream;_cv 2.89 % 3.61 % 4
Build func full name stringa;_mean 814 ns 815 ns 4
Build func full name stringa;_median 814 ns 820 ns 4
Build func full name stringa;_stddev 15.2 ns 8.72 ns 4
Build func full name stringa;_cv 1.87 % 1.07 % 4
Build func full name stringa 1;_mean 962 ns 963 ns 4
Build func full name stringa 1;_median 943 ns 952 ns 4
Build func full name stringa 1;_stddev 42.5 ns 45.2 ns 4
Build func full name stringa 1;_cv 4.42 % 4.70 % 4