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

938 lines
139 KiB
Plaintext

Benchmarks of simstr, version 1.6.5
Sources: https://github.com/orefkov/simstr
Results: https://orefkov.github.io/simstr/results.html
2026-02-08T13:25:12+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 324 ns 321 ns 4
Concat std::string and number by std to std::string_median 321 ns 321 ns 4
Concat std::string and number by std to std::string_stddev 6.59 ns 5.70 ns 4
Concat std::string and number by std to std::string_cv 2.04 % 1.77 % 4
Concat std::string and number by StrExpr to std::string_mean 213 ns 212 ns 4
Concat std::string and number by StrExpr to std::string_median 213 ns 212 ns 4
Concat std::string and number by StrExpr to std::string_stddev 3.74 ns 6.30 ns 4
Concat std::string and number by StrExpr to std::string_cv 1.76 % 2.97 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 107 ns 106 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 107 ns 106 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 2.34 ns 1.41 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 2.20 % 1.33 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 119 ns 119 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 119 ns 119 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 2.79 ns 3.60 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 2.35 % 3.04 % 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 1041 ns 1038 ns 4
Concat std::string and format hex number and literal to std::string_median 1042 ns 1038 ns 4
Concat std::string and format hex number and literal to std::string_stddev 34.7 ns 31.5 ns 4
Concat std::string and format hex number and literal to std::string_cv 3.33 % 3.04 % 4
std::format std::string and hex number by literal to std::string_mean 1901 ns 1909 ns 4
std::format std::string and hex number by literal to std::string_median 1864 ns 1861 ns 4
std::format std::string and hex number by literal to std::string_stddev 126 ns 138 ns 4
std::format std::string and hex number by literal to std::string_cv 6.63 % 7.22 % 4
Concat std::string and std::to_chars and string to std::string_mean 255 ns 255 ns 4
Concat std::string and std::to_chars and string to std::string_median 256 ns 255 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 3.26 ns 4.84 ns 4
Concat std::string and std::to_chars and string to std::string_cv 1.28 % 1.90 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 118 ns 118 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 119 ns 117 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 3.68 ns 3.66 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 3.11 % 3.11 % 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 101 ns 101 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 101 ns 101 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 2.37 ns 2.34 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 2.34 % 2.32 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 105 ns 105 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 105 ns 105 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 1.24 ns 1.99 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 1.19 % 1.90 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 174 ns 173 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 174 ns 171 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 5.28 ns 5.43 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 3.03 % 3.14 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 357 ns 358 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 357 ns 360 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 3.12 ns 4.19 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 0.87 % 1.17 % 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 695 ns 689 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 694 ns 689 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 8.69 ns 10.1 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 1.25 % 1.46 % 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 817 ns 811 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 816 ns 820 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 19.3 ns 17.4 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 2.37 % 2.15 % 4
e_vsubst(pattern, i / 0x8a010_fmt)_mean 1144 ns 1147 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_median 1146 ns 1147 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 20.7 ns 28.2 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_cv 1.81 % 2.46 % 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 1570 ns 1561 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 1560 ns 1552 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 61.2 ns 59.6 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 3.90 % 3.82 % 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 1473 ns 1467 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 1472 ns 1475 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 47.2 ns 39.5 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 3.21 % 2.69 % 4
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 1941 ns 1927 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_median 1948 ns 1927 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 44.1 ns 26.2 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 2.27 % 1.36 % 4
std::vformat(pattern, std::make_format_args(i))_mean 1947 ns 1946 ns 4
std::vformat(pattern, std::make_format_args(i))_median 1937 ns 1946 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 39.5 ns 54.0 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 2.03 % 2.78 % 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 7402 ns 7394 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 7368 ns 7394 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 212 ns 114 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 2.87 % 1.54 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 55.5 ns 55.5 ns 4
Concat std::string by std to std::string_median 55.2 ns 55.1 ns 4
Concat std::string by std to std::string_stddev 1.16 ns 1.34 ns 4
Concat std::string by std to std::string_cv 2.09 % 2.41 % 4
Concat std::string by StrExpr to std::string_mean 82.4 ns 81.5 ns 4
Concat std::string by StrExpr to std::string_median 82.1 ns 82.0 ns 4
Concat std::string by StrExpr to std::string_stddev 1.74 ns 2.19 ns 4
Concat std::string by StrExpr to std::string_cv 2.12 % 2.69 % 4
Concat stringa by StrExpr to stringa_mean 53.5 ns 53.1 ns 4
Concat stringa by StrExpr to stringa_median 53.0 ns 53.1 ns 4
Concat stringa by StrExpr to stringa_stddev 1.15 ns 1.28 ns 4
Concat stringa by StrExpr to stringa_cv 2.15 % 2.40 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 229 ns 228 ns 4
Find concat three std::string_median 229 ns 227 ns 4
Find concat three std::string_stddev 4.66 ns 2.27 ns 4
Find concat three std::string_cv 2.04 % 1.00 % 4
Find concat three strexpr_mean 122 ns 122 ns 4
Find concat three strexpr_median 122 ns 121 ns 4
Find concat three strexpr_stddev 2.19 ns 2.67 ns 4
Find concat three strexpr_cv 1.80 % 2.19 % 4
Find concat three simstr_mean 28.7 ns 28.5 ns 4
Find concat three simstr_median 28.7 ns 28.5 ns 4
Find concat three simstr_stddev 0.452 ns 0.541 ns 4
Find concat three simstr_cv 1.58 % 1.90 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 17.4 ns 17.4 ns 4
BuildTypeNameStr 0/0_median 17.5 ns 17.4 ns 4
BuildTypeNameStr 0/0_stddev 0.656 ns 0.540 ns 4
BuildTypeNameStr 0/0_cv 3.77 % 3.11 % 4
BuildTypeNameExp 0/0_mean 12.9 ns 12.8 ns 4
BuildTypeNameExp 0/0_median 12.9 ns 12.8 ns 4
BuildTypeNameExp 0/0_stddev 0.298 ns 0.322 ns 4
BuildTypeNameExp 0/0_cv 2.31 % 2.51 % 4
BuildTypeNameSim 0/0_mean 15.3 ns 15.3 ns 4
BuildTypeNameSim 0/0_median 15.3 ns 15.3 ns 4
BuildTypeNameSim 0/0_stddev 0.239 ns 0.000 ns 4
BuildTypeNameSim 0/0_cv 1.56 % 0.00 % 4
BuildTypeNameStr 10/10_mean 79.9 ns 79.8 ns 4
BuildTypeNameStr 10/10_median 80.0 ns 80.2 ns 4
BuildTypeNameStr 10/10_stddev 1.45 ns 2.19 ns 4
BuildTypeNameStr 10/10_cv 1.81 % 2.75 % 4
BuildTypeNameExp 10/10_mean 39.2 ns 39.2 ns 4
BuildTypeNameExp 10/10_median 39.3 ns 39.4 ns 4
BuildTypeNameExp 10/10_stddev 0.492 ns 0.868 ns 4
BuildTypeNameExp 10/10_cv 1.26 % 2.21 % 4
BuildTypeNameSim 10/10_mean 36.5 ns 36.6 ns 4
BuildTypeNameSim 10/10_median 36.5 ns 36.6 ns 4
BuildTypeNameSim 10/10_stddev 0.999 ns 0.712 ns 4
BuildTypeNameSim 10/10_cv 2.74 % 1.94 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 343 ns 343 ns 4
Concat with replace str_median 340 ns 341 ns 4
Concat with replace str_stddev 12.3 ns 13.7 ns 4
Concat with replace str_cv 3.60 % 3.99 % 4
Concat with replace exp_mean 219 ns 220 ns 4
Concat with replace exp_median 218 ns 220 ns 4
Concat with replace exp_stddev 5.57 ns 8.54 ns 4
Concat with replace exp_cv 2.54 % 3.89 % 4
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 2.61 ns 2.59 ns 4
std::string e;_median 2.60 ns 2.61 ns 4
std::string e;_stddev 0.038 ns 0.030 ns 4
std::string e;_cv 1.46 % 1.14 % 4
std::string_view e;_mean 1.87 ns 1.87 ns 4
std::string_view e;_median 1.87 ns 1.86 ns 4
std::string_view e;_stddev 0.042 ns 0.040 ns 4
std::string_view e;_cv 2.24 % 2.14 % 4
ssa e;_mean 1.83 ns 1.83 ns 4
ssa e;_median 1.84 ns 1.82 ns 4
ssa e;_stddev 0.024 ns 0.040 ns 4
ssa e;_cv 1.32 % 2.19 % 4
stringa e;_mean 2.23 ns 2.24 ns 4
stringa e;_median 2.23 ns 2.25 ns 4
stringa e;_stddev 0.061 ns 0.066 ns 4
stringa e;_cv 2.75 % 2.94 % 4
lstringa<20> e;_mean 2.62 ns 2.61 ns 4
lstringa<20> e;_median 2.62 ns 2.64 ns 4
lstringa<20> e;_stddev 0.058 ns 0.084 ns 4
lstringa<20> e;_cv 2.20 % 3.21 % 4
lstringa<40> e;_mean 2.58 ns 2.58 ns 4
lstringa<40> e;_median 2.58 ns 2.58 ns 4
lstringa<40> e;_stddev 0.018 ns 0.034 ns 4
lstringa<40> e;_cv 0.71 % 1.33 % 4
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 2.60 ns 2.58 ns 4
std::string e = "Test text";_median 2.61 ns 2.58 ns 4
std::string e = "Test text";_stddev 0.040 ns 0.034 ns 4
std::string e = "Test text";_cv 1.53 % 1.33 % 4
std::string_view e = "Test text";_mean 1.85 ns 1.84 ns 4
std::string_view e = "Test text";_median 1.85 ns 1.84 ns 4
std::string_view e = "Test text";_stddev 0.021 ns 0.034 ns 4
std::string_view e = "Test text";_cv 1.12 % 1.86 % 4
ssa e = "Test text";_mean 1.85 ns 1.82 ns 4
ssa e = "Test text";_median 1.85 ns 1.82 ns 4
ssa e = "Test text";_stddev 0.020 ns 0.054 ns 4
ssa e = "Test text";_cv 1.10 % 2.97 % 4
stringa e = "Test text";_mean 2.55 ns 2.55 ns 4
stringa e = "Test text";_median 2.53 ns 2.55 ns 4
stringa e = "Test text";_stddev 0.048 ns 0.048 ns 4
stringa e = "Test text";_cv 1.90 % 1.90 % 4
lstringa<20> e = "Test text";_mean 2.66 ns 2.65 ns 4
lstringa<20> e = "Test text";_median 2.67 ns 2.67 ns 4
lstringa<20> e = "Test text";_stddev 0.055 ns 0.089 ns 4
lstringa<20> e = "Test text";_cv 2.07 % 3.35 % 4
lstringa<40> e = "Test text";_mean 2.55 ns 2.55 ns 4
lstringa<40> e = "Test text";_median 2.55 ns 2.57 ns 4
lstringa<40> e = "Test text";_stddev 0.033 ns 0.028 ns 4
lstringa<40> e = "Test text";_cv 1.31 % 1.09 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 76.9 ns 76.7 ns 4
std::string e = "123456789012345678901234567890";_median 76.3 ns 75.9 ns 4
std::string e = "123456789012345678901234567890";_stddev 2.05 ns 2.47 ns 4
std::string e = "123456789012345678901234567890";_cv 2.67 % 3.21 % 4
std::string_view e = "123456789012345678901234567890";_mean 1.84 ns 1.83 ns 4
std::string_view e = "123456789012345678901234567890";_median 1.85 ns 1.82 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.035 ns 0.040 ns 4
std::string_view e = "123456789012345678901234567890";_cv 1.88 % 2.19 % 4
ssa e = "123456789012345678901234567890";_mean 1.83 ns 1.82 ns 4
ssa e = "123456789012345678901234567890";_median 1.82 ns 1.82 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.040 ns 0.022 ns 4
ssa e = "123456789012345678901234567890";_cv 2.18 % 1.22 % 4
stringa e = "123456789012345678901234567890";_mean 2.89 ns 2.89 ns 4
stringa e = "123456789012345678901234567890";_median 2.88 ns 2.89 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.057 ns 0.051 ns 4
stringa e = "123456789012345678901234567890";_cv 1.96 % 1.77 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 75.7 ns 75.4 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 74.9 ns 75.0 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 2.05 ns 2.62 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 2.70 % 3.47 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 3.32 ns 3.31 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 3.31 ns 3.30 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.031 ns 0.037 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 0.94 % 1.10 % 4
----- Create copy of Str with 9 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text"; auto c{e};_mean 5.13 ns 5.12 ns 4
std::string e = "Test text"; auto c{e};_median 5.14 ns 5.16 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.056 ns 0.078 ns 4
std::string e = "Test text"; auto c{e};_cv 1.08 % 1.53 % 4
std::string_view e = "Test text"; auto c{e};_mean 3.81 ns 3.81 ns 4
std::string_view e = "Test text"; auto c{e};_median 3.81 ns 3.81 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.018 ns 0.048 ns 4
std::string_view e = "Test text"; auto c{e};_cv 0.47 % 1.27 % 4
ssa e = "Test text"; auto c{e};_mean 3.83 ns 3.83 ns 4
ssa e = "Test text"; auto c{e};_median 3.84 ns 3.85 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.020 ns 0.042 ns 4
ssa e = "Test text"; auto c{e};_cv 0.51 % 1.09 % 4
stringa e = "Test text"; auto c{e};_mean 4.07 ns 4.06 ns 4
stringa e = "Test text"; auto c{e};_median 4.05 ns 4.04 ns 4
stringa e = "Test text"; auto c{e};_stddev 0.080 ns 0.087 ns 4
stringa e = "Test text"; auto c{e};_cv 1.97 % 2.14 % 4
lstringa<20> e = "Test text"; auto c{e};_mean 7.68 ns 7.67 ns 4
lstringa<20> e = "Test text"; auto c{e};_median 7.69 ns 7.67 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.130 ns 0.142 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 1.69 % 1.86 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 8.13 ns 8.11 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 8.12 ns 8.11 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.038 ns 0.101 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 0.46 % 1.24 % 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 79.2 ns 78.5 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 78.7 ns 78.5 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 2.87 ns 2.01 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 3.63 % 2.57 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 1.83 ns 1.83 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 1.83 ns 1.84 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.023 ns 0.021 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.23 % 1.14 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 1.84 ns 1.83 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 1.84 ns 1.84 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.016 ns 0.021 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_cv 0.89 % 1.14 % 4
stringa e = "123456789012345678901234567890"; auto c{e};_mean 3.01 ns 3.00 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_median 3.02 ns 3.02 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.071 ns 0.063 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 2.38 % 2.12 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 81.2 ns 80.7 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 80.7 ns 80.2 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 2.37 ns 2.19 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.92 % 2.72 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 7.05 ns 7.05 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 7.05 ns 7.05 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.078 ns 0.081 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 1.11 % 1.14 % 4
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 41.8 ns 41.7 ns 4
std::string::find;_median 41.7 ns 41.4 ns 4
std::string::find;_stddev 1.01 ns 1.18 ns 4
std::string::find;_cv 2.41 % 2.84 % 4
std::string_view::find;_mean 39.8 ns 39.7 ns 4
std::string_view::find;_median 39.7 ns 39.7 ns 4
std::string_view::find;_stddev 0.859 ns 0.503 ns 4
std::string_view::find;_cv 2.16 % 1.27 % 4
ssa::find;_mean 22.1 ns 22.1 ns 4
ssa::find;_median 22.1 ns 22.2 ns 4
ssa::find;_stddev 0.391 ns 0.227 ns 4
ssa::find;_cv 1.77 % 1.03 % 4
stringa::find;_mean 30.6 ns 30.5 ns 4
stringa::find;_median 30.6 ns 30.5 ns 4
stringa::find;_stddev 1.42 ns 1.21 ns 4
stringa::find;_cv 4.64 % 3.97 % 4
lstringa<20>::find;_mean 22.0 ns 22.0 ns 4
lstringa<20>::find;_median 22.0 ns 22.0 ns 4
lstringa<20>::find;_stddev 0.394 ns 0.399 ns 4
lstringa<20>::find;_cv 1.79 % 1.81 % 4
lstringa<40>::find;_mean 20.9 ns 20.9 ns 4
lstringa<40>::find;_median 20.9 ns 20.6 ns 4
lstringa<40>::find;_stddev 0.572 ns 0.641 ns 4
lstringa<40>::find;_cv 2.73 % 3.07 % 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 4.46 ns 4.47 ns 4
std::string copy{str_with_len_N};/15_median 4.46 ns 4.47 ns 4
std::string copy{str_with_len_N};/15_stddev 0.090 ns 0.054 ns 4
std::string copy{str_with_len_N};/15_cv 2.01 % 1.22 % 4
std::string copy{str_with_len_N};/16_mean 84.6 ns 84.2 ns 4
std::string copy{str_with_len_N};/16_median 84.7 ns 84.8 ns 4
std::string copy{str_with_len_N};/16_stddev 1.40 ns 2.00 ns 4
std::string copy{str_with_len_N};/16_cv 1.65 % 2.38 % 4
std::string copy{str_with_len_N};/23_mean 86.8 ns 86.3 ns 4
std::string copy{str_with_len_N};/23_median 86.5 ns 85.8 ns 4
std::string copy{str_with_len_N};/23_stddev 1.35 ns 1.05 ns 4
std::string copy{str_with_len_N};/23_cv 1.56 % 1.21 % 4
std::string copy{str_with_len_N};/24_mean 86.0 ns 85.0 ns 4
std::string copy{str_with_len_N};/24_median 86.0 ns 84.6 ns 4
std::string copy{str_with_len_N};/24_stddev 2.06 ns 2.98 ns 4
std::string copy{str_with_len_N};/24_cv 2.40 % 3.50 % 4
std::string copy{str_with_len_N};/32_mean 89.2 ns 87.4 ns 4
std::string copy{str_with_len_N};/32_median 88.3 ns 86.8 ns 4
std::string copy{str_with_len_N};/32_stddev 3.79 ns 2.00 ns 4
std::string copy{str_with_len_N};/32_cv 4.25 % 2.29 % 4
std::string copy{str_with_len_N};/64_mean 86.3 ns 85.8 ns 4
std::string copy{str_with_len_N};/64_median 85.4 ns 84.8 ns 4
std::string copy{str_with_len_N};/64_stddev 2.17 ns 2.96 ns 4
std::string copy{str_with_len_N};/64_cv 2.52 % 3.45 % 4
std::string copy{str_with_len_N};/128_mean 90.5 ns 89.7 ns 4
std::string copy{str_with_len_N};/128_median 89.8 ns 87.9 ns 4
std::string copy{str_with_len_N};/128_stddev 4.39 ns 5.41 ns 4
std::string copy{str_with_len_N};/128_cv 4.85 % 6.03 % 4
std::string copy{str_with_len_N};/256_mean 93.4 ns 92.1 ns 4
std::string copy{str_with_len_N};/256_median 93.4 ns 92.1 ns 4
std::string copy{str_with_len_N};/256_stddev 1.57 ns 1.71 ns 4
std::string copy{str_with_len_N};/256_cv 1.69 % 1.86 % 4
std::string copy{str_with_len_N};/512_mean 94.6 ns 94.7 ns 4
std::string copy{str_with_len_N};/512_median 94.6 ns 94.2 ns 4
std::string copy{str_with_len_N};/512_stddev 1.17 ns 1.05 ns 4
std::string copy{str_with_len_N};/512_cv 1.24 % 1.10 % 4
std::string copy{str_with_len_N};/1024_mean 103 ns 102 ns 4
std::string copy{str_with_len_N};/1024_median 105 ns 103 ns 4
std::string copy{str_with_len_N};/1024_stddev 4.25 ns 3.14 ns 4
std::string copy{str_with_len_N};/1024_cv 4.11 % 3.08 % 4
std::string copy{str_with_len_N};/2048_mean 139 ns 137 ns 4
std::string copy{str_with_len_N};/2048_median 135 ns 133 ns 4
std::string copy{str_with_len_N};/2048_stddev 9.60 ns 11.3 ns 4
std::string copy{str_with_len_N};/2048_cv 6.93 % 8.21 % 4
std::string copy{str_with_len_N};/4096_mean 184 ns 182 ns 4
std::string copy{str_with_len_N};/4096_median 183 ns 182 ns 4
std::string copy{str_with_len_N};/4096_stddev 5.82 ns 5.40 ns 4
std::string copy{str_with_len_N};/4096_cv 3.17 % 2.97 % 4
stringa copy{str_with_len_N};/15_mean 4.06 ns 4.01 ns 4
stringa copy{str_with_len_N};/15_median 4.07 ns 3.99 ns 4
stringa copy{str_with_len_N};/15_stddev 0.057 ns 0.045 ns 4
stringa copy{str_with_len_N};/15_cv 1.40 % 1.13 % 4
stringa copy{str_with_len_N};/16_mean 4.06 ns 4.06 ns 4
stringa copy{str_with_len_N};/16_median 4.08 ns 4.08 ns 4
stringa copy{str_with_len_N};/16_stddev 0.064 ns 0.045 ns 4
stringa copy{str_with_len_N};/16_cv 1.57 % 1.12 % 4
stringa copy{str_with_len_N};/23_mean 4.06 ns 4.06 ns 4
stringa copy{str_with_len_N};/23_median 4.06 ns 4.08 ns 4
stringa copy{str_with_len_N};/23_stddev 0.056 ns 0.045 ns 4
stringa copy{str_with_len_N};/23_cv 1.38 % 1.12 % 4
stringa copy{str_with_len_N};/24_mean 18.9 ns 18.8 ns 4
stringa copy{str_with_len_N};/24_median 18.7 ns 18.6 ns 4
stringa copy{str_with_len_N};/24_stddev 0.590 ns 0.592 ns 4
stringa copy{str_with_len_N};/24_cv 3.12 % 3.14 % 4
stringa copy{str_with_len_N};/32_mean 19.3 ns 19.1 ns 4
stringa copy{str_with_len_N};/32_median 19.3 ns 19.3 ns 4
stringa copy{str_with_len_N};/32_stddev 0.288 ns 0.527 ns 4
stringa copy{str_with_len_N};/32_cv 1.50 % 2.75 % 4
stringa copy{str_with_len_N};/64_mean 18.7 ns 18.4 ns 4
stringa copy{str_with_len_N};/64_median 18.6 ns 18.4 ns 4
stringa copy{str_with_len_N};/64_stddev 0.215 ns 0.342 ns 4
stringa copy{str_with_len_N};/64_cv 1.15 % 1.86 % 4
stringa copy{str_with_len_N};/128_mean 18.6 ns 18.7 ns 4
stringa copy{str_with_len_N};/128_median 18.6 ns 18.8 ns 4
stringa copy{str_with_len_N};/128_stddev 0.099 ns 0.192 ns 4
stringa copy{str_with_len_N};/128_cv 0.53 % 1.03 % 4
stringa copy{str_with_len_N};/256_mean 19.2 ns 19.3 ns 4
stringa copy{str_with_len_N};/256_median 19.2 ns 19.3 ns 4
stringa copy{str_with_len_N};/256_stddev 0.659 ns 0.764 ns 4
stringa copy{str_with_len_N};/256_cv 3.43 % 3.97 % 4
stringa copy{str_with_len_N};/512_mean 19.0 ns 18.7 ns 4
stringa copy{str_with_len_N};/512_median 19.0 ns 18.6 ns 4
stringa copy{str_with_len_N};/512_stddev 0.148 ns 0.401 ns 4
stringa copy{str_with_len_N};/512_cv 0.78 % 2.14 % 4
stringa copy{str_with_len_N};/1024_mean 19.1 ns 19.0 ns 4
stringa copy{str_with_len_N};/1024_median 18.9 ns 18.8 ns 4
stringa copy{str_with_len_N};/1024_stddev 0.543 ns 0.725 ns 4
stringa copy{str_with_len_N};/1024_cv 2.85 % 3.81 % 4
stringa copy{str_with_len_N};/2048_mean 18.7 ns 18.7 ns 4
stringa copy{str_with_len_N};/2048_median 18.7 ns 18.8 ns 4
stringa copy{str_with_len_N};/2048_stddev 0.109 ns 0.209 ns 4
stringa copy{str_with_len_N};/2048_cv 0.58 % 1.12 % 4
stringa copy{str_with_len_N};/4096_mean 18.5 ns 18.5 ns 4
stringa copy{str_with_len_N};/4096_median 18.5 ns 18.6 ns 4
stringa copy{str_with_len_N};/4096_stddev 0.200 ns 0.227 ns 4
stringa copy{str_with_len_N};/4096_cv 1.08 % 1.23 % 4
lstringa<16> copy{str_with_len_N};/15_mean 7.52 ns 7.46 ns 4
lstringa<16> copy{str_with_len_N};/15_median 7.46 ns 7.50 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.194 ns 0.087 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 2.58 % 1.17 % 4
lstringa<16> copy{str_with_len_N};/16_mean 7.34 ns 7.32 ns 4
lstringa<16> copy{str_with_len_N};/16_median 7.30 ns 7.32 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.115 ns 0.142 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 1.57 % 1.94 % 4
lstringa<16> copy{str_with_len_N};/23_mean 7.58 ns 7.57 ns 4
lstringa<16> copy{str_with_len_N};/23_median 7.48 ns 7.53 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 0.274 ns 0.176 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 3.62 % 2.32 % 4
lstringa<16> copy{str_with_len_N};/24_mean 80.3 ns 79.5 ns 4
lstringa<16> copy{str_with_len_N};/24_median 80.6 ns 79.5 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 2.60 ns 2.42 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 3.24 % 3.04 % 4
lstringa<16> copy{str_with_len_N};/32_mean 83.1 ns 82.4 ns 4
lstringa<16> copy{str_with_len_N};/32_median 82.9 ns 82.8 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 0.949 ns 1.67 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 1.14 % 2.03 % 4
lstringa<16> copy{str_with_len_N};/64_mean 83.9 ns 83.7 ns 4
lstringa<16> copy{str_with_len_N};/64_median 84.0 ns 83.7 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 0.923 ns 1.42 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 1.10 % 1.70 % 4
lstringa<16> copy{str_with_len_N};/128_mean 86.0 ns 85.0 ns 4
lstringa<16> copy{str_with_len_N};/128_median 86.0 ns 84.6 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 0.788 ns 1.67 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 0.92 % 1.96 % 4
lstringa<16> copy{str_with_len_N};/256_mean 87.0 ns 86.8 ns 4
lstringa<16> copy{str_with_len_N};/256_median 86.4 ns 86.8 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 2.80 ns 2.70 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 3.22 % 3.11 % 4
lstringa<16> copy{str_with_len_N};/512_mean 89.9 ns 89.4 ns 4
lstringa<16> copy{str_with_len_N};/512_median 89.0 ns 88.9 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 1.81 ns 0.872 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 2.02 % 0.98 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 99.9 ns 98.9 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 99.1 ns 97.3 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 3.11 ns 3.96 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 3.11 % 4.01 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 130 ns 129 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 128 ns 127 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 7.32 ns 8.01 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 5.64 % 6.21 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 192 ns 191 ns 4
lstringa<16> copy{str_with_len_N};/4096_median 192 ns 192 ns 4
lstringa<16> copy{str_with_len_N};/4096_stddev 6.30 ns 4.83 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 3.29 % 2.53 % 4
lstringa<512> copy{str_with_len_N};/15_mean 8.58 ns 8.48 ns 4
lstringa<512> copy{str_with_len_N};/15_median 8.58 ns 8.48 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.106 ns 0.121 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 1.23 % 1.43 % 4
lstringa<512> copy{str_with_len_N};/16_mean 8.44 ns 8.46 ns 4
lstringa<512> copy{str_with_len_N};/16_median 8.42 ns 8.46 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.159 ns 0.101 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 1.89 % 1.19 % 4
lstringa<512> copy{str_with_len_N};/23_mean 8.61 ns 8.58 ns 4
lstringa<512> copy{str_with_len_N};/23_median 8.61 ns 8.58 ns 4
lstringa<512> copy{str_with_len_N};/23_stddev 0.307 ns 0.342 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 3.57 % 3.98 % 4
lstringa<512> copy{str_with_len_N};/24_mean 8.64 ns 8.58 ns 4
lstringa<512> copy{str_with_len_N};/24_median 8.61 ns 8.58 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 0.123 ns 0.000 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 1.43 % 0.00 % 4
lstringa<512> copy{str_with_len_N};/32_mean 11.6 ns 11.5 ns 4
lstringa<512> copy{str_with_len_N};/32_median 11.5 ns 11.5 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.293 ns 0.199 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 2.53 % 1.74 % 4
lstringa<512> copy{str_with_len_N};/64_mean 11.7 ns 11.5 ns 4
lstringa<512> copy{str_with_len_N};/64_median 11.7 ns 11.5 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 0.363 ns 0.307 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 3.11 % 2.66 % 4
lstringa<512> copy{str_with_len_N};/128_mean 12.2 ns 12.2 ns 4
lstringa<512> copy{str_with_len_N};/128_median 12.2 ns 12.1 ns 4
lstringa<512> copy{str_with_len_N};/128_stddev 0.248 ns 0.301 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 2.04 % 2.47 % 4
lstringa<512> copy{str_with_len_N};/256_mean 13.0 ns 12.7 ns 4
lstringa<512> copy{str_with_len_N};/256_median 12.9 ns 12.7 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 0.291 ns 0.181 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 2.24 % 1.43 % 4
lstringa<512> copy{str_with_len_N};/512_mean 14.7 ns 14.5 ns 4
lstringa<512> copy{str_with_len_N};/512_median 14.7 ns 14.6 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 0.180 ns 0.301 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 1.23 % 2.07 % 4
lstringa<512> copy{str_with_len_N};/1024_mean 96.6 ns 95.2 ns 4
lstringa<512> copy{str_with_len_N};/1024_median 95.0 ns 93.1 ns 4
lstringa<512> copy{str_with_len_N};/1024_stddev 4.47 ns 4.98 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 4.62 % 5.23 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 137 ns 135 ns 4
lstringa<512> copy{str_with_len_N};/2048_median 137 ns 135 ns 4
lstringa<512> copy{str_with_len_N};/2048_stddev 3.08 ns 2.56 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 2.25 % 1.90 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 195 ns 194 ns 4
lstringa<512> copy{str_with_len_N};/4096_median 195 ns 195 ns 4
lstringa<512> copy{str_with_len_N};/4096_stddev 5.47 ns 4.01 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 2.80 % 2.07 % 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 33.2 ns 33.1 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 33.3 ns 33.3 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.294 ns 0.701 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 0.89 % 2.12 % 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 14.0 ns 13.8 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 14.1 ns 13.8 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.190 ns 0.256 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 1.36 % 1.86 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 15.0 ns 15.1 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 15.1 ns 15.1 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.159 ns 0.256 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.06 % 1.70 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 15.4 ns 15.4 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 15.5 ns 15.5 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.387 ns 0.334 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.50 % 2.16 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 15.4 ns 15.3 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 15.4 ns 15.3 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.296 ns 0.403 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.92 % 2.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 37.1 ns 36.6 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 36.4 ns 36.8 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 1.79 ns 2.50 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 4.83 % 6.83 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 12.8 ns 12.8 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 12.8 ns 12.7 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.395 ns 0.395 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 3.08 % 3.07 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 13.9 ns 13.8 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 13.9 ns 13.8 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.319 ns 0.256 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.30 % 1.86 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.7 ns 12.6 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.6 ns 12.7 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.258 ns 0.267 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.03 % 2.12 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 14.1 ns 14.1 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 14.1 ns 14.1 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.518 ns 0.513 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.67 % 3.63 % 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 46.0 ns 45.4 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 46.2 ns 45.4 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 1.04 ns 0.564 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 2.27 % 1.24 % 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 21.8 ns 21.7 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 21.8 ns 21.7 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.405 ns 0.302 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 1.85 % 1.39 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 17.4 ns 17.3 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 17.4 ns 17.3 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.274 ns 0.000 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.58 % 0.00 % 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 102 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 1.73 ns 3.57 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 1.70 % 3.54 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 84.9 ns 83.7 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 84.1 ns 83.7 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 3.35 ns 3.42 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 3.95 % 4.08 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 37.1 ns 37.0 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_median 37.2 ns 37.2 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 1.13 ns 1.43 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 3.04 % 3.86 % 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 5731 ns 5720 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 5728 ns 5720 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 65.7 ns 114 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 1.15 % 1.99 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 1326 ns 1303 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 1327 ns 1318 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 25.4 ns 54.4 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 1.92 % 4.17 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 980 ns 973 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 967 ns 963 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 34.0 ns 36.2 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 3.47 % 3.72 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 538 ns 531 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 539 ns 531 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 7.71 ns 0.000 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 1.43 % 0.00 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 373 ns 374 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 371 ns 372 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 7.32 ns 7.35 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 1.97 % 1.96 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 249 ns 248 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 249 ns 248 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 3.04 ns 3.22 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 1.22 % 1.30 % 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 5544 ns 5547 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 5522 ns 5547 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 188 ns 202 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 3.39 % 3.64 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 4025 ns 3945 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 4020 ns 3945 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 69.1 ns 52.4 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 1.72 % 1.33 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 841 ns 841 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 844 ns 846 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 22.7 ns 29.8 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.69 % 3.54 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 548 ns 543 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 548 ns 539 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 16.8 ns 15.0 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.07 % 2.76 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 382 ns 384 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 383 ns 384 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 6.47 ns 10.1 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.69 % 2.62 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 270 ns 270 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 270 ns 270 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 4.62 ns 5.13 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.71 % 1.90 % 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 285142 ns 281621 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 284910 ns 281621 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 4291 ns 3826 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.50 % 1.36 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 198228 ns 198373 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 196112 ns 197240 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 8257 ns 7744 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.17 % 3.90 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 25031 ns 24833 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 24760 ns 24833 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 575 ns 322 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.30 % 1.30 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 22562 ns 22339 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 22535 ns 22461 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 155 ns 244 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 0.69 % 1.09 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 21974 ns 21973 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 21998 ns 21973 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 341 ns 564 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.55 % 2.57 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 21580 ns 21484 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 21487 ns 21240 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 722 ns 1055 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.35 % 4.91 % 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 5468 ns 5430 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 5478 ns 5391 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 244 ns 267 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 4.47 % 4.91 % 4
std::string str; ... str += str_var1 + str_var2;_mean 4027 ns 3990 ns 4
std::string str; ... str += str_var1 + str_var2;_median 4026 ns 3990 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 80.7 ns 74.0 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 2.01 % 1.86 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 916 ns 916 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 911 ns 910 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 16.7 ns 20.0 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 1.82 % 2.19 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 608 ns 607 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 608 ns 607 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 1.40 ns 8.05 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 0.23 % 1.33 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 467 ns 460 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 458 ns 460 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 20.7 ns 8.54 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_cv 4.43 % 1.86 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 342 ns 337 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 338 ns 337 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 11.3 ns 6.55 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 3.30 % 1.94 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 11644 ns 11440 ns 4
std::stringstream str; str << "test = " << k << " times";_median 11639 ns 11579 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 91.0 ns 395 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 0.78 % 3.45 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 1260 ns 1263 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 1262 ns 1270 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 14.0 ns 26.7 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 1.11 % 2.12 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2894 ns 2877 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2908 ns 2895 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 78.3 ns 66.8 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 2.71 % 2.32 % 4
std::string str = std::format("test = {} times", k);_mean 2408 ns 2393 ns 4
std::string str = std::format("test = {} times", k);_median 2411 ns 2407 ns 4
std::string str = std::format("test = {} times", k);_stddev 44.9 ns 65.8 ns 4
std::string str = std::format("test = {} times", k);_cv 1.87 % 2.75 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 2700 ns 2652 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 2702 ns 2637 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 30.9 ns 79.0 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 1.15 % 2.98 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 1546 ns 1554 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 1540 ns 1554 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 34.6 ns 40.5 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 2.24 % 2.61 % 4
lstringa<8> str = "test = " + k + " times";_mean 888 ns 884 ns 4
lstringa<8> str = "test = " + k + " times";_median 888 ns 879 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 12.5 ns 26.3 ns 4
lstringa<8> str = "test = " + k + " times";_cv 1.41 % 2.98 % 4
lstringa<32> str = "test = " + k + " times";_mean 187 ns 186 ns 4
lstringa<32> str = "test = " + k + " times";_median 188 ns 188 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 7.17 ns 7.25 ns 4
lstringa<32> str = "test = " + k + " times";_cv 3.83 % 3.89 % 4
stringa str = "test = " + k + " times";_mean 235 ns 235 ns 4
stringa str = "test = " + k + " times";_median 236 ns 235 ns 4
stringa str = "test = " + k + " times";_stddev 2.48 ns 4.27 ns 4
stringa str = "test = " + k + " times";_cv 1.05 % 1.81 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 547 ns 548 ns 4
std::string::find + substr + std::strtol_median 548 ns 544 ns 4
std::string::find + substr + std::strtol_stddev 4.03 ns 6.98 ns 4
std::string::find + substr + std::strtol_cv 0.74 % 1.27 % 4
ssa::splitter + ssa::as_int_mean 307 ns 304 ns 4
ssa::splitter + ssa::as_int_median 307 ns 304 ns 4
ssa::splitter + ssa::as_int_stddev 14.0 ns 13.1 ns 4
ssa::splitter + ssa::as_int_cv 4.56 % 4.29 % 4
ssa::splitf + functor_mean 218 ns 217 ns 4
ssa::splitf + functor_median 218 ns 215 ns 4
ssa::splitf + functor_stddev 5.02 ns 4.34 ns 4
ssa::splitf + functor_cv 2.30 % 2.01 % 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 1184 ns 1184 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 1179 ns 1172 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 19.8 ns 24.4 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 1.67 % 2.06 % 4
replace symbols with std::string find_first_of + replace_mean 2271 ns 2250 ns 4
replace symbols with std::string find_first_of + replace_median 2284 ns 2276 ns 4
replace symbols with std::string find_first_of + replace_stddev 125 ns 113 ns 4
replace symbols with std::string find_first_of + replace_cv 5.50 % 5.02 % 4
replace symbols with std::string_view find_first_of + copy_mean 2625 ns 2594 ns 4
replace symbols with std::string_view find_first_of + copy_median 2606 ns 2579 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 41.8 ns 101 ns 4
replace symbols with std::string_view find_first_of + copy_cv 1.59 % 3.90 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 1627 ns 1621 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 1636 ns 1631 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 33.4 ns 36.7 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 2.05 % 2.27 % 4
replace runtime symbols with simstr and memorization of all search results_mean 1457 ns 1439 ns 4
replace runtime symbols with simstr and memorization of all search results_median 1456 ns 1439 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 20.4 ns 22.2 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 1.40 % 1.54 % 4
replace const symbols with string expressions and without remembering all search results_mean 1301 ns 1295 ns 4
replace const symbols with string expressions and without remembering all search results_median 1301 ns 1303 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 32.3 ns 53.6 ns 4
replace const symbols with string expressions and without remembering all search results_cv 2.48 % 4.14 % 4
replace const symbols with string expressions and memorization of all search results_mean 1292 ns 1287 ns 4
replace const symbols with string expressions and memorization of all search results_median 1291 ns 1287 ns 4
replace const symbols with string expressions and memorization of all search results_stddev 18.9 ns 25.6 ns 4
replace const symbols with string expressions and memorization of all search results_cv 1.46 % 1.99 % 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 356 ns 349 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 357 ns 349 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 4.35 ns 4.63 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 1.22 % 1.33 % 4
Short replace symbols with std::string find_first_of + replace_mean 448 ns 448 ns 4
Short replace symbols with std::string find_first_of + replace_median 450 ns 450 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 23.4 ns 20.9 ns 4
Short replace symbols with std::string find_first_of + replace_cv 5.24 % 4.66 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 366 ns 366 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 363 ns 362 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 9.78 ns 12.3 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 2.67 % 3.37 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 320 ns 318 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 320 ns 318 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 9.65 ns 4.43 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 3.02 % 1.39 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 416 ns 415 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 413 ns 415 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 11.2 ns 12.6 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 2.69 % 3.04 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 260 ns 255 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 260 ns 258 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 3.42 ns 12.8 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 1.32 % 5.02 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 377 ns 375 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 377 ns 377 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 6.21 ns 4.01 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 1.65 % 1.07 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 253 ns 251 ns 4
replace bb to ---- in std::string|64_median 254 ns 252 ns 4
replace bb to ---- in std::string|64_stddev 8.98 ns 10.1 ns 4
replace bb to ---- in std::string|64_cv 3.56 % 4.04 % 4
replace bb to ---- in std::string|256_mean 807 ns 802 ns 4
replace bb to ---- in std::string|256_median 805 ns 793 ns 4
replace bb to ---- in std::string|256_stddev 19.7 ns 24.7 ns 4
replace bb to ---- in std::string|256_cv 2.44 % 3.07 % 4
replace bb to ---- in std::string|512_mean 1560 ns 1561 ns 4
replace bb to ---- in std::string|512_median 1563 ns 1569 ns 4
replace bb to ---- in std::string|512_stddev 33.1 ns 43.9 ns 4
replace bb to ---- in std::string|512_cv 2.12 % 2.81 % 4
replace bb to ---- in std::string|1024_mean 3234 ns 3226 ns 4
replace bb to ---- in std::string|1024_median 3253 ns 3244 ns 4
replace bb to ---- in std::string|1024_stddev 67.7 ns 66.8 ns 4
replace bb to ---- in std::string|1024_cv 2.09 % 2.07 % 4
replace bb to ---- in std::string|2048_mean 8346 ns 8266 ns 4
replace bb to ---- in std::string|2048_median 8297 ns 8266 ns 4
replace bb to ---- in std::string|2048_stddev 213 ns 270 ns 4
replace bb to ---- in std::string|2048_cv 2.55 % 3.27 % 4
replace bb to ---- in lstringa<8>|64_mean 235 ns 234 ns 4
replace bb to ---- in lstringa<8>|64_median 232 ns 230 ns 4
replace bb to ---- in lstringa<8>|64_stddev 9.27 ns 7.85 ns 4
replace bb to ---- in lstringa<8>|64_cv 3.95 % 3.35 % 4
replace bb to ---- in lstringa<8>|256_mean 673 ns 670 ns 4
replace bb to ---- in lstringa<8>|256_median 676 ns 670 ns 4
replace bb to ---- in lstringa<8>|256_stddev 7.54 ns 11.4 ns 4
replace bb to ---- in lstringa<8>|256_cv 1.12 % 1.70 % 4
replace bb to ---- in lstringa<8>|512_mean 1150 ns 1151 ns 4
replace bb to ---- in lstringa<8>|512_median 1161 ns 1161 ns 4
replace bb to ---- in lstringa<8>|512_stddev 27.5 ns 29.6 ns 4
replace bb to ---- in lstringa<8>|512_cv 2.39 % 2.57 % 4
replace bb to ---- in lstringa<8>|1024_mean 2082 ns 2075 ns 4
replace bb to ---- in lstringa<8>|1024_median 2077 ns 2075 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 40.8 ns 63.0 ns 4
replace bb to ---- in lstringa<8>|1024_cv 1.96 % 3.04 % 4
replace bb to ---- in lstringa<8>|2048_mean 4062 ns 4035 ns 4
replace bb to ---- in lstringa<8>|2048_median 3996 ns 3990 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 149 ns 90.7 ns 4
replace bb to ---- in lstringa<8>|2048_cv 3.68 % 2.25 % 4
replace bb to ---- by init stringa|64_mean 209 ns 205 ns 4
replace bb to ---- by init stringa|64_median 209 ns 206 ns 4
replace bb to ---- by init stringa|64_stddev 4.98 ns 4.34 ns 4
replace bb to ---- by init stringa|64_cv 2.39 % 2.12 % 4
replace bb to ---- by init stringa|256_mean 475 ns 476 ns 4
replace bb to ---- by init stringa|256_median 475 ns 476 ns 4
replace bb to ---- by init stringa|256_stddev 10.8 ns 8.83 ns 4
replace bb to ---- by init stringa|256_cv 2.27 % 1.86 % 4
replace bb to ---- by init stringa|512_mean 1069 ns 1067 ns 4
replace bb to ---- by init stringa|512_median 1067 ns 1067 ns 4
replace bb to ---- by init stringa|512_stddev 13.5 ns 17.1 ns 4
replace bb to ---- by init stringa|512_cv 1.26 % 1.60 % 4
replace bb to ---- by init stringa|1024_mean 2250 ns 2233 ns 4
replace bb to ---- by init stringa|1024_median 2244 ns 2222 ns 4
replace bb to ---- by init stringa|1024_stddev 27.7 ns 22.7 ns 4
replace bb to ---- by init stringa|1024_cv 1.23 % 1.02 % 4
replace bb to ---- by init stringa|2048_mean 4602 ns 4565 ns 4
replace bb to ---- by init stringa|2048_median 4598 ns 4590 ns 4
replace bb to ---- by init stringa|2048_stddev 31.1 ns 48.8 ns 4
replace bb to ---- by init stringa|2048_cv 0.68 % 1.07 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 207 ns 207 ns 4
replace bb to -- in std::string|64_median 209 ns 209 ns 4
replace bb to -- in std::string|64_stddev 5.20 ns 5.71 ns 4
replace bb to -- in std::string|64_cv 2.51 % 2.75 % 4
replace bb to -- in std::string|256_mean 543 ns 543 ns 4
replace bb to -- in std::string|256_median 544 ns 547 ns 4
replace bb to -- in std::string|256_stddev 10.9 ns 7.81 ns 4
replace bb to -- in std::string|256_cv 2.01 % 1.44 % 4
replace bb to -- in std::string|512_mean 976 ns 977 ns 4
replace bb to -- in std::string|512_median 974 ns 977 ns 4
replace bb to -- in std::string|512_stddev 11.7 ns 19.9 ns 4
replace bb to -- in std::string|512_cv 1.19 % 2.04 % 4
replace bb to -- in std::string|1024_mean 1851 ns 1852 ns 4
replace bb to -- in std::string|1024_median 1833 ns 1842 ns 4
replace bb to -- in std::string|1024_stddev 50.3 ns 52.7 ns 4
replace bb to -- in std::string|1024_cv 2.72 % 2.84 % 4
replace bb to -- in std::string|2048_mean 3605 ns 3590 ns 4
replace bb to -- in std::string|2048_median 3607 ns 3610 ns 4
replace bb to -- in std::string|2048_stddev 43.6 ns 101 ns 4
replace bb to -- in std::string|2048_cv 1.21 % 2.81 % 4
replace bb to -- in lstringa<8>|64_mean 196 ns 196 ns 4
replace bb to -- in lstringa<8>|64_median 196 ns 195 ns 4
replace bb to -- in lstringa<8>|64_stddev 4.19 ns 4.01 ns 4
replace bb to -- in lstringa<8>|64_cv 2.14 % 2.05 % 4
replace bb to -- in lstringa<8>|256_mean 462 ns 458 ns 4
replace bb to -- in lstringa<8>|256_median 462 ns 455 ns 4
replace bb to -- in lstringa<8>|256_stddev 3.09 ns 5.06 ns 4
replace bb to -- in lstringa<8>|256_cv 0.67 % 1.10 % 4
replace bb to -- in lstringa<8>|512_mean 804 ns 802 ns 4
replace bb to -- in lstringa<8>|512_median 808 ns 802 ns 4
replace bb to -- in lstringa<8>|512_stddev 15.0 ns 14.2 ns 4
replace bb to -- in lstringa<8>|512_cv 1.86 % 1.77 % 4
replace bb to -- in lstringa<8>|1024_mean 1499 ns 1477 ns 4
replace bb to -- in lstringa<8>|1024_median 1504 ns 1477 ns 4
replace bb to -- in lstringa<8>|1024_stddev 20.7 ns 49.5 ns 4
replace bb to -- in lstringa<8>|1024_cv 1.38 % 3.35 % 4
replace bb to -- in lstringa<8>|2048_mean 2950 ns 2935 ns 4
replace bb to -- in lstringa<8>|2048_median 2914 ns 2888 ns 4
replace bb to -- in lstringa<8>|2048_stddev 74.3 ns 94.2 ns 4
replace bb to -- in lstringa<8>|2048_cv 2.52 % 3.21 % 4
replace bb to -- by init stringa|64_mean 180 ns 179 ns 4
replace bb to -- by init stringa|64_median 181 ns 180 ns 4
replace bb to -- by init stringa|64_stddev 6.28 ns 5.27 ns 4
replace bb to -- by init stringa|64_cv 3.48 % 2.94 % 4
replace bb to -- by init stringa|256_mean 403 ns 396 ns 4
replace bb to -- by init stringa|256_median 404 ns 398 ns 4
replace bb to -- by init stringa|256_stddev 6.04 ns 14.3 ns 4
replace bb to -- by init stringa|256_cv 1.50 % 3.61 % 4
replace bb to -- by init stringa|512_mean 669 ns 656 ns 4
replace bb to -- by init stringa|512_median 654 ns 649 ns 4
replace bb to -- by init stringa|512_stddev 41.3 ns 19.7 ns 4
replace bb to -- by init stringa|512_cv 6.18 % 3.01 % 4
replace bb to -- by init stringa|1024_mean 1178 ns 1179 ns 4
replace bb to -- by init stringa|1024_median 1179 ns 1172 ns 4
replace bb to -- by init stringa|1024_stddev 22.5 ns 14.0 ns 4
replace bb to -- by init stringa|1024_cv 1.91 % 1.18 % 4
replace bb to -- by init stringa|2048_mean 2321 ns 2319 ns 4
replace bb to -- by init stringa|2048_median 2335 ns 2319 ns 4
replace bb to -- by init stringa|2048_stddev 60.1 ns 63.0 ns 4
replace bb to -- by init stringa|2048_cv 2.59 % 2.72 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 4457224 ns 4418945 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 4445580 ns 4394531 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 110684 ns 122881 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 2.48 % 2.78 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5651637 ns 5650112 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5574913 ns 5580357 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 178845 ns 139509 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 3.16 % 2.47 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 4092228 ns 4047440 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 4083984 ns 4047440 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 43580 ns 76854 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 1.06 % 1.90 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6487851 ns 6487165 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6425542 ns 6487165 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 291867 ns 290411 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 4.50 % 4.48 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 1728 ns 1718 ns 4
Build func full name std::string;_median 1716 ns 1709 ns 4
Build func full name std::string;_stddev 110 ns 91.7 ns 4
Build func full name std::string;_cv 6.35 % 5.34 % 4
Build func full name std::string 1;_mean 1741 ns 1735 ns 4
Build func full name std::string 1;_median 1743 ns 1726 ns 4
Build func full name std::string 1;_stddev 31.5 ns 33.4 ns 4
Build func full name std::string 1;_cv 1.81 % 1.92 % 4
Build func full name std::stream;_mean 10062 ns 9949 ns 4
Build func full name std::stream;_median 10066 ns 9766 ns 4
Build func full name std::stream;_stddev 214 ns 366 ns 4
Build func full name std::stream;_cv 2.13 % 3.68 % 4
Build func full name stringa;_mean 909 ns 905 ns 4
Build func full name stringa;_median 906 ns 900 ns 4
Build func full name stringa;_stddev 15.9 ns 26.3 ns 4
Build func full name stringa;_cv 1.75 % 2.91 % 4
Build func full name stringa 1;_mean 1039 ns 1031 ns 4
Build func full name stringa 1;_median 1049 ns 1038 ns 4
Build func full name stringa 1;_stddev 22.2 ns 23.4 ns 4
Build func full name stringa 1;_cv 2.14 % 2.27 % 4