mirror of https://github.com/orefkov/simstr.git
984 lines
146 KiB
Plaintext
984 lines
146 KiB
Plaintext
Benchmarks of simstr, version 1.7.0
|
|
Sources: https://github.com/orefkov/simstr
|
|
Results: https://orefkov.github.io/simstr/results.html
|
|
|
|
2026-02-15T17:15:19+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 email ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat email std::format_mean 205 ns 204 ns 4
|
|
Concat email std::format_median 202 ns 202 ns 4
|
|
Concat email std::format_stddev 9.89 ns 6.41 ns 4
|
|
Concat email std::format_cv 4.83 % 3.14 % 4
|
|
Concat email std::stringstream_mean 833 ns 828 ns 4
|
|
Concat email std::stringstream_median 833 ns 828 ns 4
|
|
Concat email std::stringstream_stddev 16.4 ns 10.1 ns 4
|
|
Concat email std::stringstream_cv 1.98 % 1.22 % 4
|
|
Concat email stringzilla append_mean 267 ns 268 ns 4
|
|
Concat email stringzilla append_median 267 ns 270 ns 4
|
|
Concat email stringzilla append_stddev 1.75 ns 5.68 ns 4
|
|
Concat email stringzilla append_cv 0.66 % 2.12 % 4
|
|
Concat email stringzilla concat_mean 127 ns 127 ns 4
|
|
Concat email stringzilla concat_median 127 ns 129 ns 4
|
|
Concat email stringzilla concat_stddev 1.92 ns 3.14 ns 4
|
|
Concat email stringzilla concat_cv 1.51 % 2.47 % 4
|
|
Concat email std::string append_mean 184 ns 183 ns 4
|
|
Concat email std::string append_median 182 ns 180 ns 4
|
|
Concat email std::string append_stddev 4.91 ns 6.28 ns 4
|
|
Concat email std::string append_cv 2.67 % 3.43 % 4
|
|
Concat email std::string by strexpr_mean 113 ns 113 ns 4
|
|
Concat email std::string by strexpr_median 109 ns 108 ns 4
|
|
Concat email std::string by strexpr_stddev 10.0 ns 10.6 ns 4
|
|
Concat email std::string by strexpr_cv 8.93 % 9.35 % 4
|
|
Concat email stringa_mean 96.2 ns 95.8 ns 4
|
|
Concat email stringa_median 93.3 ns 92.8 ns 4
|
|
Concat email stringa_stddev 7.28 ns 8.07 ns 4
|
|
Concat email stringa_cv 7.57 % 8.42 % 4
|
|
----- Concatenate string + Number + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat std::string and number by std to std::string_mean 271 ns 270 ns 4
|
|
Concat std::string and number by std to std::string_median 265 ns 264 ns 4
|
|
Concat std::string and number by std to std::string_stddev 14.5 ns 14.1 ns 4
|
|
Concat std::string and number by std to std::string_cv 5.35 % 5.23 % 4
|
|
Concat std::string and number by StrExpr to std::string_mean 162 ns 162 ns 4
|
|
Concat std::string and number by StrExpr to std::string_median 162 ns 160 ns 4
|
|
Concat std::string and number by StrExpr to std::string_stddev 3.14 ns 3.49 ns 4
|
|
Concat std::string and number by StrExpr to std::string_cv 1.94 % 2.15 % 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_mean 71.6 ns 71.5 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_median 70.9 ns 70.5 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_stddev 2.11 ns 2.64 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_cv 2.95 % 3.69 % 4
|
|
Concat stringa and number by e_concat to simstr::stringa_mean 74.8 ns 75.0 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_median 74.9 ns 75.0 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_stddev 0.593 ns 0.000 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_cv 0.79 % 0.00 % 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 713 ns 711 ns 4
|
|
Concat std::string and format hex number and literal to std::string_median 717 ns 706 ns 4
|
|
Concat std::string and format hex number and literal to std::string_stddev 13.4 ns 16.7 ns 4
|
|
Concat std::string and format hex number and literal to std::string_cv 1.88 % 2.35 % 4
|
|
std::format std::string and hex number by literal to std::string_mean 1544 ns 1543 ns 4
|
|
std::format std::string and hex number by literal to std::string_median 1527 ns 1535 ns 4
|
|
std::format std::string and hex number by literal to std::string_stddev 53.8 ns 43.9 ns 4
|
|
std::format std::string and hex number by literal to std::string_cv 3.48 % 2.84 % 4
|
|
Concat std::string and std::to_chars and string to std::string_mean 192 ns 193 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_median 192 ns 193 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_stddev 3.32 ns 2.62 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_cv 1.73 % 1.36 % 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_mean 91.6 ns 91.0 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_median 89.3 ns 87.9 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_stddev 6.10 ns 6.28 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_cv 6.65 % 6.90 % 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 72.9 ns 72.8 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 72.7 ns 72.4 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 1.53 ns 1.67 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 2.11 % 2.29 % 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 77.5 ns 77.6 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 77.5 ns 77.6 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 0.518 ns 1.01 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 0.67 % 1.30 % 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 154 ns 154 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_median 153 ns 152 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 3.30 ns 4.44 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 2.14 % 2.89 % 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 287 ns 283 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 283 ns 283 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 9.21 ns 5.13 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 3.21 % 1.81 % 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 671 ns 667 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 658 ns 654 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 28.3 ns 33.0 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 4.22 % 4.95 % 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 750 ns 750 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 748 ns 746 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 10.9 ns 13.4 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 1.45 % 1.78 % 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_mean 1081 ns 1086 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_median 1081 ns 1086 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 30.6 ns 31.5 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_cv 2.83 % 2.90 % 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 1449 ns 1436 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 1458 ns 1428 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 23.6 ns 30.1 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 1.63 % 2.09 % 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 1364 ns 1358 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 1362 ns 1350 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 17.6 ns 39.5 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 1.29 % 2.91 % 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 1699 ns 1700 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_median 1733 ns 1744 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 124 ns 115 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 7.28 % 6.78 % 4
|
|
std::vformat(pattern, std::make_format_args(i))_mean 1586 ns 1587 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_median 1572 ns 1569 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_stddev 78.5 ns 92.3 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_cv 4.95 % 5.81 % 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 6885 ns 6853 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 6817 ns 6696 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 273 ns 314 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 3.97 % 4.58 % 4
|
|
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat std::string by std to std::string_mean 40.8 ns 40.4 ns 4
|
|
Concat std::string by std to std::string_median 40.8 ns 40.4 ns 4
|
|
Concat std::string by std to std::string_stddev 0.554 ns 0.524 ns 4
|
|
Concat std::string by std to std::string_cv 1.36 % 1.30 % 4
|
|
Concat std::string by StrExpr to std::string_mean 38.2 ns 37.9 ns 4
|
|
Concat std::string by StrExpr to std::string_median 38.2 ns 38.1 ns 4
|
|
Concat std::string by StrExpr to std::string_stddev 0.299 ns 0.801 ns 4
|
|
Concat std::string by StrExpr to std::string_cv 0.78 % 2.12 % 4
|
|
Concat stringa by StrExpr to stringa_mean 28.7 ns 28.8 ns 4
|
|
Concat stringa by StrExpr to stringa_median 28.7 ns 29.2 ns 4
|
|
Concat stringa by StrExpr to stringa_stddev 0.505 ns 0.663 ns 4
|
|
Concat stringa by StrExpr to stringa_cv 1.76 % 2.30 % 4
|
|
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Find concat three std::string_mean 208 ns 206 ns 4
|
|
Find concat three std::string_median 210 ns 206 ns 4
|
|
Find concat three std::string_stddev 4.99 ns 5.85 ns 4
|
|
Find concat three std::string_cv 2.40 % 2.84 % 4
|
|
Find concat three strexpr_mean 114 ns 115 ns 4
|
|
Find concat three strexpr_median 114 ns 115 ns 4
|
|
Find concat three strexpr_stddev 0.878 ns 1.99 ns 4
|
|
Find concat three strexpr_cv 0.77 % 1.74 % 4
|
|
Find concat three simstr_mean 21.5 ns 21.5 ns 4
|
|
Find concat three simstr_median 21.6 ns 21.5 ns 4
|
|
Find concat three simstr_stddev 0.298 ns 0.399 ns 4
|
|
Find concat three simstr_cv 1.39 % 1.86 % 4
|
|
Find concat three stringzilla string_mean 214 ns 214 ns 4
|
|
Find concat three stringzilla string_median 215 ns 215 ns 4
|
|
Find concat three stringzilla string_stddev 0.828 ns 2.44 ns 4
|
|
Find concat three stringzilla string_cv 0.39 % 1.14 % 4
|
|
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
BuildTypeNameStr 0/0_mean 8.40 ns 8.33 ns 4
|
|
BuildTypeNameStr 0/0_median 8.38 ns 8.37 ns 4
|
|
BuildTypeNameStr 0/0_stddev 0.099 ns 0.087 ns 4
|
|
BuildTypeNameStr 0/0_cv 1.18 % 1.05 % 4
|
|
BuildTypeNameExp 0/0_mean 7.43 ns 7.43 ns 4
|
|
BuildTypeNameExp 0/0_median 7.48 ns 7.53 ns 4
|
|
BuildTypeNameExp 0/0_stddev 0.157 ns 0.209 ns 4
|
|
BuildTypeNameExp 0/0_cv 2.12 % 2.82 % 4
|
|
BuildTypeNameSim 0/0_mean 7.80 ns 7.76 ns 4
|
|
BuildTypeNameSim 0/0_median 7.85 ns 7.76 ns 4
|
|
BuildTypeNameSim 0/0_stddev 0.175 ns 0.225 ns 4
|
|
BuildTypeNameSim 0/0_cv 2.25 % 2.90 % 4
|
|
BuildTypeNameStr 10/10_mean 58.8 ns 58.2 ns 4
|
|
BuildTypeNameStr 10/10_median 58.9 ns 57.9 ns 4
|
|
BuildTypeNameStr 10/10_stddev 1.53 ns 2.38 ns 4
|
|
BuildTypeNameStr 10/10_cv 2.60 % 4.09 % 4
|
|
BuildTypeNameExp 10/10_mean 32.1 ns 32.0 ns 4
|
|
BuildTypeNameExp 10/10_median 32.1 ns 32.2 ns 4
|
|
BuildTypeNameExp 10/10_stddev 0.222 ns 0.384 ns 4
|
|
BuildTypeNameExp 10/10_cv 0.69 % 1.20 % 4
|
|
BuildTypeNameSim 10/10_mean 25.6 ns 25.5 ns 4
|
|
BuildTypeNameSim 10/10_median 25.6 ns 25.7 ns 4
|
|
BuildTypeNameSim 10/10_stddev 0.200 ns 0.279 ns 4
|
|
BuildTypeNameSim 10/10_cv 0.78 % 1.09 % 4
|
|
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat with replace str_mean 309 ns 308 ns 4
|
|
Concat with replace str_median 309 ns 308 ns 4
|
|
Concat with replace str_stddev 2.96 ns 3.83 ns 4
|
|
Concat with replace str_cv 0.96 % 1.24 % 4
|
|
Concat with replace exp_mean 217 ns 216 ns 4
|
|
Concat with replace exp_median 216 ns 215 ns 4
|
|
Concat with replace exp_stddev 3.59 ns 2.44 ns 4
|
|
Concat with replace exp_cv 1.66 % 1.13 % 4
|
|
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e;_mean 1.10 ns 1.09 ns 4
|
|
std::string e;_median 1.10 ns 1.10 ns 4
|
|
std::string e;_stddev 0.003 ns 0.012 ns 4
|
|
std::string e;_cv 0.29 % 1.12 % 4
|
|
std::string_view e;_mean 0.366 ns 0.364 ns 4
|
|
std::string_view e;_median 0.368 ns 0.364 ns 4
|
|
std::string_view e;_stddev 0.005 ns 0.005 ns 4
|
|
std::string_view e;_cv 1.31 % 1.33 % 4
|
|
ssa e;_mean 0.364 ns 0.365 ns 4
|
|
ssa e;_median 0.363 ns 0.365 ns 4
|
|
ssa e;_stddev 0.002 ns 0.005 ns 4
|
|
ssa e;_cv 0.47 % 1.27 % 4
|
|
stringa e;_mean 0.745 ns 0.746 ns 4
|
|
stringa e;_median 0.744 ns 0.750 ns 4
|
|
stringa e;_stddev 0.007 ns 0.009 ns 4
|
|
stringa e;_cv 1.00 % 1.17 % 4
|
|
lstringa<20> e;_mean 1.12 ns 1.12 ns 4
|
|
lstringa<20> e;_median 1.12 ns 1.12 ns 4
|
|
lstringa<20> e;_stddev 0.016 ns 0.020 ns 4
|
|
lstringa<20> e;_cv 1.41 % 1.77 % 4
|
|
lstringa<40> e;_mean 1.16 ns 1.16 ns 4
|
|
lstringa<40> e;_median 1.12 ns 1.12 ns 4
|
|
lstringa<40> e;_stddev 0.079 ns 0.081 ns 4
|
|
lstringa<40> e;_cv 6.80 % 6.99 % 4
|
|
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "Test text";_mean 1.85 ns 1.85 ns 4
|
|
std::string e = "Test text";_median 1.85 ns 1.84 ns 4
|
|
std::string e = "Test text";_stddev 0.044 ns 0.053 ns 4
|
|
std::string e = "Test text";_cv 2.35 % 2.84 % 4
|
|
std::string_view e = "Test text";_mean 0.736 ns 0.736 ns 4
|
|
std::string_view e = "Test text";_median 0.728 ns 0.732 ns 4
|
|
std::string_view e = "Test text";_stddev 0.019 ns 0.024 ns 4
|
|
std::string_view e = "Test text";_cv 2.64 % 3.24 % 4
|
|
ssa e = "Test text";_mean 0.363 ns 0.365 ns 4
|
|
ssa e = "Test text";_median 0.363 ns 0.365 ns 4
|
|
ssa e = "Test text";_stddev 0.006 ns 0.005 ns 4
|
|
ssa e = "Test text";_cv 1.57 % 1.27 % 4
|
|
stringa e = "Test text";_mean 1.11 ns 1.11 ns 4
|
|
stringa e = "Test text";_median 1.11 ns 1.10 ns 4
|
|
stringa e = "Test text";_stddev 0.024 ns 0.024 ns 4
|
|
stringa e = "Test text";_cv 2.19 % 2.20 % 4
|
|
lstringa<20> e = "Test text";_mean 1.85 ns 1.84 ns 4
|
|
lstringa<20> e = "Test text";_median 1.85 ns 1.86 ns 4
|
|
lstringa<20> e = "Test text";_stddev 0.043 ns 0.054 ns 4
|
|
lstringa<20> e = "Test text";_cv 2.33 % 2.95 % 4
|
|
lstringa<40> e = "Test text";_mean 1.84 ns 1.83 ns 4
|
|
lstringa<40> e = "Test text";_median 1.83 ns 1.84 ns 4
|
|
lstringa<40> e = "Test text";_stddev 0.018 ns 0.019 ns 4
|
|
lstringa<40> e = "Test text";_cv 0.99 % 1.05 % 4
|
|
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "123456789012345678901234567890";_mean 76.0 ns 76.3 ns 4
|
|
std::string e = "123456789012345678901234567890";_median 75.3 ns 75.9 ns 4
|
|
std::string e = "123456789012345678901234567890";_stddev 1.95 ns 1.67 ns 4
|
|
std::string e = "123456789012345678901234567890";_cv 2.56 % 2.19 % 4
|
|
std::string_view e = "123456789012345678901234567890";_mean 0.735 ns 0.737 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_median 0.731 ns 0.732 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_stddev 0.010 ns 0.009 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_cv 1.41 % 1.18 % 4
|
|
ssa e = "123456789012345678901234567890";_mean 0.364 ns 0.363 ns 4
|
|
ssa e = "123456789012345678901234567890";_median 0.367 ns 0.365 ns 4
|
|
ssa e = "123456789012345678901234567890";_stddev 0.005 ns 0.008 ns 4
|
|
ssa e = "123456789012345678901234567890";_cv 1.38 % 2.12 % 4
|
|
stringa e = "123456789012345678901234567890";_mean 1.10 ns 1.09 ns 4
|
|
stringa e = "123456789012345678901234567890";_median 1.10 ns 1.09 ns 4
|
|
stringa e = "123456789012345678901234567890";_stddev 0.011 ns 0.023 ns 4
|
|
stringa e = "123456789012345678901234567890";_cv 0.95 % 2.14 % 4
|
|
lstringa<20> e = "123456789012345678901234567890";_mean 73.7 ns 72.8 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_median 73.4 ns 73.2 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_stddev 0.834 ns 2.62 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_cv 1.13 % 3.59 % 4
|
|
lstringa<40> e = "123456789012345678901234567890";_mean 2.54 ns 2.55 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_median 2.52 ns 2.54 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_stddev 0.081 ns 0.095 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_cv 3.17 % 3.73 % 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.83 ns 1.82 ns 4
|
|
std::string e = "Test text"; auto c{e};_median 1.82 ns 1.82 ns 4
|
|
std::string e = "Test text"; auto c{e};_stddev 0.019 ns 0.022 ns 4
|
|
std::string e = "Test text"; auto c{e};_cv 1.04 % 1.22 % 4
|
|
std::string_view e = "Test text"; auto c{e};_mean 0.366 ns 0.366 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_median 0.368 ns 0.368 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_stddev 0.006 ns 0.011 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_cv 1.52 % 2.88 % 4
|
|
ssa e = "Test text"; auto c{e};_mean 0.364 ns 0.364 ns 4
|
|
ssa e = "Test text"; auto c{e};_median 0.365 ns 0.368 ns 4
|
|
ssa e = "Test text"; auto c{e};_stddev 0.005 ns 0.008 ns 4
|
|
ssa e = "Test text"; auto c{e};_cv 1.27 % 2.30 % 4
|
|
stringa e = "Test text"; auto c{e};_mean 1.31 ns 1.31 ns 4
|
|
stringa e = "Test text"; auto c{e};_median 1.30 ns 1.30 ns 4
|
|
stringa e = "Test text"; auto c{e};_stddev 0.048 ns 0.039 ns 4
|
|
stringa e = "Test text"; auto c{e};_cv 3.66 % 3.01 % 4
|
|
lstringa<20> e = "Test text"; auto c{e};_mean 1.47 ns 1.47 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_median 1.47 ns 1.48 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_stddev 0.016 ns 0.039 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_cv 1.06 % 2.69 % 4
|
|
lstringa<40> e = "Test text"; auto c{e};_mean 1.48 ns 1.48 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_median 1.48 ns 1.48 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_stddev 0.009 ns 0.016 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_cv 0.63 % 1.06 % 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 72.4 ns 72.4 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_median 72.5 ns 72.4 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 1.02 ns 1.01 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_cv 1.41 % 1.39 % 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.734 ns 0.736 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.738 ns 0.739 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.015 ns 0.018 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.98 % 2.39 % 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.364 ns 0.365 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.362 ns 0.365 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.007 ns 0.010 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_cv 2.04 % 2.84 % 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.84 ns 1.83 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.84 ns 1.84 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.015 ns 0.021 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_cv 0.80 % 1.14 % 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 75.7 ns 75.7 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 75.6 ns 76.0 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.822 ns 1.34 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 1.09 % 1.76 % 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.84 ns 4.84 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.83 ns 4.84 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.163 ns 0.128 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 3.37 % 2.63 % 4
|
|
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
sz::string::find;_mean 98.2 ns 98.3 ns 4
|
|
sz::string::find;_median 98.1 ns 97.7 ns 4
|
|
sz::string::find;_stddev 0.484 ns 1.22 ns 4
|
|
sz::string::find;_cv 0.49 % 1.24 % 4
|
|
std::string::find;_mean 39.9 ns 40.1 ns 4
|
|
std::string::find;_median 39.9 ns 40.4 ns 4
|
|
std::string::find;_stddev 0.658 ns 0.868 ns 4
|
|
std::string::find;_cv 1.65 % 2.16 % 4
|
|
std::string_view::find;_mean 52.2 ns 52.3 ns 4
|
|
std::string_view::find;_median 52.1 ns 52.3 ns 4
|
|
std::string_view::find;_stddev 0.386 ns 0.902 ns 4
|
|
std::string_view::find;_cv 0.74 % 1.72 % 4
|
|
ssa::find;_mean 18.9 ns 18.9 ns 4
|
|
ssa::find;_median 18.9 ns 18.8 ns 4
|
|
ssa::find;_stddev 0.295 ns 0.527 ns 4
|
|
ssa::find;_cv 1.56 % 2.78 % 4
|
|
stringa::find;_mean 19.4 ns 19.4 ns 4
|
|
stringa::find;_median 19.5 ns 19.3 ns 4
|
|
stringa::find;_stddev 0.499 ns 0.434 ns 4
|
|
stringa::find;_cv 2.57 % 2.24 % 4
|
|
lstringa<20>::find;_mean 17.6 ns 17.6 ns 4
|
|
lstringa<20>::find;_median 17.6 ns 17.6 ns 4
|
|
lstringa<20>::find;_stddev 0.274 ns 0.192 ns 4
|
|
lstringa<20>::find;_cv 1.56 % 1.09 % 4
|
|
lstringa<40>::find;_mean 18.0 ns 18.0 ns 4
|
|
lstringa<40>::find;_median 17.9 ns 18.0 ns 4
|
|
lstringa<40>::find;_stddev 0.256 ns 0.313 ns 4
|
|
lstringa<40>::find;_cv 1.42 % 1.74 % 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.85 ns 1.84 ns 4
|
|
std::string copy{str_with_len_N};/15_median 1.84 ns 1.84 ns 4
|
|
std::string copy{str_with_len_N};/15_stddev 0.026 ns 0.034 ns 4
|
|
std::string copy{str_with_len_N};/15_cv 1.40 % 1.86 % 4
|
|
std::string copy{str_with_len_N};/16_mean 78.8 ns 78.8 ns 4
|
|
std::string copy{str_with_len_N};/16_median 77.4 ns 77.4 ns 4
|
|
std::string copy{str_with_len_N};/16_stddev 4.27 ns 4.34 ns 4
|
|
std::string copy{str_with_len_N};/16_cv 5.42 % 5.50 % 4
|
|
std::string copy{str_with_len_N};/23_mean 77.2 ns 77.2 ns 4
|
|
std::string copy{str_with_len_N};/23_median 77.3 ns 77.6 ns 4
|
|
std::string copy{str_with_len_N};/23_stddev 2.22 ns 2.98 ns 4
|
|
std::string copy{str_with_len_N};/23_cv 2.88 % 3.86 % 4
|
|
std::string copy{str_with_len_N};/24_mean 77.5 ns 76.3 ns 4
|
|
std::string copy{str_with_len_N};/24_median 77.8 ns 75.9 ns 4
|
|
std::string copy{str_with_len_N};/24_stddev 1.34 ns 1.67 ns 4
|
|
std::string copy{str_with_len_N};/24_cv 1.74 % 2.19 % 4
|
|
std::string copy{str_with_len_N};/32_mean 83.0 ns 83.3 ns 4
|
|
std::string copy{str_with_len_N};/32_median 83.3 ns 83.7 ns 4
|
|
std::string copy{str_with_len_N};/32_stddev 1.02 ns 2.19 ns 4
|
|
std::string copy{str_with_len_N};/32_cv 1.22 % 2.64 % 4
|
|
std::string copy{str_with_len_N};/64_mean 81.2 ns 81.1 ns 4
|
|
std::string copy{str_with_len_N};/64_median 81.4 ns 82.0 ns 4
|
|
std::string copy{str_with_len_N};/64_stddev 1.13 ns 1.74 ns 4
|
|
std::string copy{str_with_len_N};/64_cv 1.39 % 2.15 % 4
|
|
std::string copy{str_with_len_N};/128_mean 83.8 ns 83.3 ns 4
|
|
std::string copy{str_with_len_N};/128_median 83.7 ns 83.7 ns 4
|
|
std::string copy{str_with_len_N};/128_stddev 0.973 ns 2.19 ns 4
|
|
std::string copy{str_with_len_N};/128_cv 1.16 % 2.64 % 4
|
|
std::string copy{str_with_len_N};/256_mean 88.0 ns 87.9 ns 4
|
|
std::string copy{str_with_len_N};/256_median 87.0 ns 87.9 ns 4
|
|
std::string copy{str_with_len_N};/256_stddev 4.29 ns 3.82 ns 4
|
|
std::string copy{str_with_len_N};/256_cv 4.87 % 4.35 % 4
|
|
std::string copy{str_with_len_N};/512_mean 92.5 ns 92.6 ns 4
|
|
std::string copy{str_with_len_N};/512_median 89.1 ns 88.9 ns 4
|
|
std::string copy{str_with_len_N};/512_stddev 8.34 ns 8.08 ns 4
|
|
std::string copy{str_with_len_N};/512_cv 9.02 % 8.73 % 4
|
|
std::string copy{str_with_len_N};/1024_mean 102 ns 102 ns 4
|
|
std::string copy{str_with_len_N};/1024_median 97.2 ns 96.4 ns 4
|
|
std::string copy{str_with_len_N};/1024_stddev 12.1 ns 11.9 ns 4
|
|
std::string copy{str_with_len_N};/1024_cv 11.83 % 11.63 % 4
|
|
std::string copy{str_with_len_N};/2048_mean 123 ns 123 ns 4
|
|
std::string copy{str_with_len_N};/2048_median 123 ns 123 ns 4
|
|
std::string copy{str_with_len_N};/2048_stddev 2.74 ns 3.51 ns 4
|
|
std::string copy{str_with_len_N};/2048_cv 2.22 % 2.84 % 4
|
|
std::string copy{str_with_len_N};/4096_mean 175 ns 175 ns 4
|
|
std::string copy{str_with_len_N};/4096_median 172 ns 173 ns 4
|
|
std::string copy{str_with_len_N};/4096_stddev 7.68 ns 7.35 ns 4
|
|
std::string copy{str_with_len_N};/4096_cv 4.40 % 4.21 % 4
|
|
stringa copy{str_with_len_N};/15_mean 1.29 ns 1.28 ns 4
|
|
stringa copy{str_with_len_N};/15_median 1.28 ns 1.28 ns 4
|
|
stringa copy{str_with_len_N};/15_stddev 0.010 ns 0.000 ns 4
|
|
stringa copy{str_with_len_N};/15_cv 0.78 % 0.00 % 4
|
|
stringa copy{str_with_len_N};/16_mean 1.29 ns 1.29 ns 4
|
|
stringa copy{str_with_len_N};/16_median 1.29 ns 1.28 ns 4
|
|
stringa copy{str_with_len_N};/16_stddev 0.022 ns 0.014 ns 4
|
|
stringa copy{str_with_len_N};/16_cv 1.67 % 1.08 % 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.32 ns 4
|
|
stringa copy{str_with_len_N};/23_stddev 0.032 ns 0.047 ns 4
|
|
stringa copy{str_with_len_N};/23_cv 2.46 % 3.59 % 4
|
|
stringa copy{str_with_len_N};/24_mean 15.9 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/24_median 15.9 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/24_stddev 0.033 ns 0.201 ns 4
|
|
stringa copy{str_with_len_N};/24_cv 0.20 % 1.27 % 4
|
|
stringa copy{str_with_len_N};/32_mean 17.4 ns 17.4 ns 4
|
|
stringa copy{str_with_len_N};/32_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/32_stddev 2.84 ns 2.85 ns 4
|
|
stringa copy{str_with_len_N};/32_cv 16.35 % 16.44 % 4
|
|
stringa copy{str_with_len_N};/64_mean 16.0 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/64_median 16.0 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/64_stddev 0.061 ns 0.222 ns 4
|
|
stringa copy{str_with_len_N};/64_cv 0.38 % 1.39 % 4
|
|
stringa copy{str_with_len_N};/128_mean 16.0 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/128_median 16.0 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/128_stddev 0.083 ns 0.222 ns 4
|
|
stringa copy{str_with_len_N};/128_cv 0.52 % 1.39 % 4
|
|
stringa copy{str_with_len_N};/256_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/256_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/256_stddev 0.090 ns 0.174 ns 4
|
|
stringa copy{str_with_len_N};/256_cv 0.56 % 1.09 % 4
|
|
stringa copy{str_with_len_N};/512_mean 16.0 ns 15.8 ns 4
|
|
stringa copy{str_with_len_N};/512_median 16.0 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/512_stddev 0.072 ns 0.367 ns 4
|
|
stringa copy{str_with_len_N};/512_cv 0.45 % 2.32 % 4
|
|
stringa copy{str_with_len_N};/1024_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/1024_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/1024_stddev 0.099 ns 0.174 ns 4
|
|
stringa copy{str_with_len_N};/1024_cv 0.62 % 1.09 % 4
|
|
stringa copy{str_with_len_N};/2048_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/2048_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/2048_stddev 0.076 ns 0.174 ns 4
|
|
stringa copy{str_with_len_N};/2048_cv 0.47 % 1.09 % 4
|
|
stringa copy{str_with_len_N};/4096_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/4096_median 15.9 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/4096_stddev 0.034 ns 0.174 ns 4
|
|
stringa copy{str_with_len_N};/4096_cv 0.22 % 1.09 % 4
|
|
lstringa<16> copy{str_with_len_N};/15_mean 1.52 ns 1.52 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_median 1.52 ns 1.52 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_stddev 0.019 ns 0.018 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_cv 1.26 % 1.19 % 4
|
|
lstringa<16> copy{str_with_len_N};/16_mean 5.17 ns 5.20 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_median 5.13 ns 5.16 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_stddev 0.163 ns 0.197 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_cv 3.16 % 3.78 % 4
|
|
lstringa<16> copy{str_with_len_N};/23_mean 5.12 ns 5.16 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_median 5.15 ns 5.16 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_stddev 0.117 ns 0.128 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_cv 2.29 % 2.47 % 4
|
|
lstringa<16> copy{str_with_len_N};/24_mean 77.9 ns 77.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_median 77.6 ns 76.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_stddev 1.29 ns 0.872 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_cv 1.66 % 1.13 % 4
|
|
lstringa<16> copy{str_with_len_N};/32_mean 83.5 ns 82.8 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_median 83.5 ns 83.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_stddev 0.850 ns 1.74 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_cv 1.02 % 2.11 % 4
|
|
lstringa<16> copy{str_with_len_N};/64_mean 84.6 ns 84.6 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_median 81.8 ns 81.1 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_stddev 6.78 ns 7.60 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_cv 8.01 % 8.99 % 4
|
|
lstringa<16> copy{str_with_len_N};/128_mean 84.6 ns 84.1 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_median 84.2 ns 84.6 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_stddev 1.17 ns 1.67 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_cv 1.38 % 1.98 % 4
|
|
lstringa<16> copy{str_with_len_N};/256_mean 85.7 ns 85.4 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_median 85.3 ns 84.6 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_stddev 1.97 ns 2.47 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_cv 2.30 % 2.89 % 4
|
|
lstringa<16> copy{str_with_len_N};/512_mean 87.1 ns 86.8 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_median 87.1 ns 86.3 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_stddev 1.21 ns 1.67 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_cv 1.38 % 1.92 % 4
|
|
lstringa<16> copy{str_with_len_N};/1024_mean 96.6 ns 95.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_median 95.9 ns 95.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_stddev 1.78 ns 2.00 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_cv 1.84 % 2.09 % 4
|
|
lstringa<16> copy{str_with_len_N};/2048_mean 125 ns 125 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_median 126 ns 126 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_stddev 2.36 ns 4.19 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_cv 1.89 % 3.35 % 4
|
|
lstringa<16> copy{str_with_len_N};/4096_mean 180 ns 179 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_median 180 ns 180 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_stddev 3.57 ns 1.92 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_cv 1.99 % 1.07 % 4
|
|
lstringa<512> copy{str_with_len_N};/15_mean 1.45 ns 1.45 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_median 1.46 ns 1.46 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_stddev 0.014 ns 0.030 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_cv 0.99 % 2.07 % 4
|
|
lstringa<512> copy{str_with_len_N};/16_mean 5.21 ns 5.23 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_median 5.23 ns 5.23 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_stddev 0.056 ns 0.090 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_cv 1.07 % 1.72 % 4
|
|
lstringa<512> copy{str_with_len_N};/23_mean 5.18 ns 5.20 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_median 5.20 ns 5.23 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_stddev 0.081 ns 0.150 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_cv 1.56 % 2.88 % 4
|
|
lstringa<512> copy{str_with_len_N};/24_mean 5.21 ns 5.20 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_median 5.21 ns 5.16 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_stddev 0.087 ns 0.078 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_cv 1.68 % 1.50 % 4
|
|
lstringa<512> copy{str_with_len_N};/32_mean 8.19 ns 8.15 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_median 8.20 ns 8.11 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_stddev 0.144 ns 0.167 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_cv 1.76 % 2.05 % 4
|
|
lstringa<512> copy{str_with_len_N};/64_mean 8.21 ns 8.20 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_median 8.25 ns 8.20 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_stddev 0.204 ns 0.142 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_cv 2.48 % 1.74 % 4
|
|
lstringa<512> copy{str_with_len_N};/128_mean 8.48 ns 8.46 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_median 8.49 ns 8.46 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_stddev 0.083 ns 0.101 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_cv 0.98 % 1.19 % 4
|
|
lstringa<512> copy{str_with_len_N};/256_mean 9.79 ns 9.73 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_median 9.66 ns 9.73 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_stddev 0.395 ns 0.270 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_cv 4.03 % 2.78 % 4
|
|
lstringa<512> copy{str_with_len_N};/512_mean 11.2 ns 11.2 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_median 11.2 ns 11.2 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_stddev 0.106 ns 0.122 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_cv 0.95 % 1.09 % 4
|
|
lstringa<512> copy{str_with_len_N};/1024_mean 98.6 ns 98.9 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_median 98.4 ns 98.4 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_stddev 1.15 ns 1.05 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_cv 1.17 % 1.06 % 4
|
|
lstringa<512> copy{str_with_len_N};/2048_mean 124 ns 124 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_median 124 ns 123 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_stddev 2.09 ns 2.34 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_cv 1.69 % 1.89 % 4
|
|
lstringa<512> copy{str_with_len_N};/4096_mean 182 ns 181 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_median 183 ns 182 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_stddev 4.30 ns 4.01 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_cv 2.37 % 2.21 % 4
|
|
----- Convert to int '1234567' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_mean 31.8 ns 31.7 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 31.8 ns 31.5 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 1.02 ns 1.10 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 3.23 % 3.47 % 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 13.3 ns 13.4 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 13.3 ns 13.4 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.096 ns 0.228 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 0.72 % 1.70 % 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.4 ns 13.4 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.3 ns 13.3 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.425 ns 0.536 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.17 % 3.99 % 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 9.66 ns 9.57 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 9.68 ns 9.63 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.063 ns 0.105 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 0.65 % 1.09 % 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.3 ns 13.3 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.2 ns 13.3 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.495 ns 0.405 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.71 % 3.04 % 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.5 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 33.5 ns 33.5 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.538 ns 0.805 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.61 % 2.41 % 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 8.10 ns 8.11 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 8.12 ns 8.11 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.099 ns 0.101 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 1.22 % 1.24 % 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.5 ns 12.5 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.5 ns 12.5 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.090 ns 0.122 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.72 % 0.98 % 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.43 ns 7.32 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.45 ns 7.32 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.064 ns 0.142 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.86 % 1.94 % 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 11.8 ns 11.8 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 11.8 ns 11.7 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.025 ns 0.140 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.22 % 1.18 % 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.8 ns 43.9 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 44.0 ns 43.9 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.726 ns 0.797 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.66 % 1.81 % 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 16.5 ns 16.5 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 16.6 ns 16.6 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.283 ns 0.334 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 1.72 % 2.03 % 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 12.9 ns 12.8 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 12.9 ns 12.7 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.249 ns 0.301 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.94 % 2.35 % 4
|
|
----- Convert to double '1234.567e10' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_mean 103 ns 103 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 102 ns 100 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 5.83 ns 6.61 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 5.66 % 6.45 % 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 59.5 ns 59.3 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 59.5 ns 59.3 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 1.57 ns 1.80 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 2.64 % 3.04 % 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_mean 35.5 ns 35.5 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_median 35.6 ns 35.7 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.611 ns 0.735 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_cv 1.72 % 2.07 % 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 4726 ns 4708 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_median 4723 ns 4708 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 123 ns 121 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 2.59 % 2.57 % 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_mean 1064 ns 1056 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_median 1064 ns 1062 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_stddev 8.77 ns 23.4 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_cv 0.82 % 2.21 % 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 793 ns 789 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 794 ns 793 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 23.8 ns 29.8 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 3.00 % 3.77 % 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 393 ns 392 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 393 ns 392 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 4.09 ns 7.12 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 1.04 % 1.81 % 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 259 ns 259 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 259 ns 261 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 0.808 ns 2.96 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 0.31 % 1.14 % 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 134 ns 134 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 133 ns 132 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 3.50 ns 4.71 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 2.60 % 3.51 % 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 4556 ns 4551 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 4575 ns 4604 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 58.4 ns 105 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 1.28 % 2.30 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 3712 ns 3710 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 3678 ns 3690 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 76.7 ns 101 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 2.07 % 2.72 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 716 ns 715 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 715 ns 711 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 9.56 ns 6.98 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.33 % 0.98 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 444 ns 442 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 443 ns 444 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 11.9 ns 9.35 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.68 % 2.12 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 286 ns 285 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 285 ns 285 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 6.22 ns 7.65 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.18 % 2.69 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 183 ns 183 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 183 ns 184 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 4.16 ns 6.28 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.27 % 3.43 % 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 217525 ns 215779 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 216992 ns 217087 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 2303 ns 5008 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.06 % 2.32 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 191801 ns 191493 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 192693 ns 190447 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 4075 ns 4007 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.12 % 2.09 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19975 ns 19950 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 19996 ns 19950 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 204 ns 0.000 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.02 % 0.00 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16815 ns 16828 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16800 ns 16915 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 235 ns 334 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.40 % 1.98 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16248 ns 16209 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16092 ns 16113 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 590 ns 575 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.63 % 3.55 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16122 ns 16113 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16108 ns 16113 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 110 ns 0.000 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 0.68 % 0.00 % 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 4414 ns 4400 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_median 4394 ns 4400 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_stddev 85.8 ns 58.4 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_cv 1.94 % 1.33 % 4
|
|
std::string str; ... str += str_var1 + str_var2;_mean 3894 ns 3871 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_median 3926 ns 3934 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_stddev 111 ns 126 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_cv 2.84 % 3.24 % 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_mean 791 ns 789 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_median 795 ns 793 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 24.3 ns 36.0 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_cv 3.08 % 4.56 % 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_mean 523 ns 520 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_median 524 ns 516 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 7.54 ns 6.98 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_cv 1.44 % 1.34 % 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_mean 394 ns 395 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_median 396 ns 397 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 6.67 ns 8.35 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_cv 1.69 % 2.12 % 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 288 ns 286 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_median 287 ns 286 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 3.96 ns 3.62 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 1.38 % 1.27 % 4
|
|
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; str << "test = " << k << " times";_mean 11096 ns 11021 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_median 10749 ns 10603 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_stddev 868 ns 1031 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_cv 7.82 % 9.36 % 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_mean 1066 ns 1067 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_median 1069 ns 1074 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_stddev 22.3 ns 26.7 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_cv 2.10 % 2.50 % 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2788 ns 2762 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2792 ns 2762 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 37.1 ns 51.3 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.33 % 1.86 % 4
|
|
std::string str = std::format("test = {} times", k);_mean 1845 ns 1851 ns 4
|
|
std::string str = std::format("test = {} times", k);_median 1831 ns 1842 ns 4
|
|
std::string str = std::format("test = {} times", k);_stddev 38.2 ns 48.3 ns 4
|
|
std::string str = std::format("test = {} times", k);_cv 2.07 % 2.61 % 4
|
|
lstringa<8> str; str.format("test = {} times", k);_mean 2035 ns 2014 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_median 2027 ns 1988 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_stddev 32.5 ns 52.3 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_cv 1.60 % 2.60 % 4
|
|
lstringa<32> str; str.format("test = {} times", k);_mean 965 ns 968 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_median 956 ns 963 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_stddev 21.2 ns 26.3 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_cv 2.20 % 2.72 % 4
|
|
lstringa<8> str = "test = " + k + " times";_mean 821 ns 824 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_median 812 ns 820 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_stddev 37.5 ns 38.7 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_cv 4.57 % 4.69 % 4
|
|
lstringa<32> str = "test = " + k + " times";_mean 142 ns 142 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_median 143 ns 142 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_stddev 0.970 ns 0.000 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_cv 0.68 % 0.00 % 4
|
|
stringa str = "test = " + k + " times";_mean 122 ns 121 ns 4
|
|
stringa str = "test = " + k + " times";_median 121 ns 120 ns 4
|
|
stringa str = "test = " + k + " times";_stddev 4.41 ns 5.34 ns 4
|
|
stringa str = "test = " + k + " times";_cv 3.63 % 4.40 % 4
|
|
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string::find + substr + std::strtol_mean 544 ns 539 ns 4
|
|
std::string::find + substr + std::strtol_median 546 ns 539 ns 4
|
|
std::string::find + substr + std::strtol_stddev 5.00 ns 9.02 ns 4
|
|
std::string::find + substr + std::strtol_cv 0.92 % 1.67 % 4
|
|
ssa::splitter + ssa::as_int_mean 165 ns 166 ns 4
|
|
ssa::splitter + ssa::as_int_median 165 ns 166 ns 4
|
|
ssa::splitter + ssa::as_int_stddev 2.25 ns 2.01 ns 4
|
|
ssa::splitter + ssa::as_int_cv 1.36 % 1.22 % 4
|
|
ssa::splitf + functor_mean 190 ns 189 ns 4
|
|
ssa::splitf + functor_median 190 ns 190 ns 4
|
|
ssa::splitf + functor_stddev 4.47 ns 4.01 ns 4
|
|
ssa::splitf + functor_cv 2.36 % 2.12 % 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 1093 ns 1093 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_median 1095 ns 1086 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_stddev 22.8 ns 23.4 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_cv 2.08 % 2.14 % 4
|
|
replace symbols with std::string find_first_of + replace_mean 2049 ns 2040 ns 4
|
|
replace symbols with std::string find_first_of + replace_median 2050 ns 2040 ns 4
|
|
replace symbols with std::string find_first_of + replace_stddev 23.7 ns 37.0 ns 4
|
|
replace symbols with std::string find_first_of + replace_cv 1.16 % 1.81 % 4
|
|
replace symbols with std::string_view find_first_of + copy_mean 2329 ns 2319 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_median 2329 ns 2295 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_stddev 45.4 ns 48.8 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_cv 1.95 % 2.11 % 4
|
|
replace runtime symbols with string expressions and without remembering all search results_mean 1454 ns 1452 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_median 1447 ns 1444 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_stddev 36.5 ns 39.5 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_cv 2.51 % 2.72 % 4
|
|
replace runtime symbols with simstr and memorization of all search results_mean 1257 ns 1263 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_median 1254 ns 1256 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_stddev 15.1 ns 14.0 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_cv 1.20 % 1.10 % 4
|
|
replace const symbols with string expressions and without remembering all search results_mean 1136 ns 1123 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_median 1111 ns 1111 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_stddev 63.1 ns 34.5 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_cv 5.56 % 3.07 % 4
|
|
replace const symbols with string expressions and memorization of all search results_mean 1188 ns 1186 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_median 1185 ns 1186 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_stddev 16.6 ns 16.1 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_cv 1.40 % 1.36 % 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 307 ns 303 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_median 309 ns 307 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 7.71 ns 13.4 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.51 % 4.40 % 4
|
|
Short replace symbols with std::string find_first_of + replace_mean 361 ns 360 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_median 358 ns 357 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_stddev 13.5 ns 11.0 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_cv 3.73 % 3.05 % 4
|
|
Short replace symbols with std::string_view find_first_of + copy_mean 315 ns 314 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_median 309 ns 310 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_stddev 15.0 ns 15.1 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_cv 4.77 % 4.80 % 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_mean 242 ns 242 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_median 242 ns 241 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_stddev 3.52 ns 2.62 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_cv 1.45 % 1.08 % 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_mean 338 ns 338 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_median 336 ns 335 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_stddev 12.9 ns 12.1 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_cv 3.82 % 3.57 % 4
|
|
Short replace const symbols with string expressions and without remembering all search results_mean 195 ns 195 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_median 195 ns 195 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_stddev 1.61 ns 0.000 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_cv 0.82 % 0.00 % 4
|
|
Short replace const symbols with string expressions and memorization of all search results_mean 309 ns 308 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_median 307 ns 308 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_stddev 6.79 ns 5.98 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_cv 2.20 % 1.94 % 4
|
|
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to ---- in std::string|64_mean 216 ns 212 ns 4
|
|
replace bb to ---- in std::string|64_median 216 ns 212 ns 4
|
|
replace bb to ---- in std::string|64_stddev 5.18 ns 2.82 ns 4
|
|
replace bb to ---- in std::string|64_cv 2.40 % 1.33 % 4
|
|
replace bb to ---- in std::string|256_mean 734 ns 728 ns 4
|
|
replace bb to ---- in std::string|256_median 735 ns 732 ns 4
|
|
replace bb to ---- in std::string|256_stddev 7.10 ns 8.72 ns 4
|
|
replace bb to ---- in std::string|256_cv 0.97 % 1.20 % 4
|
|
replace bb to ---- in std::string|512_mean 1372 ns 1367 ns 4
|
|
replace bb to ---- in std::string|512_median 1384 ns 1367 ns 4
|
|
replace bb to ---- in std::string|512_stddev 30.6 ns 32.2 ns 4
|
|
replace bb to ---- in std::string|512_cv 2.23 % 2.36 % 4
|
|
replace bb to ---- in std::string|1024_mean 2999 ns 2999 ns 4
|
|
replace bb to ---- in std::string|1024_median 3009 ns 2982 ns 4
|
|
replace bb to ---- in std::string|1024_stddev 50.0 ns 33.1 ns 4
|
|
replace bb to ---- in std::string|1024_cv 1.67 % 1.10 % 4
|
|
replace bb to ---- in std::string|2048_mean 7578 ns 7542 ns 4
|
|
replace bb to ---- in std::string|2048_median 7627 ns 7499 ns 4
|
|
replace bb to ---- in std::string|2048_stddev 185 ns 219 ns 4
|
|
replace bb to ---- in std::string|2048_cv 2.44 % 2.91 % 4
|
|
replace bb to ---- in lstringa<8>|64_mean 214 ns 213 ns 4
|
|
replace bb to ---- in lstringa<8>|64_median 215 ns 213 ns 4
|
|
replace bb to ---- in lstringa<8>|64_stddev 6.12 ns 3.70 ns 4
|
|
replace bb to ---- in lstringa<8>|64_cv 2.86 % 1.74 % 4
|
|
replace bb to ---- in lstringa<8>|256_mean 605 ns 593 ns 4
|
|
replace bb to ---- in lstringa<8>|256_median 605 ns 600 ns 4
|
|
replace bb to ---- in lstringa<8>|256_stddev 8.79 ns 14.0 ns 4
|
|
replace bb to ---- in lstringa<8>|256_cv 1.45 % 2.35 % 4
|
|
replace bb to ---- in lstringa<8>|512_mean 1028 ns 1025 ns 4
|
|
replace bb to ---- in lstringa<8>|512_median 1020 ns 1013 ns 4
|
|
replace bb to ---- in lstringa<8>|512_stddev 32.5 ns 34.5 ns 4
|
|
replace bb to ---- in lstringa<8>|512_cv 3.17 % 3.37 % 4
|
|
replace bb to ---- in lstringa<8>|1024_mean 1795 ns 1794 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_median 1796 ns 1803 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_stddev 23.0 ns 19.2 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_cv 1.28 % 1.07 % 4
|
|
replace bb to ---- in lstringa<8>|2048_mean 3547 ns 3549 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_median 3464 ns 3453 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_stddev 263 ns 254 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_cv 7.40 % 7.14 % 4
|
|
replace bb to ---- by init stringa|64_mean 168 ns 168 ns 4
|
|
replace bb to ---- by init stringa|64_median 167 ns 167 ns 4
|
|
replace bb to ---- by init stringa|64_stddev 3.71 ns 4.39 ns 4
|
|
replace bb to ---- by init stringa|64_cv 2.21 % 2.61 % 4
|
|
replace bb to ---- by init stringa|256_mean 362 ns 363 ns 4
|
|
replace bb to ---- by init stringa|256_median 361 ns 365 ns 4
|
|
replace bb to ---- by init stringa|256_stddev 11.3 ns 13.7 ns 4
|
|
replace bb to ---- by init stringa|256_cv 3.12 % 3.77 % 4
|
|
replace bb to ---- by init stringa|512_mean 824 ns 824 ns 4
|
|
replace bb to ---- by init stringa|512_median 806 ns 811 ns 4
|
|
replace bb to ---- by init stringa|512_stddev 53.4 ns 45.9 ns 4
|
|
replace bb to ---- by init stringa|512_cv 6.48 % 5.57 % 4
|
|
replace bb to ---- by init stringa|1024_mean 1578 ns 1569 ns 4
|
|
replace bb to ---- by init stringa|1024_median 1582 ns 1569 ns 4
|
|
replace bb to ---- by init stringa|1024_stddev 14.2 ns 28.5 ns 4
|
|
replace bb to ---- by init stringa|1024_cv 0.90 % 1.81 % 4
|
|
replace bb to ---- by init stringa|2048_mean 3172 ns 3165 ns 4
|
|
replace bb to ---- by init stringa|2048_median 3131 ns 3146 ns 4
|
|
replace bb to ---- by init stringa|2048_stddev 132 ns 96.5 ns 4
|
|
replace bb to ---- by init stringa|2048_cv 4.15 % 3.05 % 4
|
|
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to -- in std::string|64_mean 180 ns 180 ns 4
|
|
replace bb to -- in std::string|64_median 180 ns 180 ns 4
|
|
replace bb to -- in std::string|64_stddev 0.927 ns 0.000 ns 4
|
|
replace bb to -- in std::string|64_cv 0.52 % 0.00 % 4
|
|
replace bb to -- in std::string|256_mean 468 ns 463 ns 4
|
|
replace bb to -- in std::string|256_median 469 ns 465 ns 4
|
|
replace bb to -- in std::string|256_stddev 5.29 ns 5.06 ns 4
|
|
replace bb to -- in std::string|256_cv 1.13 % 1.09 % 4
|
|
replace bb to -- in std::string|512_mean 862 ns 858 ns 4
|
|
replace bb to -- in std::string|512_median 848 ns 848 ns 4
|
|
replace bb to -- in std::string|512_stddev 37.1 ns 29.6 ns 4
|
|
replace bb to -- in std::string|512_cv 4.31 % 3.45 % 4
|
|
replace bb to -- in std::string|1024_mean 1609 ns 1611 ns 4
|
|
replace bb to -- in std::string|1024_median 1607 ns 1611 ns 4
|
|
replace bb to -- in std::string|1024_stddev 30.8 ns 31.3 ns 4
|
|
replace bb to -- in std::string|1024_cv 1.91 % 1.94 % 4
|
|
replace bb to -- in std::string|2048_mean 3098 ns 3087 ns 4
|
|
replace bb to -- in std::string|2048_median 3094 ns 3104 ns 4
|
|
replace bb to -- in std::string|2048_stddev 46.5 ns 66.8 ns 4
|
|
replace bb to -- in std::string|2048_cv 1.50 % 2.16 % 4
|
|
replace bb to -- in lstringa<8>|64_mean 177 ns 177 ns 4
|
|
replace bb to -- in lstringa<8>|64_median 178 ns 176 ns 4
|
|
replace bb to -- in lstringa<8>|64_stddev 2.38 ns 1.92 ns 4
|
|
replace bb to -- in lstringa<8>|64_cv 1.35 % 1.08 % 4
|
|
replace bb to -- in lstringa<8>|256_mean 453 ns 452 ns 4
|
|
replace bb to -- in lstringa<8>|256_median 452 ns 454 ns 4
|
|
replace bb to -- in lstringa<8>|256_stddev 8.07 ns 9.35 ns 4
|
|
replace bb to -- in lstringa<8>|256_cv 1.78 % 2.07 % 4
|
|
replace bb to -- in lstringa<8>|512_mean 797 ns 792 ns 4
|
|
replace bb to -- in lstringa<8>|512_median 788 ns 781 ns 4
|
|
replace bb to -- in lstringa<8>|512_stddev 24.3 ns 20.9 ns 4
|
|
replace bb to -- in lstringa<8>|512_cv 3.05 % 2.64 % 4
|
|
replace bb to -- in lstringa<8>|1024_mean 1460 ns 1460 ns 4
|
|
replace bb to -- in lstringa<8>|1024_median 1458 ns 1460 ns 4
|
|
replace bb to -- in lstringa<8>|1024_stddev 8.80 ns 18.1 ns 4
|
|
replace bb to -- in lstringa<8>|1024_cv 0.60 % 1.24 % 4
|
|
replace bb to -- in lstringa<8>|2048_mean 2850 ns 2841 ns 4
|
|
replace bb to -- in lstringa<8>|2048_median 2844 ns 2825 ns 4
|
|
replace bb to -- in lstringa<8>|2048_stddev 52.4 ns 31.4 ns 4
|
|
replace bb to -- in lstringa<8>|2048_cv 1.84 % 1.10 % 4
|
|
replace bb to -- by init stringa|64_mean 149 ns 149 ns 4
|
|
replace bb to -- by init stringa|64_median 149 ns 148 ns 4
|
|
replace bb to -- by init stringa|64_stddev 1.90 ns 3.34 ns 4
|
|
replace bb to -- by init stringa|64_cv 1.28 % 2.24 % 4
|
|
replace bb to -- by init stringa|256_mean 327 ns 328 ns 4
|
|
replace bb to -- by init stringa|256_median 322 ns 325 ns 4
|
|
replace bb to -- by init stringa|256_stddev 10.5 ns 6.63 ns 4
|
|
replace bb to -- by init stringa|256_cv 3.23 % 2.02 % 4
|
|
replace bb to -- by init stringa|512_mean 518 ns 520 ns 4
|
|
replace bb to -- by init stringa|512_median 518 ns 516 ns 4
|
|
replace bb to -- by init stringa|512_stddev 5.70 ns 7.81 ns 4
|
|
replace bb to -- by init stringa|512_cv 1.10 % 1.50 % 4
|
|
replace bb to -- by init stringa|1024_mean 979 ns 978 ns 4
|
|
replace bb to -- by init stringa|1024_median 976 ns 973 ns 4
|
|
replace bb to -- by init stringa|1024_stddev 16.6 ns 20.0 ns 4
|
|
replace bb to -- by init stringa|1024_cv 1.70 % 2.05 % 4
|
|
replace bb to -- by init stringa|2048_mean 1812 ns 1810 ns 4
|
|
replace bb to -- by init stringa|2048_median 1780 ns 1779 ns 4
|
|
replace bb to -- by init stringa|2048_stddev 71.0 ns 79.2 ns 4
|
|
replace bb to -- by init stringa|2048_cv 3.92 % 4.38 % 4
|
|
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
hashStrMapA<size_t> emplace & find stringa;_mean 3947744 ns 3928961 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_median 3940282 ns 3951672 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_stddev 28638 ns 86976 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_cv 0.73 % 2.21 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5668217 ns 5650112 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5683530 ns 5650112 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 281022 ns 332098 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 4.96 % 5.88 % 4
|
|
hashStrMapA<size_t> emplace & find ssa;_mean 3479075 ns 3484448 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_median 3475954 ns 3484448 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_stddev 20102 ns 42353 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_cv 0.58 % 1.22 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6415411 ns 6417411 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6405738 ns 6417411 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 93892 ns 113909 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 1.46 % 1.77 % 4
|
|
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Build func full name std::string;_mean 1503 ns 1507 ns 4
|
|
Build func full name std::string;_median 1504 ns 1507 ns 4
|
|
Build func full name std::string;_stddev 4.36 ns 0.000 ns 4
|
|
Build func full name std::string;_cv 0.29 % 0.00 % 4
|
|
Build func full name std::string 1;_mean 1585 ns 1578 ns 4
|
|
Build func full name std::string 1;_median 1581 ns 1587 ns 4
|
|
Build func full name std::string 1;_stddev 43.0 ns 33.4 ns 4
|
|
Build func full name std::string 1;_cv 2.71 % 2.12 % 4
|
|
Build func full name std::stream;_mean 8326 ns 8327 ns 4
|
|
Build func full name std::stream;_median 8301 ns 8371 ns 4
|
|
Build func full name std::stream;_stddev 92.7 ns 87.2 ns 4
|
|
Build func full name std::stream;_cv 1.11 % 1.05 % 4
|
|
Build func full name stringa;_mean 760 ns 763 ns 4
|
|
Build func full name stringa;_median 766 ns 767 ns 4
|
|
Build func full name stringa;_stddev 17.9 ns 21.9 ns 4
|
|
Build func full name stringa;_cv 2.35 % 2.88 % 4
|
|
Build func full name stringa 1;_mean 864 ns 863 ns 4
|
|
Build func full name stringa 1;_median 866 ns 868 ns 4
|
|
Build func full name stringa 1;_stddev 13.6 ns 20.0 ns 4
|
|
Build func full name stringa 1;_cv 1.58 % 2.32 % 4
|
|
----- Make Upper ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
To upper case std::wstring_mean 1522 ns 1522 ns 4
|
|
To upper case std::wstring_median 1522 ns 1522 ns 4
|
|
To upper case std::wstring_stddev 22.7 ns 18.1 ns 4
|
|
To upper case std::wstring_cv 1.49 % 1.19 % 4
|
|
To upper case lstringw<15>_mean 38.3 ns 38.4 ns 4
|
|
To upper case lstringw<15>_median 38.2 ns 38.4 ns 4
|
|
To upper case lstringw<15>_stddev 0.418 ns 0.712 ns 4
|
|
To upper case lstringw<15>_cv 1.09 % 1.86 % 4
|