mirror of https://github.com/orefkov/simstr.git
984 lines
146 KiB
Plaintext
984 lines
146 KiB
Plaintext
Benchmarks of simstr, version 1.7.1
|
|
Sources: https://github.com/orefkov/simstr
|
|
Results: https://orefkov.github.io/simstr/results.html
|
|
|
|
2026-02-21T15:40:35+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 210 ns 209 ns 4
|
|
Concat email std::format_median 209 ns 209 ns 4
|
|
Concat email std::format_stddev 5.34 ns 0.000 ns 4
|
|
Concat email std::format_cv 2.54 % 0.00 % 4
|
|
Concat email std::stringstream_mean 856 ns 854 ns 4
|
|
Concat email std::stringstream_median 862 ns 854 ns 4
|
|
Concat email std::stringstream_stddev 24.0 ns 31.8 ns 4
|
|
Concat email std::stringstream_cv 2.81 % 3.73 % 4
|
|
Concat email stringzilla append_mean 271 ns 271 ns 4
|
|
Concat email stringzilla append_median 271 ns 270 ns 4
|
|
Concat email stringzilla append_stddev 5.02 ns 5.68 ns 4
|
|
Concat email stringzilla append_cv 1.85 % 2.09 % 4
|
|
Concat email stringzilla concat_mean 128 ns 128 ns 4
|
|
Concat email stringzilla concat_median 128 ns 129 ns 4
|
|
Concat email stringzilla concat_stddev 1.80 ns 1.57 ns 4
|
|
Concat email stringzilla concat_cv 1.40 % 1.23 % 4
|
|
Concat email std::string append_mean 187 ns 185 ns 4
|
|
Concat email std::string append_median 187 ns 186 ns 4
|
|
Concat email std::string append_stddev 1.36 ns 4.01 ns 4
|
|
Concat email std::string append_cv 0.73 % 2.16 % 4
|
|
Concat email std::string by strexpr_mean 107 ns 107 ns 4
|
|
Concat email std::string by strexpr_median 107 ns 106 ns 4
|
|
Concat email std::string by strexpr_stddev 1.72 ns 1.40 ns 4
|
|
Concat email std::string by strexpr_cv 1.60 % 1.31 % 4
|
|
Concat email stringa_mean 93.1 ns 93.3 ns 4
|
|
Concat email stringa_median 92.8 ns 93.3 ns 4
|
|
Concat email stringa_stddev 1.08 ns 1.01 ns 4
|
|
Concat email stringa_cv 1.16 % 1.08 % 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 264 ns 265 ns 4
|
|
Concat std::string and number by std to std::string_median 263 ns 264 ns 4
|
|
Concat std::string and number by std to std::string_stddev 8.29 ns 5.68 ns 4
|
|
Concat std::string and number by std to std::string_cv 3.13 % 2.14 % 4
|
|
Concat std::string and number by StrExpr to std::string_mean 156 ns 156 ns 4
|
|
Concat std::string and number by StrExpr to std::string_median 155 ns 156 ns 4
|
|
Concat std::string and number by StrExpr to std::string_stddev 3.45 ns 2.62 ns 4
|
|
Concat std::string and number by StrExpr to std::string_cv 2.21 % 1.67 % 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_mean 69.1 ns 68.9 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_median 69.8 ns 69.8 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_stddev 1.82 ns 1.74 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_cv 2.64 % 2.53 % 4
|
|
Concat stringa and number by e_concat to simstr::stringa_mean 74.9 ns 74.6 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_median 75.1 ns 74.1 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_stddev 1.52 ns 1.67 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_cv 2.03 % 2.24 % 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 715 ns 715 ns 4
|
|
Concat std::string and format hex number and literal to std::string_median 713 ns 711 ns 4
|
|
Concat std::string and format hex number and literal to std::string_stddev 6.72 ns 6.98 ns 4
|
|
Concat std::string and format hex number and literal to std::string_cv 0.94 % 0.98 % 4
|
|
std::format std::string and hex number by literal to std::string_mean 1496 ns 1500 ns 4
|
|
std::format std::string and hex number by literal to std::string_median 1492 ns 1500 ns 4
|
|
std::format std::string and hex number by literal to std::string_stddev 22.5 ns 28.5 ns 4
|
|
std::format std::string and hex number by literal to std::string_cv 1.50 % 1.90 % 4
|
|
Concat std::string and std::to_chars and string to std::string_mean 194 ns 194 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_median 194 ns 195 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_stddev 1.49 ns 4.01 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_cv 0.77 % 2.07 % 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_mean 89.2 ns 89.5 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_median 89.8 ns 90.0 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_stddev 1.32 ns 1.05 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_cv 1.48 % 1.17 % 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 70.7 ns 70.2 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 69.1 ns 69.8 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 3.36 ns 2.19 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 4.75 % 3.13 % 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 77.7 ns 77.8 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 78.0 ns 78.1 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 1.95 ns 2.09 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 2.51 % 2.69 % 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 156 ns 155 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_median 157 ns 155 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 1.66 ns 2.01 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 1.06 % 1.30 % 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 291 ns 292 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 290 ns 292 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 3.52 ns 5.41 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 1.21 % 1.86 % 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 685 ns 684 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 685 ns 680 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 11.8 ns 8.72 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 1.73 % 1.27 % 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 758 ns 754 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 757 ns 750 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 13.2 ns 8.72 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 1.74 % 1.16 % 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_mean 1128 ns 1120 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_median 1134 ns 1120 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 18.7 ns 27.0 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_cv 1.65 % 2.41 % 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 1424 ns 1420 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 1417 ns 1413 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 54.1 ns 69.6 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 3.80 % 4.90 % 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 1375 ns 1373 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 1377 ns 1381 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 8.83 ns 15.7 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 0.64 % 1.14 % 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 1657 ns 1650 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_median 1648 ns 1650 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 25.9 ns 31.3 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 1.56 % 1.90 % 4
|
|
std::vformat(pattern, std::make_format_args(i))_mean 1574 ns 1561 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_median 1576 ns 1552 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_stddev 33.6 ns 33.4 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_cv 2.13 % 2.14 % 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 6773 ns 6766 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 6746 ns 6696 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 159 ns 140 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 2.34 % 2.06 % 4
|
|
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat std::string by std to std::string_mean 44.0 ns 43.7 ns 4
|
|
Concat std::string by std to std::string_median 43.9 ns 43.5 ns 4
|
|
Concat std::string by std to std::string_stddev 0.835 ns 1.27 ns 4
|
|
Concat std::string by std to std::string_cv 1.90 % 2.91 % 4
|
|
Concat std::string by StrExpr to std::string_mean 39.2 ns 39.0 ns 4
|
|
Concat std::string by StrExpr to std::string_median 39.4 ns 39.2 ns 4
|
|
Concat std::string by StrExpr to std::string_stddev 0.647 ns 1.10 ns 4
|
|
Concat std::string by StrExpr to std::string_cv 1.65 % 2.81 % 4
|
|
Concat stringa by StrExpr to stringa_mean 28.9 ns 28.8 ns 4
|
|
Concat stringa by StrExpr to stringa_median 28.9 ns 28.8 ns 4
|
|
Concat stringa by StrExpr to stringa_stddev 0.344 ns 0.383 ns 4
|
|
Concat stringa by StrExpr to stringa_cv 1.19 % 1.33 % 4
|
|
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Find concat three std::string_mean 206 ns 205 ns 4
|
|
Find concat three std::string_median 206 ns 206 ns 4
|
|
Find concat three std::string_stddev 4.34 ns 4.34 ns 4
|
|
Find concat three std::string_cv 2.10 % 2.12 % 4
|
|
Find concat three strexpr_mean 117 ns 117 ns 4
|
|
Find concat three strexpr_median 116 ns 117 ns 4
|
|
Find concat three strexpr_stddev 2.90 ns 2.28 ns 4
|
|
Find concat three strexpr_cv 2.48 % 1.94 % 4
|
|
Find concat three simstr_mean 21.4 ns 21.4 ns 4
|
|
Find concat three simstr_median 21.3 ns 21.3 ns 4
|
|
Find concat three simstr_stddev 0.260 ns 0.571 ns 4
|
|
Find concat three simstr_cv 1.21 % 2.66 % 4
|
|
Find concat three stringzilla string_mean 217 ns 219 ns 4
|
|
Find concat three stringzilla string_median 218 ns 220 ns 4
|
|
Find concat three stringzilla string_stddev 6.44 ns 6.14 ns 4
|
|
Find concat three stringzilla string_cv 2.96 % 2.81 % 4
|
|
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
BuildTypeNameStr 0/0_mean 8.40 ns 8.37 ns 4
|
|
BuildTypeNameStr 0/0_median 8.29 ns 8.27 ns 4
|
|
BuildTypeNameStr 0/0_stddev 0.339 ns 0.452 ns 4
|
|
BuildTypeNameStr 0/0_cv 4.04 % 5.40 % 4
|
|
BuildTypeNameExp 0/0_mean 7.59 ns 7.60 ns 4
|
|
BuildTypeNameExp 0/0_median 7.60 ns 7.60 ns 4
|
|
BuildTypeNameExp 0/0_stddev 0.205 ns 0.180 ns 4
|
|
BuildTypeNameExp 0/0_cv 2.70 % 2.37 % 4
|
|
BuildTypeNameSim 0/0_mean 7.74 ns 7.76 ns 4
|
|
BuildTypeNameSim 0/0_median 7.69 ns 7.67 ns 4
|
|
BuildTypeNameSim 0/0_stddev 0.158 ns 0.174 ns 4
|
|
BuildTypeNameSim 0/0_cv 2.04 % 2.25 % 4
|
|
BuildTypeNameStr 10/10_mean 60.1 ns 59.3 ns 4
|
|
BuildTypeNameStr 10/10_median 59.7 ns 59.3 ns 4
|
|
BuildTypeNameStr 10/10_stddev 1.80 ns 2.42 ns 4
|
|
BuildTypeNameStr 10/10_cv 3.00 % 4.08 % 4
|
|
BuildTypeNameExp 10/10_mean 33.0 ns 33.0 ns 4
|
|
BuildTypeNameExp 10/10_median 32.8 ns 33.0 ns 4
|
|
BuildTypeNameExp 10/10_stddev 0.646 ns 0.626 ns 4
|
|
BuildTypeNameExp 10/10_cv 1.96 % 1.90 % 4
|
|
BuildTypeNameSim 10/10_mean 25.5 ns 25.5 ns 4
|
|
BuildTypeNameSim 10/10_median 25.5 ns 25.7 ns 4
|
|
BuildTypeNameSim 10/10_stddev 0.618 ns 0.837 ns 4
|
|
BuildTypeNameSim 10/10_cv 2.42 % 3.28 % 4
|
|
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat with replace str_mean 317 ns 316 ns 4
|
|
Concat with replace str_median 312 ns 311 ns 4
|
|
Concat with replace str_stddev 9.68 ns 9.94 ns 4
|
|
Concat with replace str_cv 3.06 % 3.14 % 4
|
|
Concat with replace exp_mean 214 ns 215 ns 4
|
|
Concat with replace exp_median 213 ns 215 ns 4
|
|
Concat with replace exp_stddev 3.61 ns 3.99 ns 4
|
|
Concat with replace exp_cv 1.69 % 1.86 % 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.12 ns 1.11 ns 4
|
|
std::string e;_stddev 0.052 ns 0.021 ns 4
|
|
std::string e;_cv 4.63 % 1.87 % 4
|
|
std::string_view e;_mean 0.369 ns 0.367 ns 4
|
|
std::string_view e;_median 0.367 ns 0.365 ns 4
|
|
std::string_view e;_stddev 0.006 ns 0.008 ns 4
|
|
std::string_view e;_cv 1.68 % 2.09 % 4
|
|
ssa e;_mean 0.363 ns 0.364 ns 4
|
|
ssa e;_median 0.365 ns 0.368 ns 4
|
|
ssa e;_stddev 0.006 ns 0.008 ns 4
|
|
ssa e;_cv 1.55 % 2.30 % 4
|
|
stringa e;_mean 0.744 ns 0.741 ns 4
|
|
stringa e;_median 0.747 ns 0.732 ns 4
|
|
stringa e;_stddev 0.009 ns 0.017 ns 4
|
|
stringa e;_cv 1.27 % 2.35 % 4
|
|
lstringa<20> e;_mean 1.15 ns 1.13 ns 4
|
|
lstringa<20> e;_median 1.13 ns 1.13 ns 4
|
|
lstringa<20> e;_stddev 0.048 ns 0.016 ns 4
|
|
lstringa<20> e;_cv 4.14 % 1.43 % 4
|
|
lstringa<40> e;_mean 1.11 ns 1.10 ns 4
|
|
lstringa<40> e;_median 1.11 ns 1.11 ns 4
|
|
lstringa<40> e;_stddev 0.033 ns 0.023 ns 4
|
|
lstringa<40> e;_cv 2.93 % 2.12 % 4
|
|
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "Test text";_mean 1.82 ns 1.81 ns 4
|
|
std::string e = "Test text";_median 1.81 ns 1.79 ns 4
|
|
std::string e = "Test text";_stddev 0.059 ns 0.064 ns 4
|
|
std::string e = "Test text";_cv 3.23 % 3.54 % 4
|
|
std::string_view e = "Test text";_mean 0.729 ns 0.728 ns 4
|
|
std::string_view e = "Test text";_median 0.730 ns 0.732 ns 4
|
|
std::string_view e = "Test text";_stddev 0.010 ns 0.009 ns 4
|
|
std::string_view e = "Test text";_cv 1.41 % 1.20 % 4
|
|
ssa e = "Test text";_mean 0.371 ns 0.369 ns 4
|
|
ssa e = "Test text";_median 0.369 ns 0.369 ns 4
|
|
ssa e = "Test text";_stddev 0.005 ns 0.007 ns 4
|
|
ssa e = "Test text";_cv 1.43 % 1.77 % 4
|
|
stringa e = "Test text";_mean 1.11 ns 1.10 ns 4
|
|
stringa e = "Test text";_median 1.11 ns 1.11 ns 4
|
|
stringa e = "Test text";_stddev 0.016 ns 0.010 ns 4
|
|
stringa e = "Test text";_cv 1.47 % 0.95 % 4
|
|
lstringa<20> e = "Test text";_mean 1.85 ns 1.83 ns 4
|
|
lstringa<20> e = "Test text";_median 1.86 ns 1.82 ns 4
|
|
lstringa<20> e = "Test text";_stddev 0.045 ns 0.040 ns 4
|
|
lstringa<20> e = "Test text";_cv 2.45 % 2.19 % 4
|
|
lstringa<40> e = "Test text";_mean 1.83 ns 1.82 ns 4
|
|
lstringa<40> e = "Test text";_median 1.84 ns 1.80 ns 4
|
|
lstringa<40> e = "Test text";_stddev 0.031 ns 0.038 ns 4
|
|
lstringa<40> e = "Test text";_cv 1.69 % 2.11 % 4
|
|
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "123456789012345678901234567890";_mean 75.8 ns 75.4 ns 4
|
|
std::string e = "123456789012345678901234567890";_median 75.7 ns 75.0 ns 4
|
|
std::string e = "123456789012345678901234567890";_stddev 2.86 ns 2.62 ns 4
|
|
std::string e = "123456789012345678901234567890";_cv 3.78 % 3.47 % 4
|
|
std::string_view e = "123456789012345678901234567890";_mean 0.727 ns 0.724 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_median 0.727 ns 0.724 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_stddev 0.004 ns 0.010 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_cv 0.56 % 1.39 % 4
|
|
ssa e = "123456789012345678901234567890";_mean 0.369 ns 0.368 ns 4
|
|
ssa e = "123456789012345678901234567890";_median 0.370 ns 0.368 ns 4
|
|
ssa e = "123456789012345678901234567890";_stddev 0.002 ns 0.006 ns 4
|
|
ssa e = "123456789012345678901234567890";_cv 0.63 % 1.70 % 4
|
|
stringa e = "123456789012345678901234567890";_mean 1.09 ns 1.09 ns 4
|
|
stringa e = "123456789012345678901234567890";_median 1.09 ns 1.09 ns 4
|
|
stringa e = "123456789012345678901234567890";_stddev 0.024 ns 0.023 ns 4
|
|
stringa e = "123456789012345678901234567890";_cv 2.21 % 2.09 % 4
|
|
lstringa<20> e = "123456789012345678901234567890";_mean 76.5 ns 75.4 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_median 75.8 ns 75.9 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_stddev 2.20 ns 1.67 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_cv 2.88 % 2.21 % 4
|
|
lstringa<40> e = "123456789012345678901234567890";_mean 2.52 ns 2.53 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_median 2.52 ns 2.51 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_stddev 0.021 ns 0.028 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_cv 0.83 % 1.10 % 4
|
|
----- Create copy of Str with 9 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "Test text"; auto c{e};_mean 1.86 ns 1.85 ns 4
|
|
std::string e = "Test text"; auto c{e};_median 1.85 ns 1.84 ns 4
|
|
std::string e = "Test text"; auto c{e};_stddev 0.036 ns 0.053 ns 4
|
|
std::string e = "Test text"; auto c{e};_cv 1.96 % 2.84 % 4
|
|
std::string_view e = "Test text"; auto c{e};_mean 0.370 ns 0.371 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_median 0.369 ns 0.369 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_stddev 0.006 ns 0.004 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_cv 1.66 % 1.08 % 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.362 ns 0.361 ns 4
|
|
ssa e = "Test text"; auto c{e};_stddev 0.008 ns 0.008 ns 4
|
|
ssa e = "Test text"; auto c{e};_cv 2.24 % 2.20 % 4
|
|
stringa e = "Test text"; auto c{e};_mean 1.32 ns 1.31 ns 4
|
|
stringa e = "Test text"; auto c{e};_median 1.32 ns 1.32 ns 4
|
|
stringa e = "Test text"; auto c{e};_stddev 0.034 ns 0.037 ns 4
|
|
stringa e = "Test text"; auto c{e};_cv 2.60 % 2.79 % 4
|
|
lstringa<20> e = "Test text"; auto c{e};_mean 1.50 ns 1.51 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_median 1.50 ns 1.51 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_stddev 0.014 ns 0.023 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_cv 0.91 % 1.51 % 4
|
|
lstringa<40> e = "Test text"; auto c{e};_mean 1.50 ns 1.50 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_median 1.52 ns 1.51 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_stddev 0.027 ns 0.039 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_cv 1.80 % 2.64 % 4
|
|
----- Create copy of Str with 30 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_mean 79.4 ns 79.3 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_median 78.8 ns 78.5 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 3.70 ns 4.39 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_cv 4.67 % 5.53 % 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.743 ns 0.741 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.734 ns 0.732 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.019 ns 0.017 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 2.54 % 2.35 % 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.374 ns 0.372 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.378 ns 0.372 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.010 ns 0.011 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_cv 2.62 % 2.90 % 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.83 ns 1.83 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.82 ns 1.82 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.017 ns 0.037 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_cv 0.93 % 2.01 % 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 76.4 ns 76.3 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 76.1 ns 75.9 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 2.41 ns 2.98 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 3.16 % 3.90 % 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.95 ns 4.94 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.90 ns 4.92 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.103 ns 0.052 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 2.09 % 1.06 % 4
|
|
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
sz::string::find;_mean 97.9 ns 97.8 ns 4
|
|
sz::string::find;_median 97.9 ns 98.4 ns 4
|
|
sz::string::find;_stddev 0.232 ns 1.05 ns 4
|
|
sz::string::find;_cv 0.24 % 1.07 % 4
|
|
std::string::find;_mean 40.2 ns 40.3 ns 4
|
|
std::string::find;_median 39.9 ns 40.1 ns 4
|
|
std::string::find;_stddev 0.840 ns 0.436 ns 4
|
|
std::string::find;_cv 2.09 % 1.08 % 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.842 ns 0.902 ns 4
|
|
std::string_view::find;_cv 1.61 % 1.72 % 4
|
|
ssa::find;_mean 19.3 ns 19.2 ns 4
|
|
ssa::find;_median 19.3 ns 19.0 ns 4
|
|
ssa::find;_stddev 0.218 ns 0.244 ns 4
|
|
ssa::find;_cv 1.13 % 1.27 % 4
|
|
stringa::find;_mean 19.4 ns 19.5 ns 4
|
|
stringa::find;_median 19.5 ns 19.5 ns 4
|
|
stringa::find;_stddev 0.316 ns 0.540 ns 4
|
|
stringa::find;_cv 1.62 % 2.78 % 4
|
|
lstringa<20>::find;_mean 17.9 ns 17.8 ns 4
|
|
lstringa<20>::find;_median 17.8 ns 17.6 ns 4
|
|
lstringa<20>::find;_stddev 0.211 ns 0.419 ns 4
|
|
lstringa<20>::find;_cv 1.18 % 2.35 % 4
|
|
lstringa<40>::find;_mean 18.1 ns 18.0 ns 4
|
|
lstringa<40>::find;_median 18.1 ns 18.0 ns 4
|
|
lstringa<40>::find;_stddev 0.226 ns 0.342 ns 4
|
|
lstringa<40>::find;_cv 1.25 % 1.90 % 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.87 ns 1.87 ns 4
|
|
std::string copy{str_with_len_N};/15_median 1.86 ns 1.86 ns 4
|
|
std::string copy{str_with_len_N};/15_stddev 0.045 ns 0.057 ns 4
|
|
std::string copy{str_with_len_N};/15_cv 2.41 % 3.05 % 4
|
|
std::string copy{str_with_len_N};/16_mean 82.8 ns 82.0 ns 4
|
|
std::string copy{str_with_len_N};/16_median 80.7 ns 80.2 ns 4
|
|
std::string copy{str_with_len_N};/16_stddev 5.42 ns 4.72 ns 4
|
|
std::string copy{str_with_len_N};/16_cv 6.55 % 5.76 % 4
|
|
std::string copy{str_with_len_N};/23_mean 80.2 ns 78.5 ns 4
|
|
std::string copy{str_with_len_N};/23_median 79.5 ns 78.5 ns 4
|
|
std::string copy{str_with_len_N};/23_stddev 2.64 ns 1.42 ns 4
|
|
std::string copy{str_with_len_N};/23_cv 3.30 % 1.81 % 4
|
|
std::string copy{str_with_len_N};/24_mean 78.8 ns 78.5 ns 4
|
|
std::string copy{str_with_len_N};/24_median 78.5 ns 78.5 ns 4
|
|
std::string copy{str_with_len_N};/24_stddev 1.06 ns 1.21 ns 4
|
|
std::string copy{str_with_len_N};/24_cv 1.35 % 1.54 % 4
|
|
std::string copy{str_with_len_N};/32_mean 86.0 ns 85.9 ns 4
|
|
std::string copy{str_with_len_N};/32_median 86.0 ns 86.3 ns 4
|
|
std::string copy{str_with_len_N};/32_stddev 1.15 ns 1.67 ns 4
|
|
std::string copy{str_with_len_N};/32_cv 1.34 % 1.94 % 4
|
|
std::string copy{str_with_len_N};/64_mean 84.4 ns 84.1 ns 4
|
|
std::string copy{str_with_len_N};/64_median 83.9 ns 84.6 ns 4
|
|
std::string copy{str_with_len_N};/64_stddev 1.84 ns 1.67 ns 4
|
|
std::string copy{str_with_len_N};/64_cv 2.19 % 1.98 % 4
|
|
std::string copy{str_with_len_N};/128_mean 90.9 ns 90.5 ns 4
|
|
std::string copy{str_with_len_N};/128_median 91.2 ns 92.1 ns 4
|
|
std::string copy{str_with_len_N};/128_stddev 2.80 ns 3.14 ns 4
|
|
std::string copy{str_with_len_N};/128_cv 3.07 % 3.47 % 4
|
|
std::string copy{str_with_len_N};/256_mean 87.4 ns 87.6 ns 4
|
|
std::string copy{str_with_len_N};/256_median 87.4 ns 87.2 ns 4
|
|
std::string copy{str_with_len_N};/256_stddev 0.312 ns 0.872 ns 4
|
|
std::string copy{str_with_len_N};/256_cv 0.36 % 1.00 % 4
|
|
std::string copy{str_with_len_N};/512_mean 90.0 ns 89.8 ns 4
|
|
std::string copy{str_with_len_N};/512_median 90.0 ns 88.9 ns 4
|
|
std::string copy{str_with_len_N};/512_stddev 1.71 ns 1.74 ns 4
|
|
std::string copy{str_with_len_N};/512_cv 1.90 % 1.94 % 4
|
|
std::string copy{str_with_len_N};/1024_mean 100 ns 99.9 ns 4
|
|
std::string copy{str_with_len_N};/1024_median 98.8 ns 98.4 ns 4
|
|
std::string copy{str_with_len_N};/1024_stddev 3.89 ns 4.94 ns 4
|
|
std::string copy{str_with_len_N};/1024_cv 3.88 % 4.95 % 4
|
|
std::string copy{str_with_len_N};/2048_mean 129 ns 128 ns 4
|
|
std::string copy{str_with_len_N};/2048_median 129 ns 127 ns 4
|
|
std::string copy{str_with_len_N};/2048_stddev 3.21 ns 3.01 ns 4
|
|
std::string copy{str_with_len_N};/2048_cv 2.50 % 2.35 % 4
|
|
std::string copy{str_with_len_N};/4096_mean 180 ns 179 ns 4
|
|
std::string copy{str_with_len_N};/4096_median 181 ns 178 ns 4
|
|
std::string copy{str_with_len_N};/4096_stddev 5.61 ns 3.67 ns 4
|
|
std::string copy{str_with_len_N};/4096_cv 3.11 % 2.05 % 4
|
|
stringa copy{str_with_len_N};/15_mean 1.32 ns 1.32 ns 4
|
|
stringa copy{str_with_len_N};/15_median 1.32 ns 1.32 ns 4
|
|
stringa copy{str_with_len_N};/15_stddev 0.024 ns 0.031 ns 4
|
|
stringa copy{str_with_len_N};/15_cv 1.83 % 2.32 % 4
|
|
stringa copy{str_with_len_N};/16_mean 1.33 ns 1.32 ns 4
|
|
stringa copy{str_with_len_N};/16_median 1.33 ns 1.33 ns 4
|
|
stringa copy{str_with_len_N};/16_stddev 0.012 ns 0.023 ns 4
|
|
stringa copy{str_with_len_N};/16_cv 0.92 % 1.76 % 4
|
|
stringa copy{str_with_len_N};/23_mean 1.33 ns 1.33 ns 4
|
|
stringa copy{str_with_len_N};/23_median 1.33 ns 1.33 ns 4
|
|
stringa copy{str_with_len_N};/23_stddev 0.047 ns 0.041 ns 4
|
|
stringa copy{str_with_len_N};/23_cv 3.49 % 3.04 % 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.084 ns 0.201 ns 4
|
|
stringa copy{str_with_len_N};/24_cv 0.53 % 1.27 % 4
|
|
stringa copy{str_with_len_N};/32_mean 15.8 ns 15.7 ns 4
|
|
stringa copy{str_with_len_N};/32_median 15.8 ns 15.7 ns 4
|
|
stringa copy{str_with_len_N};/32_stddev 0.094 ns 0.000 ns 4
|
|
stringa copy{str_with_len_N};/32_cv 0.60 % 0.00 % 4
|
|
stringa copy{str_with_len_N};/64_mean 15.8 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/64_median 15.8 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/64_stddev 0.046 ns 0.201 ns 4
|
|
stringa copy{str_with_len_N};/64_cv 0.29 % 1.27 % 4
|
|
stringa copy{str_with_len_N};/128_mean 15.9 ns 15.8 ns 4
|
|
stringa copy{str_with_len_N};/128_median 15.8 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/128_stddev 0.149 ns 0.334 ns 4
|
|
stringa copy{str_with_len_N};/128_cv 0.94 % 2.12 % 4
|
|
stringa copy{str_with_len_N};/256_mean 15.8 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/256_median 15.9 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/256_stddev 0.106 ns 0.201 ns 4
|
|
stringa copy{str_with_len_N};/256_cv 0.67 % 1.27 % 4
|
|
stringa copy{str_with_len_N};/512_mean 15.9 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/512_median 15.9 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/512_stddev 0.179 ns 0.174 ns 4
|
|
stringa copy{str_with_len_N};/512_cv 1.12 % 1.09 % 4
|
|
stringa copy{str_with_len_N};/1024_mean 15.9 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.201 ns 0.192 ns 4
|
|
stringa copy{str_with_len_N};/1024_cv 1.27 % 1.21 % 4
|
|
stringa copy{str_with_len_N};/2048_mean 15.8 ns 15.8 ns 4
|
|
stringa copy{str_with_len_N};/2048_median 15.8 ns 15.7 ns 4
|
|
stringa copy{str_with_len_N};/2048_stddev 0.035 ns 0.192 ns 4
|
|
stringa copy{str_with_len_N};/2048_cv 0.22 % 1.21 % 4
|
|
stringa copy{str_with_len_N};/4096_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/4096_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/4096_stddev 0.121 ns 0.174 ns 4
|
|
stringa copy{str_with_len_N};/4096_cv 0.76 % 1.09 % 4
|
|
lstringa<16> copy{str_with_len_N};/15_mean 1.55 ns 1.53 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_median 1.54 ns 1.53 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_stddev 0.032 ns 0.000 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_cv 2.07 % 0.00 % 4
|
|
lstringa<16> copy{str_with_len_N};/16_mean 5.54 ns 5.51 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_median 5.50 ns 5.47 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_stddev 0.131 ns 0.197 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_cv 2.36 % 3.57 % 4
|
|
lstringa<16> copy{str_with_len_N};/23_mean 5.65 ns 5.66 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_median 5.67 ns 5.70 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_stddev 0.082 ns 0.150 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_cv 1.46 % 2.64 % 4
|
|
lstringa<16> copy{str_with_len_N};/24_mean 79.9 ns 79.8 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_median 79.6 ns 79.3 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_stddev 0.864 ns 1.67 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_cv 1.08 % 2.09 % 4
|
|
lstringa<16> copy{str_with_len_N};/32_mean 87.1 ns 87.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_median 87.2 ns 87.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_stddev 0.877 ns 1.42 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_cv 1.01 % 1.63 % 4
|
|
lstringa<16> copy{str_with_len_N};/64_mean 83.3 ns 83.3 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_median 83.4 ns 83.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_stddev 0.686 ns 0.872 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_cv 0.82 % 1.05 % 4
|
|
lstringa<16> copy{str_with_len_N};/128_mean 89.2 ns 88.5 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_median 89.2 ns 88.9 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_stddev 0.670 ns 0.872 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_cv 0.75 % 0.99 % 4
|
|
lstringa<16> copy{str_with_len_N};/256_mean 90.0 ns 89.5 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_median 90.7 ns 90.0 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_stddev 1.89 ns 2.63 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_cv 2.10 % 2.94 % 4
|
|
lstringa<16> copy{str_with_len_N};/512_mean 92.9 ns 92.0 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_median 92.5 ns 91.6 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_stddev 4.57 ns 2.98 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_cv 4.92 % 3.24 % 4
|
|
lstringa<16> copy{str_with_len_N};/1024_mean 103 ns 103 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_median 102 ns 103 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_stddev 2.98 ns 3.99 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_cv 2.90 % 3.89 % 4
|
|
lstringa<16> copy{str_with_len_N};/2048_mean 124 ns 122 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_median 123 ns 121 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_stddev 2.90 ns 2.67 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_cv 2.34 % 2.19 % 4
|
|
lstringa<16> copy{str_with_len_N};/4096_mean 188 ns 187 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_median 187 ns 188 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_stddev 5.44 ns 8.63 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_cv 2.90 % 4.61 % 4
|
|
lstringa<512> copy{str_with_len_N};/15_mean 1.47 ns 1.47 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_median 1.47 ns 1.48 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_stddev 0.016 ns 0.016 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_cv 1.06 % 1.07 % 4
|
|
lstringa<512> copy{str_with_len_N};/16_mean 5.24 ns 5.20 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_median 5.21 ns 5.16 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_stddev 0.130 ns 0.176 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_cv 2.49 % 3.38 % 4
|
|
lstringa<512> copy{str_with_len_N};/23_mean 5.28 ns 5.27 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_median 5.29 ns 5.31 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_stddev 0.085 ns 0.078 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_cv 1.60 % 1.48 % 4
|
|
lstringa<512> copy{str_with_len_N};/24_mean 5.18 ns 5.16 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_median 5.17 ns 5.16 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_stddev 0.100 ns 0.128 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_cv 1.94 % 2.47 % 4
|
|
lstringa<512> copy{str_with_len_N};/32_mean 8.27 ns 8.27 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_median 8.33 ns 8.27 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_stddev 0.140 ns 0.121 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_cv 1.70 % 1.46 % 4
|
|
lstringa<512> copy{str_with_len_N};/64_mean 8.17 ns 8.15 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_median 8.16 ns 8.20 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_stddev 0.121 ns 0.087 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_cv 1.47 % 1.07 % 4
|
|
lstringa<512> copy{str_with_len_N};/128_mean 8.43 ns 8.41 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_median 8.44 ns 8.46 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_stddev 0.114 ns 0.167 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_cv 1.35 % 1.98 % 4
|
|
lstringa<512> copy{str_with_len_N};/256_mean 9.98 ns 9.94 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_median 10.0 ns 9.94 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_stddev 0.287 ns 0.270 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_cv 2.88 % 2.72 % 4
|
|
lstringa<512> copy{str_with_len_N};/512_mean 11.2 ns 11.1 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.176 ns 0.244 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_cv 1.58 % 2.20 % 4
|
|
lstringa<512> copy{str_with_len_N};/1024_mean 98.0 ns 97.8 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_median 98.6 ns 98.4 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_stddev 1.72 ns 2.63 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_cv 1.75 % 2.69 % 4
|
|
lstringa<512> copy{str_with_len_N};/2048_mean 128 ns 126 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_median 127 ns 126 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_stddev 2.44 ns 1.40 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_cv 1.91 % 1.10 % 4
|
|
lstringa<512> copy{str_with_len_N};/4096_mean 189 ns 189 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_median 188 ns 188 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_stddev 1.85 ns 1.92 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_cv 0.98 % 1.02 % 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.3 ns 31.3 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 31.3 ns 31.5 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.646 ns 0.922 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 2.07 % 2.94 % 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 13.6 ns 13.6 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 13.6 ns 13.7 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.462 ns 0.536 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 3.41 % 3.95 % 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.4 ns 13.3 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.4 ns 13.3 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.138 ns 0.181 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.03 % 1.36 % 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 12.5 ns 12.6 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.5 ns 12.6 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.062 ns 0.000 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 0.49 % 0.00 % 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.4 ns 13.3 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.3 ns 13.2 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.318 ns 0.314 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.38 % 2.35 % 4
|
|
----- Convert to unsigned 'abcDef' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_mean 33.4 ns 33.3 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 33.4 ns 33.3 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.240 ns 0.463 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 0.72 % 1.39 % 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 8.21 ns 8.20 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 8.24 ns 8.20 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.220 ns 0.285 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 2.68 % 3.47 % 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.3 ns 12.4 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.3 ns 12.3 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.324 ns 0.234 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.63 % 1.89 % 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.49 ns 7.50 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.52 ns 7.59 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.193 ns 0.247 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.57 % 3.29 % 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.8 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.075 ns 0.141 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.63 % 1.19 % 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 44.0 ns 43.8 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 44.0 ns 43.8 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.829 ns 0.544 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.89 % 1.24 % 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 16.3 ns 16.2 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 16.2 ns 16.1 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.313 ns 0.192 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 1.92 % 1.18 % 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 13.0 ns 12.9 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 13.0 ns 12.9 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.293 ns 0.395 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 2.26 % 3.05 % 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 97.7 ns 97.8 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 98.1 ns 98.4 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 1.79 ns 1.05 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 1.84 % 1.07 % 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 60.5 ns 60.3 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 60.4 ns 60.0 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 1.90 ns 1.76 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 3.14 % 2.91 % 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_mean 36.2 ns 35.7 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_median 35.3 ns 35.3 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 1.89 ns 2.66 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_cv 5.23 % 7.45 % 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 4713 ns 4708 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_median 4677 ns 4656 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 117 ns 148 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 2.48 % 3.14 % 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_mean 1083 ns 1078 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_median 1084 ns 1078 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_stddev 3.73 ns 12.1 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_cv 0.34 % 1.12 % 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 824 ns 824 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 826 ns 820 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 7.06 ns 8.72 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 0.86 % 1.06 % 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 391 ns 391 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 388 ns 389 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 10.1 ns 14.3 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 2.58 % 3.65 % 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 254 ns 253 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 254 ns 251 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 1.06 ns 2.79 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 0.42 % 1.10 % 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 134 ns 133 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 134 ns 133 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 0.915 ns 1.81 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 0.68 % 1.36 % 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 4606 ns 4578 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 4610 ns 4551 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 148 ns 216 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 3.21 % 4.71 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 3825 ns 3836 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 3785 ns 3793 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 131 ns 123 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 3.41 % 3.21 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 746 ns 746 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 751 ns 750 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 27.6 ns 36.0 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.70 % 4.82 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 468 ns 466 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 468 ns 466 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 7.70 ns 6.04 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.64 % 1.30 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 303 ns 304 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 303 ns 304 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 3.27 ns 3.62 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.08 % 1.19 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 184 ns 183 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 183 ns 182 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 4.55 ns 4.01 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.48 % 2.19 % 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 224278 ns 223625 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 224319 ns 224933 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 2538 ns 2616 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.13 % 1.17 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 192363 ns 191572 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 192618 ns 192705 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 3975 ns 4341 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.07 % 2.27 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 20974 ns 20970 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 21025 ns 20856 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 121 ns 227 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 0.58 % 1.08 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16889 ns 16846 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16724 ns 16950 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 503 ns 401 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.98 % 2.38 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16287 ns 16305 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16185 ns 16218 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 675 ns 596 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.15 % 3.65 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16280 ns 16113 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16181 ns 15904 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 454 ns 419 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.79 % 2.60 % 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 4491 ns 4449 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_median 4500 ns 4473 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_stddev 136 ns 90.2 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_cv 3.02 % 2.03 % 4
|
|
std::string str; ... str += str_var1 + str_var2;_mean 4048 ns 4026 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_median 4079 ns 4002 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_stddev 65.4 ns 90.2 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_cv 1.62 % 2.24 % 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_mean 813 ns 815 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_median 815 ns 820 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 6.32 ns 8.72 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_cv 0.78 % 1.07 % 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_mean 526 ns 523 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_median 529 ns 523 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 11.7 ns 9.02 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_cv 2.23 % 1.72 % 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_mean 398 ns 397 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_median 397 ns 397 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 8.73 ns 5.03 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_cv 2.19 % 1.27 % 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 295 ns 295 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_median 296 ns 295 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 4.26 ns 5.13 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 1.44 % 1.74 % 4
|
|
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; str << "test = " << k << " times";_mean 10555 ns 10559 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_median 10543 ns 10498 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_stddev 149 ns 122 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_cv 1.41 % 1.16 % 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_mean 1061 ns 1062 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_median 1059 ns 1062 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_stddev 15.9 ns 14.1 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_cv 1.50 % 1.33 % 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2843 ns 2816 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2871 ns 2816 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 69.1 ns 85.6 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 2.43 % 3.04 % 4
|
|
std::string str = std::format("test = {} times", k);_mean 1908 ns 1909 ns 4
|
|
std::string str = std::format("test = {} times", k);_median 1913 ns 1918 ns 4
|
|
std::string str = std::format("test = {} times", k);_stddev 24.0 ns 19.2 ns 4
|
|
std::string str = std::format("test = {} times", k);_cv 1.26 % 1.01 % 4
|
|
lstringa<8> str; str.format("test = {} times", k);_mean 2056 ns 2063 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_median 2047 ns 2040 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_stddev 23.2 ns 45.3 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_cv 1.13 % 2.20 % 4
|
|
lstringa<32> str; str.format("test = {} times", k);_mean 1029 ns 1025 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_median 1037 ns 1032 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_stddev 23.6 ns 14.0 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_cv 2.30 % 1.36 % 4
|
|
lstringa<8> str = "test = " + k + " times";_mean 832 ns 833 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_median 827 ns 828 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_stddev 30.1 ns 29.8 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_cv 3.61 % 3.58 % 4
|
|
lstringa<32> str = "test = " + k + " times";_mean 138 ns 138 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_median 137 ns 138 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_stddev 3.46 ns 3.60 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_cv 2.51 % 2.61 % 4
|
|
stringa str = "test = " + k + " times";_mean 123 ns 123 ns 4
|
|
stringa str = "test = " + k + " times";_median 122 ns 122 ns 4
|
|
stringa str = "test = " + k + " times";_stddev 3.14 ns 3.66 ns 4
|
|
stringa str = "test = " + k + " times";_cv 2.56 % 2.99 % 4
|
|
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string::find + substr + std::strtol_mean 549 ns 544 ns 4
|
|
std::string::find + substr + std::strtol_median 544 ns 544 ns 4
|
|
std::string::find + substr + std::strtol_stddev 13.7 ns 11.4 ns 4
|
|
std::string::find + substr + std::strtol_cv 2.50 % 2.09 % 4
|
|
ssa::splitter + ssa::as_int_mean 164 ns 164 ns 4
|
|
ssa::splitter + ssa::as_int_median 164 ns 165 ns 4
|
|
ssa::splitter + ssa::as_int_stddev 1.48 ns 1.92 ns 4
|
|
ssa::splitter + ssa::as_int_cv 0.90 % 1.17 % 4
|
|
ssa::splitf + functor_mean 188 ns 187 ns 4
|
|
ssa::splitf + functor_median 187 ns 186 ns 4
|
|
ssa::splitf + functor_stddev 2.06 ns 2.27 ns 4
|
|
ssa::splitf + functor_cv 1.10 % 1.21 % 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 1161 ns 1151 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_median 1161 ns 1158 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_stddev 25.1 ns 26.7 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_cv 2.16 % 2.32 % 4
|
|
replace symbols with std::string find_first_of + replace_mean 2012 ns 2009 ns 4
|
|
replace symbols with std::string find_first_of + replace_median 2012 ns 2009 ns 4
|
|
replace symbols with std::string find_first_of + replace_stddev 40.9 ns 34.2 ns 4
|
|
replace symbols with std::string find_first_of + replace_cv 2.03 % 1.70 % 4
|
|
replace symbols with std::string_view find_first_of + copy_mean 2385 ns 2372 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_median 2381 ns 2372 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_stddev 17.9 ns 32.2 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_cv 0.75 % 1.36 % 4
|
|
replace runtime symbols with string expressions and without remembering all search results_mean 1607 ns 1604 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_median 1592 ns 1604 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_stddev 48.8 ns 57.0 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_cv 3.04 % 3.55 % 4
|
|
replace runtime symbols with simstr and memorization of all search results_mean 1371 ns 1360 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_median 1378 ns 1360 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_stddev 31.0 ns 40.3 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_cv 2.26 % 2.96 % 4
|
|
replace const symbols with string expressions and without remembering all search results_mean 1229 ns 1207 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_median 1230 ns 1200 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_stddev 24.0 ns 14.0 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_cv 1.96 % 1.16 % 4
|
|
replace const symbols with string expressions and memorization of all search results_mean 1149 ns 1147 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_median 1156 ns 1160 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_stddev 21.8 ns 34.5 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_cv 1.90 % 3.01 % 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 305 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_median 307 ns 303 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 6.19 ns 6.68 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.01 % 2.19 % 4
|
|
Short replace symbols with std::string find_first_of + replace_mean 358 ns 357 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_median 361 ns 361 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_stddev 9.95 ns 13.9 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_cv 2.78 % 3.89 % 4
|
|
Short replace symbols with std::string_view find_first_of + copy_mean 313 ns 311 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_median 314 ns 311 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_stddev 2.86 ns 5.41 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_cv 0.91 % 1.74 % 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_mean 276 ns 277 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_median 276 ns 279 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_stddev 8.82 ns 8.89 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_cv 3.20 % 3.21 % 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_mean 345 ns 343 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_median 346 ns 345 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_stddev 1.97 ns 4.01 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_cv 0.57 % 1.17 % 4
|
|
Short replace const symbols with string expressions and without remembering all search results_mean 212 ns 211 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_median 209 ns 210 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_stddev 6.03 ns 6.14 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_cv 2.85 % 2.91 % 4
|
|
Short replace const symbols with string expressions and memorization of all search results_mean 294 ns 293 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_median 294 ns 292 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_stddev 0.944 ns 3.84 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_cv 0.32 % 1.31 % 4
|
|
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to ---- in std::string|64_mean 219 ns 219 ns 4
|
|
replace bb to ---- in std::string|64_median 219 ns 217 ns 4
|
|
replace bb to ---- in std::string|64_stddev 4.02 ns 4.67 ns 4
|
|
replace bb to ---- in std::string|64_cv 1.84 % 2.14 % 4
|
|
replace bb to ---- in std::string|256_mean 750 ns 750 ns 4
|
|
replace bb to ---- in std::string|256_median 754 ns 750 ns 4
|
|
replace bb to ---- in std::string|256_stddev 27.5 ns 31.8 ns 4
|
|
replace bb to ---- in std::string|256_cv 3.66 % 4.25 % 4
|
|
replace bb to ---- in std::string|512_mean 1352 ns 1353 ns 4
|
|
replace bb to ---- in std::string|512_median 1360 ns 1367 ns 4
|
|
replace bb to ---- in std::string|512_stddev 23.4 ns 27.9 ns 4
|
|
replace bb to ---- in std::string|512_cv 1.73 % 2.06 % 4
|
|
replace bb to ---- in std::string|1024_mean 3028 ns 3032 ns 4
|
|
replace bb to ---- in std::string|1024_median 3028 ns 3048 ns 4
|
|
replace bb to ---- in std::string|1024_stddev 31.3 ns 33.1 ns 4
|
|
replace bb to ---- in std::string|1024_cv 1.03 % 1.09 % 4
|
|
replace bb to ---- in std::string|2048_mean 7680 ns 7629 ns 4
|
|
replace bb to ---- in std::string|2048_median 7610 ns 7499 ns 4
|
|
replace bb to ---- in std::string|2048_stddev 197 ns 262 ns 4
|
|
replace bb to ---- in std::string|2048_cv 2.57 % 3.43 % 4
|
|
replace bb to ---- in lstringa<8>|64_mean 217 ns 215 ns 4
|
|
replace bb to ---- in lstringa<8>|64_median 219 ns 218 ns 4
|
|
replace bb to ---- in lstringa<8>|64_stddev 7.25 ns 7.85 ns 4
|
|
replace bb to ---- in lstringa<8>|64_cv 3.34 % 3.65 % 4
|
|
replace bb to ---- in lstringa<8>|256_mean 609 ns 609 ns 4
|
|
replace bb to ---- in lstringa<8>|256_median 611 ns 609 ns 4
|
|
replace bb to ---- in lstringa<8>|256_stddev 15.0 ns 18.0 ns 4
|
|
replace bb to ---- in lstringa<8>|256_cv 2.47 % 2.96 % 4
|
|
replace bb to ---- in lstringa<8>|512_mean 1052 ns 1056 ns 4
|
|
replace bb to ---- in lstringa<8>|512_median 1054 ns 1050 ns 4
|
|
replace bb to ---- in lstringa<8>|512_stddev 30.2 ns 36.6 ns 4
|
|
replace bb to ---- in lstringa<8>|512_cv 2.87 % 3.47 % 4
|
|
replace bb to ---- in lstringa<8>|1024_mean 1878 ns 1873 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_median 1881 ns 1904 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_stddev 59.8 ns 79.2 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_cv 3.18 % 4.23 % 4
|
|
replace bb to ---- in lstringa<8>|2048_mean 3548 ns 3510 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_median 3519 ns 3449 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_stddev 118 ns 120 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_cv 3.32 % 3.43 % 4
|
|
replace bb to ---- by init stringa|64_mean 162 ns 162 ns 4
|
|
replace bb to ---- by init stringa|64_median 162 ns 164 ns 4
|
|
replace bb to ---- by init stringa|64_stddev 3.71 ns 3.49 ns 4
|
|
replace bb to ---- by init stringa|64_cv 2.29 % 2.15 % 4
|
|
replace bb to ---- by init stringa|256_mean 363 ns 363 ns 4
|
|
replace bb to ---- by init stringa|256_median 363 ns 365 ns 4
|
|
replace bb to ---- by init stringa|256_stddev 4.53 ns 7.68 ns 4
|
|
replace bb to ---- by init stringa|256_cv 1.25 % 2.12 % 4
|
|
replace bb to ---- by init stringa|512_mean 789 ns 789 ns 4
|
|
replace bb to ---- by init stringa|512_median 795 ns 793 ns 4
|
|
replace bb to ---- by init stringa|512_stddev 13.0 ns 16.7 ns 4
|
|
replace bb to ---- by init stringa|512_cv 1.65 % 2.12 % 4
|
|
replace bb to ---- by init stringa|1024_mean 1587 ns 1578 ns 4
|
|
replace bb to ---- by init stringa|1024_median 1580 ns 1569 ns 4
|
|
replace bb to ---- by init stringa|1024_stddev 47.3 ns 43.9 ns 4
|
|
replace bb to ---- by init stringa|1024_cv 2.98 % 2.78 % 4
|
|
replace bb to ---- by init stringa|2048_mean 2912 ns 2916 ns 4
|
|
replace bb to ---- by init stringa|2048_median 2914 ns 2916 ns 4
|
|
replace bb to ---- by init stringa|2048_stddev 31.5 ns 0.000 ns 4
|
|
replace bb to ---- by init stringa|2048_cv 1.08 % 0.00 % 4
|
|
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to -- in std::string|64_mean 181 ns 181 ns 4
|
|
replace bb to -- in std::string|64_median 181 ns 180 ns 4
|
|
replace bb to -- in std::string|64_stddev 2.34 ns 1.92 ns 4
|
|
replace bb to -- in std::string|64_cv 1.29 % 1.06 % 4
|
|
replace bb to -- in std::string|256_mean 480 ns 479 ns 4
|
|
replace bb to -- in std::string|256_median 482 ns 481 ns 4
|
|
replace bb to -- in std::string|256_stddev 16.6 ns 15.7 ns 4
|
|
replace bb to -- in std::string|256_cv 3.47 % 3.28 % 4
|
|
replace bb to -- in std::string|512_mean 826 ns 821 ns 4
|
|
replace bb to -- in std::string|512_median 827 ns 816 ns 4
|
|
replace bb to -- in std::string|512_stddev 18.6 ns 31.4 ns 4
|
|
replace bb to -- in std::string|512_cv 2.25 % 3.82 % 4
|
|
replace bb to -- in std::string|1024_mean 1598 ns 1593 ns 4
|
|
replace bb to -- in std::string|1024_median 1594 ns 1601 ns 4
|
|
replace bb to -- in std::string|1024_stddev 14.1 ns 15.7 ns 4
|
|
replace bb to -- in std::string|1024_cv 0.88 % 0.99 % 4
|
|
replace bb to -- in std::string|2048_mean 3822 ns 3788 ns 4
|
|
replace bb to -- in std::string|2048_median 3798 ns 3767 ns 4
|
|
replace bb to -- in std::string|2048_stddev 98.9 ns 105 ns 4
|
|
replace bb to -- in std::string|2048_cv 2.59 % 2.78 % 4
|
|
replace bb to -- in lstringa<8>|64_mean 174 ns 174 ns 4
|
|
replace bb to -- in lstringa<8>|64_median 175 ns 173 ns 4
|
|
replace bb to -- in lstringa<8>|64_stddev 4.46 ns 4.83 ns 4
|
|
replace bb to -- in lstringa<8>|64_cv 2.56 % 2.78 % 4
|
|
replace bb to -- in lstringa<8>|256_mean 429 ns 431 ns 4
|
|
replace bb to -- in lstringa<8>|256_median 426 ns 431 ns 4
|
|
replace bb to -- in lstringa<8>|256_stddev 8.03 ns 5.24 ns 4
|
|
replace bb to -- in lstringa<8>|256_cv 1.87 % 1.22 % 4
|
|
replace bb to -- in lstringa<8>|512_mean 733 ns 732 ns 4
|
|
replace bb to -- in lstringa<8>|512_median 734 ns 732 ns 4
|
|
replace bb to -- in lstringa<8>|512_stddev 10.9 ns 14.2 ns 4
|
|
replace bb to -- in lstringa<8>|512_cv 1.48 % 1.94 % 4
|
|
replace bb to -- in lstringa<8>|1024_mean 1377 ns 1374 ns 4
|
|
replace bb to -- in lstringa<8>|1024_median 1381 ns 1381 ns 4
|
|
replace bb to -- in lstringa<8>|1024_stddev 25.4 ns 26.7 ns 4
|
|
replace bb to -- in lstringa<8>|1024_cv 1.84 % 1.94 % 4
|
|
replace bb to -- in lstringa<8>|2048_mean 2655 ns 2665 ns 4
|
|
replace bb to -- in lstringa<8>|2048_median 2658 ns 2679 ns 4
|
|
replace bb to -- in lstringa<8>|2048_stddev 47.7 ns 27.9 ns 4
|
|
replace bb to -- in lstringa<8>|2048_cv 1.80 % 1.05 % 4
|
|
replace bb to -- by init stringa|64_mean 150 ns 148 ns 4
|
|
replace bb to -- by init stringa|64_median 150 ns 151 ns 4
|
|
replace bb to -- by init stringa|64_stddev 0.971 ns 4.71 ns 4
|
|
replace bb to -- by init stringa|64_cv 0.65 % 3.17 % 4
|
|
replace bb to -- by init stringa|256_mean 325 ns 324 ns 4
|
|
replace bb to -- by init stringa|256_median 327 ns 326 ns 4
|
|
replace bb to -- by init stringa|256_stddev 7.08 ns 7.01 ns 4
|
|
replace bb to -- by init stringa|256_cv 2.18 % 2.16 % 4
|
|
replace bb to -- by init stringa|512_mean 519 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 11.3 ns 7.81 ns 4
|
|
replace bb to -- by init stringa|512_cv 2.18 % 1.50 % 4
|
|
replace bb to -- by init stringa|1024_mean 1010 ns 1004 ns 4
|
|
replace bb to -- by init stringa|1024_median 1004 ns 984 ns 4
|
|
replace bb to -- by init stringa|1024_stddev 33.7 ns 41.9 ns 4
|
|
replace bb to -- by init stringa|1024_cv 3.33 % 4.17 % 4
|
|
replace bb to -- by init stringa|2048_mean 1741 ns 1746 ns 4
|
|
replace bb to -- by init stringa|2048_median 1744 ns 1746 ns 4
|
|
replace bb to -- by init stringa|2048_stddev 29.7 ns 22.2 ns 4
|
|
replace bb to -- by init stringa|2048_cv 1.71 % 1.27 % 4
|
|
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
hashStrMapA<size_t> emplace & find stringa;_mean 4020366 ns 3993541 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_median 4027278 ns 3971718 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_stddev 58686 ns 83574 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_cv 1.46 % 2.09 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5598760 ns 5625000 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5570685 ns 5625000 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 117108 ns 127578 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 2.09 % 2.27 % 4
|
|
hashStrMapA<size_t> emplace & find ssa;_mean 3439706 ns 3445513 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_median 3443476 ns 3445513 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_stddev 17159 ns 0.000 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_cv 0.50 % 0.00 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 7068855 ns 7031250 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 7075086 ns 7031250 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 78812 ns 100234 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 1.11 % 1.43 % 4
|
|
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Build func full name std::string;_mean 1506 ns 1508 ns 4
|
|
Build func full name std::string;_median 1515 ns 1517 ns 4
|
|
Build func full name std::string;_stddev 26.4 ns 33.4 ns 4
|
|
Build func full name std::string;_cv 1.75 % 2.21 % 4
|
|
Build func full name std::string 1;_mean 1582 ns 1578 ns 4
|
|
Build func full name std::string 1;_median 1577 ns 1569 ns 4
|
|
Build func full name std::string 1;_stddev 27.0 ns 52.3 ns 4
|
|
Build func full name std::string 1;_cv 1.71 % 3.31 % 4
|
|
Build func full name std::stream;_mean 8167 ns 8161 ns 4
|
|
Build func full name std::stream;_median 8225 ns 8266 ns 4
|
|
Build func full name std::stream;_stddev 207 ns 296 ns 4
|
|
Build func full name std::stream;_cv 2.53 % 3.63 % 4
|
|
Build func full name stringa;_mean 790 ns 793 ns 4
|
|
Build func full name stringa;_median 793 ns 793 ns 4
|
|
Build func full name stringa;_stddev 23.0 ns 30.2 ns 4
|
|
Build func full name stringa;_cv 2.91 % 3.81 % 4
|
|
Build func full name stringa 1;_mean 877 ns 874 ns 4
|
|
Build func full name stringa 1;_median 882 ns 879 ns 4
|
|
Build func full name stringa 1;_stddev 24.9 ns 31.4 ns 4
|
|
Build func full name stringa 1;_cv 2.83 % 3.59 % 4
|
|
----- Make Upper ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
To upper case std::wstring_mean 1526 ns 1522 ns 4
|
|
To upper case std::wstring_median 1528 ns 1522 ns 4
|
|
To upper case std::wstring_stddev 40.3 ns 40.5 ns 4
|
|
To upper case std::wstring_cv 2.64 % 2.66 % 4
|
|
To upper case lstringw<15>_mean 40.3 ns 40.3 ns 4
|
|
To upper case lstringw<15>_median 40.1 ns 40.0 ns 4
|
|
To upper case lstringw<15>_stddev 0.578 ns 0.902 ns 4
|
|
To upper case lstringw<15>_cv 1.43 % 2.24 % 4
|