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

922 lines
136 KiB
Plaintext

Benchmarks of simstr, version 1.6.3
Sources: https://github.com/orefkov/simstr
Results: https://orefkov.github.io/simstr/results.html
2026-02-03T16:39:37+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 266 ns 265 ns 4
Concat std::string and number by std to std::string_median 266 ns 264 ns 4
Concat std::string and number by std to std::string_stddev 2.52 ns 3.14 ns 4
Concat std::string and number by std to std::string_cv 0.95 % 1.18 % 4
Concat std::string and number by StrExpr to std::string_mean 159 ns 159 ns 4
Concat std::string and number by StrExpr to std::string_median 157 ns 157 ns 4
Concat std::string and number by StrExpr to std::string_stddev 11.1 ns 9.23 ns 4
Concat std::string and number by StrExpr to std::string_cv 6.95 % 5.81 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 67.5 ns 67.5 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 67.1 ns 67.0 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 1.68 ns 1.05 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 2.48 % 1.55 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 75.4 ns 75.4 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 73.8 ns 74.1 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 3.63 ns 3.30 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 4.82 % 4.38 % 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 731 ns 728 ns 4
Concat std::string and format hex number and literal to std::string_median 731 ns 724 ns 4
Concat std::string and format hex number and literal to std::string_stddev 12.3 ns 16.7 ns 4
Concat std::string and format hex number and literal to std::string_cv 1.68 % 2.29 % 4
std::format std::string and hex number by literal to std::string_mean 1524 ns 1526 ns 4
std::format std::string and hex number by literal to std::string_median 1486 ns 1482 ns 4
std::format std::string and hex number by literal to std::string_stddev 108 ns 125 ns 4
std::format std::string and hex number by literal to std::string_cv 7.11 % 8.21 % 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 192 ns 188 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 3.67 ns 4.19 ns 4
Concat std::string and std::to_chars and string to std::string_cv 1.92 % 2.20 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 80.0 ns 79.8 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 79.1 ns 78.5 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 2.50 ns 2.62 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 3.13 % 3.28 % 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 75.0 ns 74.6 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 74.2 ns 73.9 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 5.57 ns 6.19 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 7.42 % 8.29 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 80.4 ns 80.7 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 80.9 ns 81.1 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 1.25 ns 1.67 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 1.56 % 2.07 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 148 ns 148 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 147 ns 148 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 4.28 ns 4.71 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 2.88 % 3.17 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 295 ns 295 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 294 ns 295 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 2.85 ns 5.13 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 0.97 % 1.74 % 4
----- format/vformat and subst/vsubst octal number ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
e_subst("art {} end", e_int<8, f::w<10> | f::p | f::z>(i))_mean 162 ns 162 ns 4
e_subst("art {} end", e_int<8, f::w<10> | f::p | f::z>(i))_median 156 ns 157 ns 4
e_subst("art {} end", e_int<8, f::w<10> | f::p | f::z>(i))_stddev 13.8 ns 12.9 ns 4
e_subst("art {} end", e_int<8, f::w<10> | f::p | f::z>(i))_cv 8.48 % 7.95 % 4
std::format("art {:#010o} end", i)_mean 1369 ns 1374 ns 4
std::format("art {:#010o} end", i)_median 1369 ns 1367 ns 4
std::format("art {:#010o} end", i)_stddev 35.8 ns 41.9 ns 4
std::format("art {:#010o} end", i)_cv 2.62 % 3.05 % 4
e_vsubst(pattern, e_int<8, f::w<10> | f::p | f::z>(i))_mean 305 ns 307 ns 4
e_vsubst(pattern, e_int<8, f::w<10> | f::p | f::z>(i))_median 304 ns 309 ns 4
e_vsubst(pattern, e_int<8, f::w<10> | f::p | f::z>(i))_stddev 6.35 ns 7.68 ns 4
e_vsubst(pattern, e_int<8, f::w<10> | f::p | f::z>(i))_cv 2.08 % 2.50 % 4
std::vformat(pattern, std::make_format_args(i))_mean 1373 ns 1374 ns 4
std::vformat(pattern, std::make_format_args(i))_median 1362 ns 1367 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 33.3 ns 35.1 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 2.43 % 2.55 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 40.9 ns 41.0 ns 4
Concat std::string by std to std::string_median 40.8 ns 41.0 ns 4
Concat std::string by std to std::string_stddev 0.654 ns 0.544 ns 4
Concat std::string by std to std::string_cv 1.60 % 1.33 % 4
Concat std::string by StrExpr to std::string_mean 40.7 ns 40.8 ns 4
Concat std::string by StrExpr to std::string_median 40.3 ns 40.8 ns 4
Concat std::string by StrExpr to std::string_stddev 1.70 ns 2.22 ns 4
Concat std::string by StrExpr to std::string_cv 4.19 % 5.44 % 4
Concat stringa by StrExpr to stringa_mean 29.0 ns 29.0 ns 4
Concat stringa by StrExpr to stringa_median 29.0 ns 28.8 ns 4
Concat stringa by StrExpr to stringa_stddev 0.238 ns 0.634 ns 4
Concat stringa by StrExpr to stringa_cv 0.82 % 2.19 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 204 ns 204 ns 4
Find concat three std::string_median 206 ns 205 ns 4
Find concat three std::string_stddev 5.12 ns 5.27 ns 4
Find concat three std::string_cv 2.51 % 2.58 % 4
Find concat three strexpr_mean 113 ns 113 ns 4
Find concat three strexpr_median 113 ns 112 ns 4
Find concat three strexpr_stddev 2.49 ns 1.22 ns 4
Find concat three strexpr_cv 2.20 % 1.08 % 4
Find concat three simstr_mean 21.3 ns 21.2 ns 4
Find concat three simstr_median 21.3 ns 21.2 ns 4
Find concat three simstr_stddev 0.208 ns 0.282 ns 4
Find concat three simstr_cv 0.98 % 1.33 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 8.16 ns 8.16 ns 4
BuildTypeNameStr 0/0_median 8.20 ns 8.16 ns 4
BuildTypeNameStr 0/0_stddev 0.075 ns 0.000 ns 4
BuildTypeNameStr 0/0_cv 0.91 % 0.00 % 4
BuildTypeNameExp 0/0_mean 7.66 ns 7.67 ns 4
BuildTypeNameExp 0/0_median 7.64 ns 7.67 ns 4
BuildTypeNameExp 0/0_stddev 0.100 ns 0.142 ns 4
BuildTypeNameExp 0/0_cv 1.31 % 1.86 % 4
BuildTypeNameSim 0/0_mean 7.73 ns 7.72 ns 4
BuildTypeNameSim 0/0_median 7.75 ns 7.67 ns 4
BuildTypeNameSim 0/0_stddev 0.075 ns 0.087 ns 4
BuildTypeNameSim 0/0_cv 0.97 % 1.13 % 4
BuildTypeNameStr 10/10_mean 59.7 ns 59.6 ns 4
BuildTypeNameStr 10/10_median 59.6 ns 59.3 ns 4
BuildTypeNameStr 10/10_stddev 0.699 ns 1.34 ns 4
BuildTypeNameStr 10/10_cv 1.17 % 2.24 % 4
BuildTypeNameExp 10/10_mean 32.4 ns 32.4 ns 4
BuildTypeNameExp 10/10_median 32.5 ns 32.8 ns 4
BuildTypeNameExp 10/10_stddev 0.647 ns 0.698 ns 4
BuildTypeNameExp 10/10_cv 2.00 % 2.15 % 4
BuildTypeNameSim 10/10_mean 25.6 ns 25.5 ns 4
BuildTypeNameSim 10/10_median 24.9 ns 24.9 ns 4
BuildTypeNameSim 10/10_stddev 1.85 ns 1.58 ns 4
BuildTypeNameSim 10/10_cv 7.22 % 6.18 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 349 ns 348 ns 4
Concat with replace str_median 356 ns 358 ns 4
Concat with replace str_stddev 25.1 ns 28.3 ns 4
Concat with replace str_cv 7.19 % 8.12 % 4
Concat with replace exp_mean 229 ns 229 ns 4
Concat with replace exp_median 227 ns 227 ns 4
Concat with replace exp_stddev 16.0 ns 16.8 ns 4
Concat with replace exp_cv 6.97 % 7.32 % 4
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.13 ns 1.12 ns 4
std::string e;_median 1.13 ns 1.12 ns 4
std::string e;_stddev 0.024 ns 0.040 ns 4
std::string e;_cv 2.11 % 3.55 % 4
std::string_view e;_mean 0.364 ns 0.362 ns 4
std::string_view e;_median 0.365 ns 0.360 ns 4
std::string_view e;_stddev 0.006 ns 0.004 ns 4
std::string_view e;_cv 1.61 % 1.16 % 4
ssa e;_mean 0.357 ns 0.357 ns 4
ssa e;_median 0.357 ns 0.357 ns 4
ssa e;_stddev 0.003 ns 0.005 ns 4
ssa e;_cv 0.83 % 1.30 % 4
stringa e;_mean 0.742 ns 0.741 ns 4
stringa e;_median 0.740 ns 0.732 ns 4
stringa e;_stddev 0.010 ns 0.017 ns 4
stringa e;_cv 1.36 % 2.35 % 4
lstringa<20> e;_mean 1.11 ns 1.10 ns 4
lstringa<20> e;_median 1.12 ns 1.10 ns 4
lstringa<20> e;_stddev 0.026 ns 0.020 ns 4
lstringa<20> e;_cv 2.35 % 1.81 % 4
lstringa<40> e;_mean 1.11 ns 1.11 ns 4
lstringa<40> e;_median 1.12 ns 1.11 ns 4
lstringa<40> e;_stddev 0.025 ns 0.032 ns 4
lstringa<40> e;_cv 2.20 % 2.84 % 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.79 ns 1.78 ns 4
std::string e = "Test text";_stddev 0.039 ns 0.059 ns 4
std::string e = "Test text";_cv 2.19 % 3.29 % 4
std::string_view e = "Test text";_mean 0.730 ns 0.732 ns 4
std::string_view e = "Test text";_median 0.731 ns 0.732 ns 4
std::string_view e = "Test text";_stddev 0.010 ns 0.008 ns 4
std::string_view e = "Test text";_cv 1.42 % 1.10 % 4
ssa e = "Test text";_mean 0.368 ns 0.367 ns 4
ssa e = "Test text";_median 0.362 ns 0.361 ns 4
ssa e = "Test text";_stddev 0.017 ns 0.018 ns 4
ssa e = "Test text";_cv 4.68 % 4.85 % 4
stringa e = "Test text";_mean 1.11 ns 1.10 ns 4
stringa e = "Test text";_median 1.10 ns 1.09 ns 4
stringa e = "Test text";_stddev 0.030 ns 0.035 ns 4
stringa e = "Test text";_cv 2.70 % 3.14 % 4
lstringa<20> e = "Test text";_mean 1.84 ns 1.84 ns 4
lstringa<20> e = "Test text";_median 1.84 ns 1.86 ns 4
lstringa<20> e = "Test text";_stddev 0.048 ns 0.059 ns 4
lstringa<20> e = "Test text";_cv 2.60 % 3.21 % 4
lstringa<40> e = "Test text";_mean 1.83 ns 1.82 ns 4
lstringa<40> e = "Test text";_median 1.83 ns 1.82 ns 4
lstringa<40> e = "Test text";_stddev 0.009 ns 0.022 ns 4
lstringa<40> e = "Test text";_cv 0.49 % 1.22 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 70.1 ns 70.1 ns 4
std::string e = "123456789012345678901234567890";_median 70.4 ns 70.5 ns 4
std::string e = "123456789012345678901234567890";_stddev 1.35 ns 2.38 ns 4
std::string e = "123456789012345678901234567890";_cv 1.93 % 3.40 % 4
std::string_view e = "123456789012345678901234567890";_mean 0.757 ns 0.760 ns 4
std::string_view e = "123456789012345678901234567890";_median 0.757 ns 0.760 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.027 ns 0.033 ns 4
std::string_view e = "123456789012345678901234567890";_cv 3.50 % 4.37 % 4
ssa e = "123456789012345678901234567890";_mean 0.391 ns 0.391 ns 4
ssa e = "123456789012345678901234567890";_median 0.397 ns 0.398 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.019 ns 0.022 ns 4
ssa e = "123456789012345678901234567890";_cv 4.74 % 5.63 % 4
stringa e = "123456789012345678901234567890";_mean 1.12 ns 1.12 ns 4
stringa e = "123456789012345678901234567890";_median 1.13 ns 1.12 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.040 ns 0.031 ns 4
stringa e = "123456789012345678901234567890";_cv 3.57 % 2.75 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 76.9 ns 77.2 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 76.8 ns 77.6 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 1.59 ns 1.67 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 2.07 % 2.16 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 2.56 ns 2.55 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 2.53 ns 2.55 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.064 ns 0.048 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 2.50 % 1.90 % 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 1.82 ns 1.82 ns 4
std::string e = "Test text"; auto c{e};_median 1.81 ns 1.82 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.021 ns 0.024 ns 4
std::string e = "Test text"; auto c{e};_cv 1.18 % 1.33 % 4
std::string_view e = "Test text"; auto c{e};_mean 0.369 ns 0.369 ns 4
std::string_view e = "Test text"; auto c{e};_median 0.362 ns 0.361 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.019 ns 0.016 ns 4
std::string_view e = "Test text"; auto c{e};_cv 5.17 % 4.35 % 4
ssa e = "Test text"; auto c{e};_mean 0.365 ns 0.365 ns 4
ssa e = "Test text"; auto c{e};_median 0.361 ns 0.361 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.009 ns 0.008 ns 4
ssa e = "Test text"; auto c{e};_cv 2.50 % 2.20 % 4
stringa e = "Test text"; auto c{e};_mean 1.28 ns 1.28 ns 4
stringa e = "Test text"; auto c{e};_median 1.29 ns 1.28 ns 4
stringa e = "Test text"; auto c{e};_stddev 0.019 ns 0.023 ns 4
stringa e = "Test text"; auto c{e};_cv 1.50 % 1.77 % 4
lstringa<20> e = "Test text"; auto c{e};_mean 4.77 ns 4.73 ns 4
lstringa<20> e = "Test text"; auto c{e};_median 4.81 ns 4.76 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.109 ns 0.100 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 2.29 % 2.12 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 4.89 ns 4.84 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 4.88 ns 4.81 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.192 ns 0.223 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 3.93 % 4.61 % 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 70.6 ns 70.5 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 69.9 ns 69.8 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 1.36 ns 1.40 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 1.93 % 1.98 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.726 ns 0.719 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.726 ns 0.715 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.009 ns 0.009 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.24 % 1.21 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.362 ns 0.363 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.361 ns 0.365 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.005 ns 0.008 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.50 % 2.12 % 4
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.82 ns 1.82 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.81 ns 1.82 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.044 ns 0.054 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 2.40 % 2.97 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 77.5 ns 77.8 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 77.6 ns 77.4 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.891 ns 1.34 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 1.15 % 1.72 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.61 ns 4.61 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.61 ns 4.64 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.183 ns 0.167 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 3.98 % 3.61 % 4
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 40.9 ns 41.0 ns 4
std::string::find;_median 40.0 ns 39.9 ns 4
std::string::find;_stddev 2.46 ns 2.41 ns 4
std::string::find;_cv 6.00 % 5.89 % 4
std::string_view::find;_mean 38.2 ns 38.3 ns 4
std::string_view::find;_median 38.2 ns 38.1 ns 4
std::string_view::find;_stddev 0.813 ns 0.801 ns 4
std::string_view::find;_cv 2.13 % 2.09 % 4
ssa::find;_mean 19.1 ns 19.0 ns 4
ssa::find;_median 18.4 ns 18.4 ns 4
ssa::find;_stddev 1.88 ns 1.89 ns 4
ssa::find;_cv 9.83 % 9.91 % 4
stringa::find;_mean 17.5 ns 17.6 ns 4
stringa::find;_median 17.5 ns 17.6 ns 4
stringa::find;_stddev 0.091 ns 0.000 ns 4
stringa::find;_cv 0.52 % 0.00 % 4
lstringa<20>::find;_mean 18.2 ns 18.2 ns 4
lstringa<20>::find;_median 18.1 ns 18.0 ns 4
lstringa<20>::find;_stddev 0.937 ns 0.735 ns 4
lstringa<20>::find;_cv 5.14 % 4.03 % 4
lstringa<40>::find;_mean 17.4 ns 17.4 ns 4
lstringa<40>::find;_median 17.4 ns 17.3 ns 4
lstringa<40>::find;_stddev 0.188 ns 0.192 ns 4
lstringa<40>::find;_cv 1.08 % 1.10 % 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.79 ns 1.76 ns 4
std::string copy{str_with_len_N};/15_stddev 0.110 ns 0.134 ns 4
std::string copy{str_with_len_N};/15_cv 5.99 % 7.33 % 4
std::string copy{str_with_len_N};/16_mean 79.1 ns 78.9 ns 4
std::string copy{str_with_len_N};/16_median 77.5 ns 77.6 ns 4
std::string copy{str_with_len_N};/16_stddev 4.26 ns 4.59 ns 4
std::string copy{str_with_len_N};/16_cv 5.39 % 5.81 % 4
std::string copy{str_with_len_N};/23_mean 78.4 ns 78.5 ns 4
std::string copy{str_with_len_N};/23_median 77.8 ns 78.5 ns 4
std::string copy{str_with_len_N};/23_stddev 1.57 ns 1.42 ns 4
std::string copy{str_with_len_N};/23_cv 2.00 % 1.81 % 4
std::string copy{str_with_len_N};/24_mean 78.1 ns 78.0 ns 4
std::string copy{str_with_len_N};/24_median 77.0 ns 76.7 ns 4
std::string copy{str_with_len_N};/24_stddev 5.27 ns 5.40 ns 4
std::string copy{str_with_len_N};/24_cv 6.75 % 6.92 % 4
std::string copy{str_with_len_N};/32_mean 79.2 ns 79.3 ns 4
std::string copy{str_with_len_N};/32_median 78.8 ns 79.3 ns 4
std::string copy{str_with_len_N};/32_stddev 1.18 ns 1.01 ns 4
std::string copy{str_with_len_N};/32_cv 1.48 % 1.27 % 4
std::string copy{str_with_len_N};/64_mean 80.3 ns 80.7 ns 4
std::string copy{str_with_len_N};/64_median 80.0 ns 80.2 ns 4
std::string copy{str_with_len_N};/64_stddev 1.43 ns 0.872 ns 4
std::string copy{str_with_len_N};/64_cv 1.78 % 1.08 % 4
std::string copy{str_with_len_N};/128_mean 83.2 ns 82.8 ns 4
std::string copy{str_with_len_N};/128_median 83.2 ns 82.0 ns 4
std::string copy{str_with_len_N};/128_stddev 1.38 ns 1.74 ns 4
std::string copy{str_with_len_N};/128_cv 1.65 % 2.11 % 4
std::string copy{str_with_len_N};/256_mean 86.7 ns 86.8 ns 4
std::string copy{str_with_len_N};/256_median 86.8 ns 87.2 ns 4
std::string copy{str_with_len_N};/256_stddev 2.38 ns 2.62 ns 4
std::string copy{str_with_len_N};/256_cv 2.75 % 3.02 % 4
std::string copy{str_with_len_N};/512_mean 87.1 ns 86.8 ns 4
std::string copy{str_with_len_N};/512_median 87.0 ns 86.8 ns 4
std::string copy{str_with_len_N};/512_stddev 0.370 ns 1.21 ns 4
std::string copy{str_with_len_N};/512_cv 0.43 % 1.39 % 4
std::string copy{str_with_len_N};/1024_mean 98.2 ns 97.8 ns 4
std::string copy{str_with_len_N};/1024_median 98.9 ns 98.4 ns 4
std::string copy{str_with_len_N};/1024_stddev 1.63 ns 1.05 ns 4
std::string copy{str_with_len_N};/1024_cv 1.66 % 1.07 % 4
std::string copy{str_with_len_N};/2048_mean 131 ns 130 ns 4
std::string copy{str_with_len_N};/2048_median 131 ns 130 ns 4
std::string copy{str_with_len_N};/2048_stddev 4.54 ns 4.77 ns 4
std::string copy{str_with_len_N};/2048_cv 3.47 % 3.65 % 4
std::string copy{str_with_len_N};/4096_mean 178 ns 178 ns 4
std::string copy{str_with_len_N};/4096_median 179 ns 178 ns 4
std::string copy{str_with_len_N};/4096_stddev 2.20 ns 2.22 ns 4
std::string copy{str_with_len_N};/4096_cv 1.23 % 1.24 % 4
stringa copy{str_with_len_N};/15_mean 1.40 ns 1.40 ns 4
stringa copy{str_with_len_N};/15_median 1.41 ns 1.41 ns 4
stringa copy{str_with_len_N};/15_stddev 0.075 ns 0.090 ns 4
stringa copy{str_with_len_N};/15_cv 5.35 % 6.42 % 4
stringa copy{str_with_len_N};/16_mean 1.38 ns 1.37 ns 4
stringa copy{str_with_len_N};/16_median 1.38 ns 1.37 ns 4
stringa copy{str_with_len_N};/16_stddev 0.068 ns 0.086 ns 4
stringa copy{str_with_len_N};/16_cv 4.90 % 6.29 % 4
stringa copy{str_with_len_N};/23_mean 1.31 ns 1.31 ns 4
stringa copy{str_with_len_N};/23_median 1.31 ns 1.30 ns 4
stringa copy{str_with_len_N};/23_stddev 0.028 ns 0.039 ns 4
stringa copy{str_with_len_N};/23_cv 2.13 % 3.01 % 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.089 ns 0.174 ns 4
stringa copy{str_with_len_N};/24_cv 0.56 % 1.10 % 4
stringa copy{str_with_len_N};/32_mean 15.9 ns 15.9 ns 4
stringa copy{str_with_len_N};/32_median 15.9 ns 15.9 ns 4
stringa copy{str_with_len_N};/32_stddev 0.216 ns 0.201 ns 4
stringa copy{str_with_len_N};/32_cv 1.36 % 1.27 % 4
stringa copy{str_with_len_N};/64_mean 16.0 ns 16.0 ns 4
stringa copy{str_with_len_N};/64_median 15.9 ns 15.9 ns 4
stringa copy{str_with_len_N};/64_stddev 0.370 ns 0.367 ns 4
stringa copy{str_with_len_N};/64_cv 2.31 % 2.29 % 4
stringa copy{str_with_len_N};/128_mean 15.9 ns 15.9 ns 4
stringa copy{str_with_len_N};/128_median 15.9 ns 15.9 ns 4
stringa copy{str_with_len_N};/128_stddev 0.061 ns 0.201 ns 4
stringa copy{str_with_len_N};/128_cv 0.38 % 1.27 % 4
stringa copy{str_with_len_N};/256_mean 15.8 ns 15.7 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.071 ns 0.000 ns 4
stringa copy{str_with_len_N};/256_cv 0.45 % 0.00 % 4
stringa copy{str_with_len_N};/512_mean 15.8 ns 15.8 ns 4
stringa copy{str_with_len_N};/512_median 15.8 ns 15.9 ns 4
stringa copy{str_with_len_N};/512_stddev 0.133 ns 0.334 ns 4
stringa copy{str_with_len_N};/512_cv 0.84 % 2.12 % 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.150 ns 0.174 ns 4
stringa copy{str_with_len_N};/1024_cv 0.95 % 1.10 % 4
stringa copy{str_with_len_N};/2048_mean 16.0 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.213 ns 0.285 ns 4
stringa copy{str_with_len_N};/2048_cv 1.33 % 1.77 % 4
stringa copy{str_with_len_N};/4096_mean 15.8 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.050 ns 0.174 ns 4
stringa copy{str_with_len_N};/4096_cv 0.31 % 1.10 % 4
lstringa<16> copy{str_with_len_N};/15_mean 4.58 ns 4.57 ns 4
lstringa<16> copy{str_with_len_N};/15_median 4.51 ns 4.47 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.219 ns 0.224 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 4.79 % 4.91 % 4
lstringa<16> copy{str_with_len_N};/16_mean 4.38 ns 4.39 ns 4
lstringa<16> copy{str_with_len_N};/16_median 4.39 ns 4.39 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.054 ns 0.080 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 1.23 % 1.81 % 4
lstringa<16> copy{str_with_len_N};/23_mean 4.49 ns 4.48 ns 4
lstringa<16> copy{str_with_len_N};/23_median 4.48 ns 4.50 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 0.185 ns 0.173 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 4.12 % 3.86 % 4
lstringa<16> copy{str_with_len_N};/24_mean 75.0 ns 75.0 ns 4
lstringa<16> copy{str_with_len_N};/24_median 74.6 ns 75.0 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 1.89 ns 1.42 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 2.52 % 1.90 % 4
lstringa<16> copy{str_with_len_N};/32_mean 77.2 ns 76.7 ns 4
lstringa<16> copy{str_with_len_N};/32_median 77.6 ns 77.6 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 2.35 ns 2.47 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 3.04 % 3.21 % 4
lstringa<16> copy{str_with_len_N};/64_mean 77.8 ns 77.6 ns 4
lstringa<16> copy{str_with_len_N};/64_median 78.1 ns 77.6 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 1.43 ns 2.25 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 1.83 % 2.90 % 4
lstringa<16> copy{str_with_len_N};/128_mean 83.5 ns 83.3 ns 4
lstringa<16> copy{str_with_len_N};/128_median 83.5 ns 82.8 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 1.21 ns 1.67 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 1.45 % 2.01 % 4
lstringa<16> copy{str_with_len_N};/256_mean 84.3 ns 84.1 ns 4
lstringa<16> copy{str_with_len_N};/256_median 83.8 ns 83.7 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 2.34 ns 2.19 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 2.78 % 2.61 % 4
lstringa<16> copy{str_with_len_N};/512_mean 83.5 ns 83.2 ns 4
lstringa<16> copy{str_with_len_N};/512_median 83.0 ns 83.7 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 1.69 ns 1.05 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 2.02 % 1.26 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 93.8 ns 94.2 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 93.8 ns 95.2 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 3.83 ns 5.13 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 4.08 % 5.44 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 132 ns 132 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 133 ns 133 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 4.86 ns 4.77 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 3.68 % 3.61 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 188 ns 188 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 3.18 ns 3.42 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 1.69 % 1.81 % 4
lstringa<512> copy{str_with_len_N};/15_mean 4.86 ns 4.87 ns 4
lstringa<512> copy{str_with_len_N};/15_median 4.83 ns 4.81 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.216 ns 0.234 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 4.45 % 4.80 % 4
lstringa<512> copy{str_with_len_N};/16_mean 4.96 ns 4.95 ns 4
lstringa<512> copy{str_with_len_N};/16_median 4.90 ns 4.92 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.324 ns 0.357 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 6.53 % 7.22 % 4
lstringa<512> copy{str_with_len_N};/23_mean 4.86 ns 4.84 ns 4
lstringa<512> copy{str_with_len_N};/23_median 4.82 ns 4.81 ns 4
lstringa<512> copy{str_with_len_N};/23_stddev 0.159 ns 0.157 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 3.27 % 3.24 % 4
lstringa<512> copy{str_with_len_N};/24_mean 4.99 ns 5.00 ns 4
lstringa<512> copy{str_with_len_N};/24_median 4.89 ns 4.92 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 0.343 ns 0.395 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 6.89 % 7.91 % 4
lstringa<512> copy{str_with_len_N};/32_mean 8.65 ns 8.68 ns 4
lstringa<512> copy{str_with_len_N};/32_median 8.90 ns 8.89 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.561 ns 0.498 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 6.48 % 5.74 % 4
lstringa<512> copy{str_with_len_N};/64_mean 7.99 ns 7.98 ns 4
lstringa<512> copy{str_with_len_N};/64_median 7.93 ns 7.93 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 0.323 ns 0.360 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 4.04 % 4.51 % 4
lstringa<512> copy{str_with_len_N};/128_mean 8.09 ns 8.06 ns 4
lstringa<512> copy{str_with_len_N};/128_median 8.10 ns 8.06 ns 4
lstringa<512> copy{str_with_len_N};/128_stddev 0.222 ns 0.121 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 2.74 % 1.50 % 4
lstringa<512> copy{str_with_len_N};/256_mean 9.30 ns 9.21 ns 4
lstringa<512> copy{str_with_len_N};/256_median 9.26 ns 9.21 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 0.268 ns 0.171 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 2.88 % 1.86 % 4
lstringa<512> copy{str_with_len_N};/512_mean 11.0 ns 10.9 ns 4
lstringa<512> copy{str_with_len_N};/512_median 10.9 ns 10.7 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 0.656 ns 0.831 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 5.96 % 7.61 % 4
lstringa<512> copy{str_with_len_N};/1024_mean 99.1 ns 98.4 ns 4
lstringa<512> copy{str_with_len_N};/1024_median 99.2 ns 98.4 ns 4
lstringa<512> copy{str_with_len_N};/1024_stddev 2.52 ns 1.71 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 2.54 % 1.74 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 132 ns 132 ns 4
lstringa<512> copy{str_with_len_N};/2048_median 134 ns 134 ns 4
lstringa<512> copy{str_with_len_N};/2048_stddev 4.61 ns 6.59 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 3.49 % 5.00 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 184 ns 183 ns 4
lstringa<512> copy{str_with_len_N};/4096_median 185 ns 184 ns 4
lstringa<512> copy{str_with_len_N};/4096_stddev 1.96 ns 2.09 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 1.07 % 1.14 % 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 30.7 ns 30.6 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 30.8 ns 30.8 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.312 ns 0.634 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 1.02 % 2.07 % 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 13.7 ns 13.7 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 13.7 ns 13.7 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.339 ns 0.301 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 2.47 % 2.19 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 14.4 ns 14.4 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 14.4 ns 14.4 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.530 ns 0.581 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.68 % 4.04 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.7 ns 13.7 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.7 ns 13.7 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.926 ns 0.922 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 6.74 % 6.71 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.1 ns 13.0 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.1 ns 13.0 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.192 ns 0.267 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.46 % 2.05 % 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.5 ns 33.7 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 33.4 ns 33.8 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.625 ns 0.668 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.86 % 1.98 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 8.10 ns 8.06 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 8.13 ns 8.06 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.146 ns 0.270 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 1.80 % 3.35 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.0 ns 11.9 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.0 ns 12.0 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.185 ns 0.351 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.54 % 2.94 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.0 ns 12.0 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 11.8 ns 11.8 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.699 ns 0.527 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 5.81 % 4.41 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 11.7 ns 11.6 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 11.6 ns 11.4 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.260 ns 0.419 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.22 % 3.59 % 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.5 ns 43.5 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 1.22 ns 1.69 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 2.82 % 3.89 % 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.621 ns 0.700 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 3.51 % 3.97 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 16.5 ns 16.5 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 16.5 ns 16.6 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.207 ns 0.334 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.26 % 2.03 % 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 100 ns 100 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 100 ns 100 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 1.50 ns 1.99 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 1.50 % 1.99 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 59.3 ns 59.4 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 59.1 ns 59.4 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 1.75 ns 1.28 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 2.94 % 2.15 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 34.9 ns 34.7 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.722 ns 0.384 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 2.07 % 1.10 % 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 4829 ns 4844 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 4888 ns 4922 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 177 ns 221 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 3.67 % 4.56 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 1079 ns 1078 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 1078 ns 1078 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 7.02 ns 12.1 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 0.65 % 1.12 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 747 ns 741 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 742 ns 732 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 23.7 ns 17.4 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 3.17 % 2.35 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 391 ns 386 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 386 ns 377 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 17.7 ns 26.6 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 4.52 % 6.90 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 238 ns 239 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 239 ns 240 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 2.22 ns 2.79 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 0.93 % 1.17 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 156 ns 156 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 155 ns 155 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 5.63 ns 5.96 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 3.60 % 3.82 % 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 4512 ns 4525 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 4519 ns 4551 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 146 ns 179 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 3.23 % 3.95 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 3730 ns 3730 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 3690 ns 3730 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 180 ns 191 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 4.82 % 5.12 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 702 ns 701 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 702 ns 705 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 4.51 ns 13.4 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 0.64 % 1.91 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 448 ns 449 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 448 ns 449 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 2.51 ns 7.97 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 0.56 % 1.77 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 298 ns 298 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 300 ns 301 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 5.73 ns 6.28 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.93 % 2.11 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 207 ns 206 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 207 ns 206 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 1.27 ns 2.62 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 0.62 % 1.27 % 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 217555 ns 216064 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 216601 ns 214844 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 7367 ns 7324 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 3.39 % 3.39 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 187292 ns 186261 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 186868 ns 188354 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 2048 ns 4186 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.09 % 2.25 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19125 ns 19043 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18961 ns 18834 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 461 ns 725 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.41 % 3.81 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16790 ns 16741 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16792 ns 16741 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 602 ns 854 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.58 % 5.10 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16182 ns 16131 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16169 ns 16044 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 290 ns 174 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.79 % 1.08 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16072 ns 16017 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16171 ns 16113 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 403 ns 483 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.51 % 3.01 % 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 4365 ns 4332 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 4391 ns 4332 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 112 ns 109 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 2.57 % 2.51 % 4
std::string str; ... str += str_var1 + str_var2;_mean 3878 ns 3871 ns 4
std::string str; ... str += str_var1 + str_var2;_median 3750 ns 3767 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 327 ns 277 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 8.44 % 7.14 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 858 ns 854 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 827 ns 818 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 100 ns 99.7 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 11.67 % 11.66 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 598 ns 598 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 591 ns 586 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 59.7 ns 61.7 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 9.97 % 10.32 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 388 ns 387 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 389 ns 385 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 17.7 ns 17.8 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_cv 4.56 % 4.60 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 284 ns 284 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 285 ns 286 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 6.41 ns 6.01 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 2.26 % 2.12 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 10795 ns 10803 ns 4
std::stringstream str; str << "test = " << k << " times";_median 10807 ns 10742 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 87.9 ns 122 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 0.81 % 1.13 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 1087 ns 1080 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 1089 ns 1074 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 22.4 ns 23.1 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 2.06 % 2.14 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2794 ns 2794 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2783 ns 2794 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 28.5 ns 36.2 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.02 % 1.30 % 4
std::string str = std::format("test = {} times", k);_mean 1897 ns 1894 ns 4
std::string str = std::format("test = {} times", k);_median 1891 ns 1904 ns 4
std::string str = std::format("test = {} times", k);_stddev 55.6 ns 71.5 ns 4
std::string str = std::format("test = {} times", k);_cv 2.93 % 3.77 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 2073 ns 2074 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 2067 ns 2086 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 28.0 ns 22.7 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 1.35 % 1.09 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 1100 ns 1104 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 1120 ns 1120 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 49.7 ns 55.0 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 4.52 % 4.99 % 4
lstringa<8> str = "test = " + k + " times";_mean 867 ns 854 ns 4
lstringa<8> str = "test = " + k + " times";_median 857 ns 854 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 63.4 ns 71.9 ns 4
lstringa<8> str = "test = " + k + " times";_cv 7.31 % 8.41 % 4
lstringa<32> str = "test = " + k + " times";_mean 168 ns 167 ns 4
lstringa<32> str = "test = " + k + " times";_median 167 ns 167 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 12.8 ns 14.2 ns 4
lstringa<32> str = "test = " + k + " times";_cv 7.58 % 8.51 % 4
stringa str = "test = " + k + " times";_mean 152 ns 152 ns 4
stringa str = "test = " + k + " times";_median 152 ns 152 ns 4
stringa str = "test = " + k + " times";_stddev 1.88 ns 2.22 ns 4
stringa str = "test = " + k + " times";_cv 1.23 % 1.46 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 550 ns 547 ns 4
std::string::find + substr + std::strtol_median 550 ns 547 ns 4
std::string::find + substr + std::strtol_stddev 4.67 ns 0.000 ns 4
std::string::find + substr + std::strtol_cv 0.85 % 0.00 % 4
ssa::splitter + ssa::as_int_mean 160 ns 160 ns 4
ssa::splitter + ssa::as_int_median 160 ns 161 ns 4
ssa::splitter + ssa::as_int_stddev 1.38 ns 1.92 ns 4
ssa::splitter + ssa::as_int_cv 0.86 % 1.20 % 4
ssa::splitf + functor_mean 198 ns 198 ns 4
ssa::splitf + functor_median 191 ns 190 ns 4
ssa::splitf + functor_stddev 20.9 ns 19.7 ns 4
ssa::splitf + functor_cv 10.58 % 9.98 % 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 1118 ns 1117 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 1112 ns 1111 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 28.9 ns 23.4 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 2.59 % 2.09 % 4
replace symbols with std::string find_first_of + replace_mean 1990 ns 1995 ns 4
replace symbols with std::string find_first_of + replace_median 1997 ns 2018 ns 4
replace symbols with std::string find_first_of + replace_stddev 50.0 ns 64.1 ns 4
replace symbols with std::string find_first_of + replace_cv 2.51 % 3.21 % 4
replace symbols with std::string_view find_first_of + copy_mean 2369 ns 2372 ns 4
replace symbols with std::string_view find_first_of + copy_median 2371 ns 2372 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 19.3 ns 32.2 ns 4
replace symbols with std::string_view find_first_of + copy_cv 0.82 % 1.36 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 1454 ns 1460 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 1454 ns 1460 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 29.0 ns 18.1 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 1.99 % 1.24 % 4
replace runtime symbols with simstr and memorization of all search results_mean 1391 ns 1386 ns 4
replace runtime symbols with simstr and memorization of all search results_median 1381 ns 1378 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 58.6 ns 59.6 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 4.21 % 4.30 % 4
replace const symbols with string expressions and without remembering all search results_mean 1223 ns 1221 ns 4
replace const symbols with string expressions and without remembering all search results_median 1217 ns 1214 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 19.4 ns 26.7 ns 4
replace const symbols with string expressions and without remembering all search results_cv 1.59 % 2.19 % 4
replace const symbols with string expressions and memorization of all search results_mean 1106 ns 1099 ns 4
replace const symbols with string expressions and memorization of all search results_median 1100 ns 1099 ns 4
replace const symbols with string expressions and memorization of all search results_stddev 13.9 ns 0.000 ns 4
replace const symbols with string expressions and memorization of all search results_cv 1.25 % 0.00 % 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 319 ns 318 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 312 ns 314 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 17.9 ns 15.1 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 5.61 % 4.75 % 4
Short replace symbols with std::string find_first_of + replace_mean 371 ns 370 ns 4
Short replace symbols with std::string find_first_of + replace_median 368 ns 368 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 14.4 ns 15.8 ns 4
Short replace symbols with std::string find_first_of + replace_cv 3.88 % 4.27 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 327 ns 328 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 316 ns 315 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 24.0 ns 25.6 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 7.32 % 7.82 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 268 ns 268 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 267 ns 270 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 6.66 ns 9.42 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 2.49 % 3.51 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 388 ns 387 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 385 ns 385 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 34.8 ns 35.5 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 8.98 % 9.17 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 241 ns 242 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 233 ns 235 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 24.7 ns 24.3 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 10.24 % 10.06 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 279 ns 279 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 281 ns 283 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 7.30 ns 6.28 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 2.62 % 2.25 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 240 ns 240 ns 4
replace bb to ---- in std::string|64_median 241 ns 244 ns 4
replace bb to ---- in std::string|64_stddev 14.6 ns 14.6 ns 4
replace bb to ---- in std::string|64_cv 6.10 % 6.06 % 4
replace bb to ---- in std::string|256_mean 858 ns 828 ns 4
replace bb to ---- in std::string|256_median 852 ns 837 ns 4
replace bb to ---- in std::string|256_stddev 84.1 ns 46.1 ns 4
replace bb to ---- in std::string|256_cv 9.81 % 5.57 % 4
replace bb to ---- in std::string|512_mean 1446 ns 1447 ns 4
replace bb to ---- in std::string|512_median 1450 ns 1447 ns 4
replace bb to ---- in std::string|512_stddev 15.0 ns 20.1 ns 4
replace bb to ---- in std::string|512_cv 1.04 % 1.39 % 4
replace bb to ---- in std::string|1024_mean 3194 ns 3191 ns 4
replace bb to ---- in std::string|1024_median 3193 ns 3174 ns 4
replace bb to ---- in std::string|1024_stddev 14.4 ns 66.8 ns 4
replace bb to ---- in std::string|1024_cv 0.45 % 2.09 % 4
replace bb to ---- in std::string|2048_mean 7825 ns 7847 ns 4
replace bb to ---- in std::string|2048_median 7807 ns 7882 ns 4
replace bb to ---- in std::string|2048_stddev 241 ns 134 ns 4
replace bb to ---- in std::string|2048_cv 3.08 % 1.70 % 4
replace bb to ---- in lstringa<8>|64_mean 224 ns 225 ns 4
replace bb to ---- in lstringa<8>|64_median 218 ns 220 ns 4
replace bb to ---- in lstringa<8>|64_stddev 12.5 ns 13.2 ns 4
replace bb to ---- in lstringa<8>|64_cv 5.56 % 5.89 % 4
replace bb to ---- in lstringa<8>|256_mean 619 ns 617 ns 4
replace bb to ---- in lstringa<8>|256_median 614 ns 614 ns 4
replace bb to ---- in lstringa<8>|256_stddev 11.5 ns 6.98 ns 4
replace bb to ---- in lstringa<8>|256_cv 1.86 % 1.13 % 4
replace bb to ---- in lstringa<8>|512_mean 1083 ns 1074 ns 4
replace bb to ---- in lstringa<8>|512_median 1085 ns 1086 ns 4
replace bb to ---- in lstringa<8>|512_stddev 22.7 ns 34.5 ns 4
replace bb to ---- in lstringa<8>|512_cv 2.09 % 3.21 % 4
replace bb to ---- in lstringa<8>|1024_mean 1886 ns 1889 ns 4
replace bb to ---- in lstringa<8>|1024_median 1860 ns 1861 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 60.6 ns 72.6 ns 4
replace bb to ---- in lstringa<8>|1024_cv 3.21 % 3.84 % 4
replace bb to ---- in lstringa<8>|2048_mean 3625 ns 3630 ns 4
replace bb to ---- in lstringa<8>|2048_median 3600 ns 3610 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 53.5 ns 40.1 ns 4
replace bb to ---- in lstringa<8>|2048_cv 1.48 % 1.10 % 4
replace bb to ---- by init stringa|64_mean 177 ns 177 ns 4
replace bb to ---- by init stringa|64_median 175 ns 174 ns 4
replace bb to ---- by init stringa|64_stddev 11.0 ns 11.0 ns 4
replace bb to ---- by init stringa|64_cv 6.18 % 6.22 % 4
replace bb to ---- by init stringa|256_mean 371 ns 369 ns 4
replace bb to ---- by init stringa|256_median 373 ns 369 ns 4
replace bb to ---- by init stringa|256_stddev 5.31 ns 6.55 ns 4
replace bb to ---- by init stringa|256_cv 1.43 % 1.77 % 4
replace bb to ---- by init stringa|512_mean 813 ns 815 ns 4
replace bb to ---- by init stringa|512_median 815 ns 811 ns 4
replace bb to ---- by init stringa|512_stddev 14.1 ns 16.7 ns 4
replace bb to ---- by init stringa|512_cv 1.73 % 2.05 % 4
replace bb to ---- by init stringa|1024_mean 1634 ns 1639 ns 4
replace bb to ---- by init stringa|1024_median 1637 ns 1639 ns 4
replace bb to ---- by init stringa|1024_stddev 39.2 ns 28.5 ns 4
replace bb to ---- by init stringa|1024_cv 2.40 % 1.74 % 4
replace bb to ---- by init stringa|2048_mean 3081 ns 3081 ns 4
replace bb to ---- by init stringa|2048_median 3012 ns 3015 ns 4
replace bb to ---- by init stringa|2048_stddev 173 ns 158 ns 4
replace bb to ---- by init stringa|2048_cv 5.60 % 5.12 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 195 ns 194 ns 4
replace bb to -- in std::string|64_median 193 ns 193 ns 4
replace bb to -- in std::string|64_stddev 5.94 ns 4.34 ns 4
replace bb to -- in std::string|64_cv 3.05 % 2.24 % 4
replace bb to -- in std::string|256_mean 477 ns 479 ns 4
replace bb to -- in std::string|256_median 474 ns 476 ns 4
replace bb to -- in std::string|256_stddev 5.61 ns 10.0 ns 4
replace bb to -- in std::string|256_cv 1.18 % 2.09 % 4
replace bb to -- in std::string|512_mean 875 ns 879 ns 4
replace bb to -- in std::string|512_median 876 ns 879 ns 4
replace bb to -- in std::string|512_stddev 8.92 ns 24.2 ns 4
replace bb to -- in std::string|512_cv 1.02 % 2.75 % 4
replace bb to -- in std::string|1024_mean 1630 ns 1613 ns 4
replace bb to -- in std::string|1024_median 1628 ns 1604 ns 4
replace bb to -- in std::string|1024_stddev 18.8 ns 17.4 ns 4
replace bb to -- in std::string|1024_cv 1.15 % 1.08 % 4
replace bb to -- in std::string|2048_mean 3278 ns 3278 ns 4
replace bb to -- in std::string|2048_median 3273 ns 3278 ns 4
replace bb to -- in std::string|2048_stddev 32.9 ns 57.0 ns 4
replace bb to -- in std::string|2048_cv 1.00 % 1.74 % 4
replace bb to -- in lstringa<8>|64_mean 182 ns 181 ns 4
replace bb to -- in lstringa<8>|64_median 180 ns 178 ns 4
replace bb to -- in lstringa<8>|64_stddev 6.94 ns 7.92 ns 4
replace bb to -- in lstringa<8>|64_cv 3.82 % 4.38 % 4
replace bb to -- in lstringa<8>|256_mean 440 ns 438 ns 4
replace bb to -- in lstringa<8>|256_median 439 ns 438 ns 4
replace bb to -- in lstringa<8>|256_stddev 8.17 ns 12.2 ns 4
replace bb to -- in lstringa<8>|256_cv 1.86 % 2.78 % 4
replace bb to -- in lstringa<8>|512_mean 847 ns 850 ns 4
replace bb to -- in lstringa<8>|512_median 844 ns 846 ns 4
replace bb to -- in lstringa<8>|512_stddev 72.3 ns 74.5 ns 4
replace bb to -- in lstringa<8>|512_cv 8.54 % 8.76 % 4
replace bb to -- in lstringa<8>|1024_mean 1580 ns 1583 ns 4
replace bb to -- in lstringa<8>|1024_median 1575 ns 1576 ns 4
replace bb to -- in lstringa<8>|1024_stddev 120 ns 119 ns 4
replace bb to -- in lstringa<8>|1024_cv 7.60 % 7.53 % 4
replace bb to -- in lstringa<8>|2048_mean 2828 ns 2809 ns 4
replace bb to -- in lstringa<8>|2048_median 2784 ns 2762 ns 4
replace bb to -- in lstringa<8>|2048_stddev 146 ns 139 ns 4
replace bb to -- in lstringa<8>|2048_cv 5.18 % 4.95 % 4
replace bb to -- by init stringa|64_mean 153 ns 153 ns 4
replace bb to -- by init stringa|64_median 153 ns 153 ns 4
replace bb to -- by init stringa|64_stddev 5.30 ns 5.23 ns 4
replace bb to -- by init stringa|64_cv 3.47 % 3.43 % 4
replace bb to -- by init stringa|256_mean 355 ns 353 ns 4
replace bb to -- by init stringa|256_median 355 ns 353 ns 4
replace bb to -- by init stringa|256_stddev 3.88 ns 6.55 ns 4
replace bb to -- by init stringa|256_cv 1.09 % 1.86 % 4
replace bb to -- by init stringa|512_mean 599 ns 600 ns 4
replace bb to -- by init stringa|512_median 598 ns 600 ns 4
replace bb to -- by init stringa|512_stddev 17.8 ns 22.8 ns 4
replace bb to -- by init stringa|512_cv 2.97 % 3.80 % 4
replace bb to -- by init stringa|1024_mean 1077 ns 1080 ns 4
replace bb to -- by init stringa|1024_median 1080 ns 1086 ns 4
replace bb to -- by init stringa|1024_stddev 27.0 ns 23.4 ns 4
replace bb to -- by init stringa|1024_cv 2.50 % 2.16 % 4
replace bb to -- by init stringa|2048_mean 2138 ns 2145 ns 4
replace bb to -- by init stringa|2048_median 2049 ns 2051 ns 4
replace bb to -- by init stringa|2048_stddev 193 ns 188 ns 4
replace bb to -- by init stringa|2048_cv 9.05 % 8.78 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3978350 ns 3971718 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 3976258 ns 3971718 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 14214 ns 50397 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 0.36 % 1.27 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5607567 ns 5625000 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5668341 ns 5703125 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 196407 ns 220971 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 3.50 % 3.93 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 3489211 ns 3485577 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 3444766 ns 3445513 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 114075 ns 153434 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 3.27 % 4.40 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6249698 ns 6250000 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6254047 ns 6250000 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 121093 ns 127578 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 1.94 % 2.04 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 1507 ns 1507 ns 4
Build func full name std::string;_median 1489 ns 1491 ns 4
Build func full name std::string;_stddev 60.8 ns 67.8 ns 4
Build func full name std::string;_cv 4.03 % 4.50 % 4
Build func full name std::string 1;_mean 1543 ns 1543 ns 4
Build func full name std::string 1;_median 1538 ns 1535 ns 4
Build func full name std::string 1;_stddev 48.1 ns 52.3 ns 4
Build func full name std::string 1;_cv 3.12 % 3.39 % 4
Build func full name std::stream;_mean 8087 ns 8109 ns 4
Build func full name std::stream;_median 8004 ns 8022 ns 4
Build func full name std::stream;_stddev 256 ns 302 ns 4
Build func full name std::stream;_cv 3.17 % 3.72 % 4
Build func full name stringa;_mean 823 ns 824 ns 4
Build func full name stringa;_median 821 ns 820 ns 4
Build func full name stringa;_stddev 13.6 ns 8.72 ns 4
Build func full name stringa;_cv 1.66 % 1.06 % 4
Build func full name stringa 1;_mean 939 ns 934 ns 4
Build func full name stringa 1;_median 940 ns 940 ns 4
Build func full name stringa 1;_stddev 19.0 ns 23.4 ns 4
Build func full name stringa 1;_cv 2.02 % 2.50 % 4