mirror of https://github.com/orefkov/simstr.git
988 lines
146 KiB
Plaintext
988 lines
146 KiB
Plaintext
Benchmarks of simstr, version 1.8.1
|
|
Sources: https://github.com/orefkov/simstr
|
|
Results: https://orefkov.github.io/simstr/results.html
|
|
Compiler Clang 22.1.0
|
|
2026-03-22T14:13:24+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 201 ns 198 ns 4
|
|
Concat email std::format_median 202 ns 197 ns 4
|
|
Concat email std::format_stddev 3.07 ns 4.34 ns 4
|
|
Concat email std::format_cv 1.52 % 2.19 % 4
|
|
Concat email std::stringstream_mean 830 ns 827 ns 4
|
|
Concat email std::stringstream_median 834 ns 827 ns 4
|
|
Concat email std::stringstream_stddev 18.5 ns 12.1 ns 4
|
|
Concat email std::stringstream_cv 2.23 % 1.46 % 4
|
|
Concat email stringzilla append_mean 273 ns 271 ns 4
|
|
Concat email stringzilla append_median 274 ns 273 ns 4
|
|
Concat email stringzilla append_stddev 3.38 ns 2.96 ns 4
|
|
Concat email stringzilla append_cv 1.24 % 1.09 % 4
|
|
Concat email stringzilla concat_mean 126 ns 127 ns 4
|
|
Concat email stringzilla concat_median 127 ns 127 ns 4
|
|
Concat email stringzilla concat_stddev 1.88 ns 1.61 ns 4
|
|
Concat email stringzilla concat_cv 1.48 % 1.27 % 4
|
|
Concat email std::string append_mean 187 ns 185 ns 4
|
|
Concat email std::string append_median 187 ns 184 ns 4
|
|
Concat email std::string append_stddev 2.11 ns 2.09 ns 4
|
|
Concat email std::string append_cv 1.13 % 1.13 % 4
|
|
Concat email std::string by strexpr_mean 104 ns 104 ns 4
|
|
Concat email std::string by strexpr_median 103 ns 104 ns 4
|
|
Concat email std::string by strexpr_stddev 1.83 ns 2.00 ns 4
|
|
Concat email std::string by strexpr_cv 1.76 % 1.92 % 4
|
|
Concat email stringa_mean 94.4 ns 94.2 ns 4
|
|
Concat email stringa_median 94.9 ns 94.2 ns 4
|
|
Concat email stringa_stddev 2.21 ns 1.71 ns 4
|
|
Concat email stringa_cv 2.34 % 1.81 % 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 268 ns 268 ns 4
|
|
Concat std::string and number by std to std::string_median 267 ns 267 ns 4
|
|
Concat std::string and number by std to std::string_stddev 7.57 ns 10.7 ns 4
|
|
Concat std::string and number by std to std::string_cv 2.83 % 3.99 % 4
|
|
Concat std::string and number by StrExpr to std::string_mean 160 ns 160 ns 4
|
|
Concat std::string and number by StrExpr to std::string_median 160 ns 160 ns 4
|
|
Concat std::string and number by StrExpr to std::string_stddev 4.44 ns 4.39 ns 4
|
|
Concat std::string and number by StrExpr to std::string_cv 2.78 % 2.75 % 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_mean 68.7 ns 68.4 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_median 68.4 ns 68.4 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_stddev 1.17 ns 0.000 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_cv 1.70 % 0.00 % 4
|
|
Concat stringa and number by e_concat to simstr::stringa_mean 74.2 ns 74.3 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_median 74.1 ns 73.9 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_stddev 0.363 ns 0.698 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_cv 0.49 % 0.94 % 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 725 ns 722 ns 4
|
|
Concat std::string and format hex number and literal to std::string_median 727 ns 725 ns 4
|
|
Concat std::string and format hex number and literal to std::string_stddev 8.98 ns 6.98 ns 4
|
|
Concat std::string and format hex number and literal to std::string_cv 1.24 % 0.97 % 4
|
|
std::format std::string and hex number by literal to std::string_mean 1525 ns 1508 ns 4
|
|
std::format std::string and hex number by literal to std::string_median 1525 ns 1517 ns 4
|
|
std::format std::string and hex number by literal to std::string_stddev 29.4 ns 33.4 ns 4
|
|
std::format std::string and hex number by literal to std::string_cv 1.93 % 2.21 % 4
|
|
Concat std::string and std::to_chars and string to std::string_mean 188 ns 186 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_median 189 ns 186 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_stddev 3.60 ns 2.42 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_cv 1.91 % 1.30 % 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_mean 84.6 ns 84.1 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_median 85.1 ns 84.6 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_stddev 1.31 ns 1.67 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_cv 1.55 % 1.98 % 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 71.4 ns 71.1 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 71.3 ns 70.6 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 1.52 ns 1.67 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 2.12 % 2.35 % 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 76.9 ns 76.3 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 77.0 ns 75.9 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 0.926 ns 1.67 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 1.20 % 2.19 % 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 149 ns 150 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_median 149 ns 149 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 2.26 ns 3.01 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 1.51 % 2.01 % 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 287 ns 287 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 286 ns 285 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 5.37 ns 8.34 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 1.87 % 2.91 % 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 639 ns 635 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 637 ns 635 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 5.27 ns 18.0 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 0.83 % 2.84 % 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 750 ns 746 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 749 ns 753 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 11.7 ns 14.0 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 1.56 % 1.87 % 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_mean 1070 ns 1067 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_median 1070 ns 1057 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 27.0 ns 29.6 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_cv 2.52 % 2.77 % 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 1433 ns 1437 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 1440 ns 1451 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 38.0 ns 27.9 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 2.65 % 1.94 % 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 1327 ns 1318 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 1310 ns 1297 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 39.9 ns 52.8 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 3.01 % 4.01 % 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 1568 ns 1569 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_median 1565 ns 1569 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 20.6 ns 28.5 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 1.32 % 1.81 % 4
|
|
std::vformat(pattern, std::make_format_args(i))_mean 1555 ns 1543 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_median 1546 ns 1552 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_stddev 40.0 ns 33.4 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_cv 2.57 % 2.16 % 4
|
|
std::format with std::formatted_size_mean 2496 ns 2490 ns 4
|
|
std::format with std::formatted_size_median 2488 ns 2490 ns 4
|
|
std::format with std::formatted_size_stddev 31.6 ns 68.5 ns 4
|
|
std::format with std::formatted_size_cv 1.27 % 2.75 % 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 6707 ns 6731 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 6709 ns 6766 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 106 ns 134 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 1.58 % 1.98 % 4
|
|
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat std::string by std to std::string_mean 42.2 ns 42.2 ns 4
|
|
Concat std::string by std to std::string_median 41.7 ns 42.2 ns 4
|
|
Concat std::string by std to std::string_stddev 1.16 ns 1.17 ns 4
|
|
Concat std::string by std to std::string_cv 2.76 % 2.78 % 4
|
|
Concat std::string by StrExpr to std::string_mean 39.3 ns 39.5 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.441 ns 0.436 ns 4
|
|
Concat std::string by StrExpr to std::string_cv 1.12 % 1.10 % 4
|
|
Concat stringa by StrExpr to stringa_mean 30.6 ns 30.2 ns 4
|
|
Concat stringa by StrExpr to stringa_median 30.5 ns 30.0 ns 4
|
|
Concat stringa by StrExpr to stringa_stddev 0.672 ns 0.349 ns 4
|
|
Concat stringa by StrExpr to stringa_cv 2.20 % 1.16 % 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 204 ns 4
|
|
Find concat three std::string_median 206 ns 204 ns 4
|
|
Find concat three std::string_stddev 2.29 ns 5.24 ns 4
|
|
Find concat three std::string_cv 1.11 % 2.57 % 4
|
|
Find concat three strexpr_mean 113 ns 112 ns 4
|
|
Find concat three strexpr_median 112 ns 113 ns 4
|
|
Find concat three strexpr_stddev 3.29 ns 2.67 ns 4
|
|
Find concat three strexpr_cv 2.92 % 2.38 % 4
|
|
Find concat three simstr_mean 21.2 ns 21.2 ns 4
|
|
Find concat three simstr_median 21.0 ns 21.1 ns 4
|
|
Find concat three simstr_stddev 0.696 ns 0.774 ns 4
|
|
Find concat three simstr_cv 3.29 % 3.65 % 4
|
|
Find concat three stringzilla string_mean 215 ns 215 ns 4
|
|
Find concat three stringzilla string_median 215 ns 215 ns 4
|
|
Find concat three stringzilla string_stddev 1.86 ns 3.99 ns 4
|
|
Find concat three stringzilla string_cv 0.86 % 1.86 % 4
|
|
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
BuildTypeNameStr 0/0_mean 8.34 ns 8.37 ns 4
|
|
BuildTypeNameStr 0/0_median 8.34 ns 8.37 ns 4
|
|
BuildTypeNameStr 0/0_stddev 0.055 ns 0.000 ns 4
|
|
BuildTypeNameStr 0/0_cv 0.66 % 0.00 % 4
|
|
BuildTypeNameExp 0/0_mean 7.67 ns 7.59 ns 4
|
|
BuildTypeNameExp 0/0_median 7.68 ns 7.59 ns 4
|
|
BuildTypeNameExp 0/0_stddev 0.232 ns 0.225 ns 4
|
|
BuildTypeNameExp 0/0_cv 3.03 % 2.97 % 4
|
|
BuildTypeNameSim 0/0_mean 7.90 ns 7.85 ns 4
|
|
BuildTypeNameSim 0/0_median 7.83 ns 7.76 ns 4
|
|
BuildTypeNameSim 0/0_stddev 0.149 ns 0.247 ns 4
|
|
BuildTypeNameSim 0/0_cv 1.89 % 3.14 % 4
|
|
BuildTypeNameStr 10/10_mean 79.5 ns 79.8 ns 4
|
|
BuildTypeNameStr 10/10_median 79.5 ns 79.3 ns 4
|
|
BuildTypeNameStr 10/10_stddev 2.19 ns 1.67 ns 4
|
|
BuildTypeNameStr 10/10_cv 2.75 % 2.09 % 4
|
|
BuildTypeNameExp 10/10_mean 33.1 ns 33.1 ns 4
|
|
BuildTypeNameExp 10/10_median 32.9 ns 33.0 ns 4
|
|
BuildTypeNameExp 10/10_stddev 0.775 ns 0.922 ns 4
|
|
BuildTypeNameExp 10/10_cv 2.34 % 2.78 % 4
|
|
BuildTypeNameSim 10/10_mean 25.2 ns 25.2 ns 4
|
|
BuildTypeNameSim 10/10_median 25.2 ns 25.2 ns 4
|
|
BuildTypeNameSim 10/10_stddev 0.364 ns 0.342 ns 4
|
|
BuildTypeNameSim 10/10_cv 1.45 % 1.36 % 4
|
|
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat with replace str_mean 315 ns 312 ns 4
|
|
Concat with replace str_median 314 ns 314 ns 4
|
|
Concat with replace str_stddev 5.64 ns 3.49 ns 4
|
|
Concat with replace str_cv 1.79 % 1.12 % 4
|
|
Concat with replace exp_mean 220 ns 220 ns 4
|
|
Concat with replace exp_median 219 ns 222 ns 4
|
|
Concat with replace exp_stddev 6.89 ns 6.91 ns 4
|
|
Concat with replace exp_cv 3.13 % 3.14 % 4
|
|
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e;_mean 1.12 ns 1.12 ns 4
|
|
std::string e;_median 1.12 ns 1.12 ns 4
|
|
std::string e;_stddev 0.012 ns 0.012 ns 4
|
|
std::string e;_cv 1.11 % 1.09 % 4
|
|
std::string_view e;_mean 0.369 ns 0.369 ns 4
|
|
std::string_view e;_median 0.369 ns 0.369 ns 4
|
|
std::string_view e;_stddev 0.002 ns 0.000 ns 4
|
|
std::string_view e;_cv 0.66 % 0.00 % 4
|
|
ssa e;_mean 0.362 ns 0.359 ns 4
|
|
ssa e;_median 0.363 ns 0.361 ns 4
|
|
ssa e;_stddev 0.003 ns 0.004 ns 4
|
|
ssa e;_cv 0.91 % 1.12 % 4
|
|
stringa e;_mean 0.745 ns 0.746 ns 4
|
|
stringa e;_median 0.744 ns 0.746 ns 4
|
|
stringa e;_stddev 0.004 ns 0.008 ns 4
|
|
stringa e;_cv 0.54 % 1.08 % 4
|
|
lstringa<20> e;_mean 1.10 ns 1.09 ns 4
|
|
lstringa<20> e;_median 1.10 ns 1.09 ns 4
|
|
lstringa<20> e;_stddev 0.015 ns 0.023 ns 4
|
|
lstringa<20> e;_cv 1.36 % 2.14 % 4
|
|
lstringa<40> e;_mean 1.11 ns 1.10 ns 4
|
|
lstringa<40> e;_median 1.11 ns 1.10 ns 4
|
|
lstringa<40> e;_stddev 0.015 ns 0.016 ns 4
|
|
lstringa<40> e;_cv 1.33 % 1.46 % 4
|
|
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "Test text";_mean 1.84 ns 1.82 ns 4
|
|
std::string e = "Test text";_median 1.85 ns 1.82 ns 4
|
|
std::string e = "Test text";_stddev 0.023 ns 0.024 ns 4
|
|
std::string e = "Test text";_cv 1.27 % 1.33 % 4
|
|
std::string_view e = "Test text";_mean 0.741 ns 0.743 ns 4
|
|
std::string_view e = "Test text";_median 0.741 ns 0.746 ns 4
|
|
std::string_view e = "Test text";_stddev 0.009 ns 0.013 ns 4
|
|
std::string_view e = "Test text";_cv 1.25 % 1.80 % 4
|
|
ssa e = "Test text";_mean 0.369 ns 0.367 ns 4
|
|
ssa e = "Test text";_median 0.368 ns 0.369 ns 4
|
|
ssa e = "Test text";_stddev 0.008 ns 0.004 ns 4
|
|
ssa e = "Test text";_cv 2.15 % 1.09 % 4
|
|
stringa e = "Test text";_mean 1.11 ns 1.11 ns 4
|
|
stringa e = "Test text";_median 1.11 ns 1.11 ns 4
|
|
stringa e = "Test text";_stddev 0.011 ns 0.014 ns 4
|
|
stringa e = "Test text";_cv 1.02 % 1.27 % 4
|
|
lstringa<20> e = "Test text";_mean 1.84 ns 1.82 ns 4
|
|
lstringa<20> e = "Test text";_median 1.85 ns 1.80 ns 4
|
|
lstringa<20> e = "Test text";_stddev 0.028 ns 0.042 ns 4
|
|
lstringa<20> e = "Test text";_cv 1.55 % 2.30 % 4
|
|
lstringa<40> e = "Test text";_mean 1.85 ns 1.82 ns 4
|
|
lstringa<40> e = "Test text";_median 1.83 ns 1.79 ns 4
|
|
lstringa<40> e = "Test text";_stddev 0.063 ns 0.086 ns 4
|
|
lstringa<40> e = "Test text";_cv 3.39 % 4.70 % 4
|
|
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "123456789012345678901234567890";_mean 73.9 ns 73.7 ns 4
|
|
std::string e = "123456789012345678901234567890";_median 74.4 ns 74.1 ns 4
|
|
std::string e = "123456789012345678901234567890";_stddev 0.956 ns 1.67 ns 4
|
|
std::string e = "123456789012345678901234567890";_cv 1.29 % 2.27 % 4
|
|
std::string_view e = "123456789012345678901234567890";_mean 0.736 ns 0.736 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_median 0.735 ns 0.739 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_stddev 0.009 ns 0.007 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_cv 1.22 % 0.95 % 4
|
|
ssa e = "123456789012345678901234567890";_mean 0.369 ns 0.369 ns 4
|
|
ssa e = "123456789012345678901234567890";_median 0.369 ns 0.369 ns 4
|
|
ssa e = "123456789012345678901234567890";_stddev 0.004 ns 0.007 ns 4
|
|
ssa e = "123456789012345678901234567890";_cv 1.03 % 1.77 % 4
|
|
stringa e = "123456789012345678901234567890";_mean 1.11 ns 1.11 ns 4
|
|
stringa e = "123456789012345678901234567890";_median 1.11 ns 1.11 ns 4
|
|
stringa e = "123456789012345678901234567890";_stddev 0.010 ns 0.014 ns 4
|
|
stringa e = "123456789012345678901234567890";_cv 0.93 % 1.27 % 4
|
|
lstringa<20> e = "123456789012345678901234567890";_mean 73.1 ns 73.2 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_median 72.7 ns 73.2 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_stddev 1.20 ns 1.42 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_cv 1.64 % 1.94 % 4
|
|
lstringa<40> e = "123456789012345678901234567890";_mean 2.56 ns 2.55 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_median 2.56 ns 2.57 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_stddev 0.031 ns 0.028 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_cv 1.22 % 1.09 % 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.84 ns 1.83 ns 4
|
|
std::string e = "Test text"; auto c{e};_median 1.84 ns 1.82 ns 4
|
|
std::string e = "Test text"; auto c{e};_stddev 0.028 ns 0.040 ns 4
|
|
std::string e = "Test text"; auto c{e};_cv 1.53 % 2.19 % 4
|
|
std::string_view e = "Test text"; auto c{e};_mean 0.373 ns 0.371 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_median 0.373 ns 0.373 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_stddev 0.001 ns 0.008 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_cv 0.38 % 2.07 % 4
|
|
ssa e = "Test text"; auto c{e};_mean 0.380 ns 0.377 ns 4
|
|
ssa e = "Test text"; auto c{e};_median 0.380 ns 0.377 ns 4
|
|
ssa e = "Test text"; auto c{e};_stddev 0.006 ns 0.007 ns 4
|
|
ssa e = "Test text"; auto c{e};_cv 1.71 % 1.74 % 4
|
|
stringa e = "Test text"; auto c{e};_mean 1.10 ns 1.10 ns 4
|
|
stringa e = "Test text"; auto c{e};_median 1.10 ns 1.10 ns 4
|
|
stringa e = "Test text"; auto c{e};_stddev 0.011 ns 0.000 ns 4
|
|
stringa e = "Test text"; auto c{e};_cv 0.99 % 0.00 % 4
|
|
lstringa<20> e = "Test text"; auto c{e};_mean 1.12 ns 1.10 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_median 1.12 ns 1.10 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_stddev 0.026 ns 0.031 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_cv 2.34 % 2.78 % 4
|
|
lstringa<40> e = "Test text"; auto c{e};_mean 1.11 ns 1.11 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_median 1.11 ns 1.11 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_stddev 0.017 ns 0.032 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_cv 1.49 % 2.84 % 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 78.0 ns 77.6 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_median 78.1 ns 77.6 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 2.07 ns 2.25 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_cv 2.66 % 2.90 % 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.734 ns 0.732 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.736 ns 0.732 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.005 ns 0.008 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 0.70 % 1.10 % 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.377 ns 0.368 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.373 ns 0.366 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.011 ns 0.004 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_cv 2.90 % 1.18 % 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.12 ns 1.12 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.11 ns 1.12 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.009 ns 0.012 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_cv 0.82 % 1.09 % 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 72.6 ns 72.4 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 73.0 ns 72.4 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 2.07 ns 2.25 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.85 % 3.11 % 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 5.42 ns 5.43 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 5.44 ns 5.39 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.101 ns 0.150 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 1.87 % 2.76 % 4
|
|
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
sz::string::find;_mean 94.8 ns 94.2 ns 4
|
|
sz::string::find;_median 94.3 ns 94.2 ns 4
|
|
sz::string::find;_stddev 1.19 ns 0.000 ns 4
|
|
sz::string::find;_cv 1.26 % 0.00 % 4
|
|
std::string::find;_mean 40.2 ns 40.1 ns 4
|
|
std::string::find;_median 40.0 ns 40.4 ns 4
|
|
std::string::find;_stddev 0.608 ns 0.868 ns 4
|
|
std::string::find;_cv 1.51 % 2.16 % 4
|
|
std::string_view::find;_mean 39.3 ns 39.2 ns 4
|
|
std::string_view::find;_median 39.2 ns 39.0 ns 4
|
|
std::string_view::find;_stddev 0.443 ns 0.453 ns 4
|
|
std::string_view::find;_cv 1.13 % 1.16 % 4
|
|
ssa::find;_mean 18.7 ns 18.7 ns 4
|
|
ssa::find;_median 18.5 ns 18.6 ns 4
|
|
ssa::find;_stddev 0.479 ns 0.401 ns 4
|
|
ssa::find;_cv 2.57 % 2.14 % 4
|
|
stringa::find;_mean 19.6 ns 19.5 ns 4
|
|
stringa::find;_median 19.8 ns 19.5 ns 4
|
|
stringa::find;_stddev 0.421 ns 0.524 ns 4
|
|
stringa::find;_cv 2.15 % 2.69 % 4
|
|
lstringa<20>::find;_mean 18.0 ns 17.9 ns 4
|
|
lstringa<20>::find;_median 18.1 ns 18.0 ns 4
|
|
lstringa<20>::find;_stddev 0.262 ns 0.209 ns 4
|
|
lstringa<20>::find;_cv 1.45 % 1.17 % 4
|
|
lstringa<40>::find;_mean 18.5 ns 18.5 ns 4
|
|
lstringa<40>::find;_median 18.4 ns 18.6 ns 4
|
|
lstringa<40>::find;_stddev 0.343 ns 0.227 ns 4
|
|
lstringa<40>::find;_cv 1.85 % 1.23 % 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.83 ns 1.82 ns 4
|
|
std::string copy{str_with_len_N};/15_median 1.83 ns 1.84 ns 4
|
|
std::string copy{str_with_len_N};/15_stddev 0.018 ns 0.043 ns 4
|
|
std::string copy{str_with_len_N};/15_cv 0.98 % 2.38 % 4
|
|
std::string copy{str_with_len_N};/16_mean 78.7 ns 78.9 ns 4
|
|
std::string copy{str_with_len_N};/16_median 78.9 ns 79.3 ns 4
|
|
std::string copy{str_with_len_N};/16_stddev 1.33 ns 1.67 ns 4
|
|
std::string copy{str_with_len_N};/16_cv 1.69 % 2.12 % 4
|
|
std::string copy{str_with_len_N};/23_mean 79.1 ns 78.5 ns 4
|
|
std::string copy{str_with_len_N};/23_median 79.0 ns 78.5 ns 4
|
|
std::string copy{str_with_len_N};/23_stddev 0.895 ns 1.42 ns 4
|
|
std::string copy{str_with_len_N};/23_cv 1.13 % 1.81 % 4
|
|
std::string copy{str_with_len_N};/24_mean 80.3 ns 79.8 ns 4
|
|
std::string copy{str_with_len_N};/24_median 80.4 ns 79.3 ns 4
|
|
std::string copy{str_with_len_N};/24_stddev 1.94 ns 1.67 ns 4
|
|
std::string copy{str_with_len_N};/24_cv 2.41 % 2.09 % 4
|
|
std::string copy{str_with_len_N};/32_mean 79.6 ns 79.3 ns 4
|
|
std::string copy{str_with_len_N};/32_median 78.3 ns 78.5 ns 4
|
|
std::string copy{str_with_len_N};/32_stddev 3.75 ns 3.02 ns 4
|
|
std::string copy{str_with_len_N};/32_cv 4.71 % 3.81 % 4
|
|
std::string copy{str_with_len_N};/64_mean 80.7 ns 81.1 ns 4
|
|
std::string copy{str_with_len_N};/64_median 80.9 ns 81.1 ns 4
|
|
std::string copy{str_with_len_N};/64_stddev 3.49 ns 3.02 ns 4
|
|
std::string copy{str_with_len_N};/64_cv 4.32 % 3.72 % 4
|
|
std::string copy{str_with_len_N};/128_mean 84.2 ns 84.1 ns 4
|
|
std::string copy{str_with_len_N};/128_median 84.6 ns 84.6 ns 4
|
|
std::string copy{str_with_len_N};/128_stddev 2.47 ns 1.67 ns 4
|
|
std::string copy{str_with_len_N};/128_cv 2.93 % 1.98 % 4
|
|
std::string copy{str_with_len_N};/256_mean 87.3 ns 86.8 ns 4
|
|
std::string copy{str_with_len_N};/256_median 87.7 ns 86.8 ns 4
|
|
std::string copy{str_with_len_N};/256_stddev 1.06 ns 1.21 ns 4
|
|
std::string copy{str_with_len_N};/256_cv 1.21 % 1.39 % 4
|
|
std::string copy{str_with_len_N};/512_mean 87.3 ns 87.6 ns 4
|
|
std::string copy{str_with_len_N};/512_median 86.7 ns 87.2 ns 4
|
|
std::string copy{str_with_len_N};/512_stddev 2.31 ns 2.19 ns 4
|
|
std::string copy{str_with_len_N};/512_cv 2.65 % 2.50 % 4
|
|
std::string copy{str_with_len_N};/1024_mean 97.6 ns 97.3 ns 4
|
|
std::string copy{str_with_len_N};/1024_median 97.9 ns 97.3 ns 4
|
|
std::string copy{str_with_len_N};/1024_stddev 3.35 ns 2.70 ns 4
|
|
std::string copy{str_with_len_N};/1024_cv 3.43 % 2.78 % 4
|
|
std::string copy{str_with_len_N};/2048_mean 132 ns 133 ns 4
|
|
std::string copy{str_with_len_N};/2048_median 132 ns 133 ns 4
|
|
std::string copy{str_with_len_N};/2048_stddev 1.34 ns 1.61 ns 4
|
|
std::string copy{str_with_len_N};/2048_cv 1.01 % 1.22 % 4
|
|
std::string copy{str_with_len_N};/4096_mean 180 ns 179 ns 4
|
|
std::string copy{str_with_len_N};/4096_median 180 ns 180 ns 4
|
|
std::string copy{str_with_len_N};/4096_stddev 1.41 ns 1.92 ns 4
|
|
std::string copy{str_with_len_N};/4096_cv 0.78 % 1.07 % 4
|
|
stringa copy{str_with_len_N};/15_mean 1.09 ns 1.09 ns 4
|
|
stringa copy{str_with_len_N};/15_median 1.09 ns 1.09 ns 4
|
|
stringa copy{str_with_len_N};/15_stddev 0.024 ns 0.032 ns 4
|
|
stringa copy{str_with_len_N};/15_cv 2.20 % 2.90 % 4
|
|
stringa copy{str_with_len_N};/16_mean 1.08 ns 1.09 ns 4
|
|
stringa copy{str_with_len_N};/16_median 1.08 ns 1.09 ns 4
|
|
stringa copy{str_with_len_N};/16_stddev 0.016 ns 0.014 ns 4
|
|
stringa copy{str_with_len_N};/16_cv 1.48 % 1.30 % 4
|
|
stringa copy{str_with_len_N};/23_mean 1.09 ns 1.09 ns 4
|
|
stringa copy{str_with_len_N};/23_median 1.09 ns 1.10 ns 4
|
|
stringa copy{str_with_len_N};/23_stddev 0.005 ns 0.012 ns 4
|
|
stringa copy{str_with_len_N};/23_cv 0.49 % 1.12 % 4
|
|
stringa copy{str_with_len_N};/24_mean 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/24_median 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/24_stddev 0.102 ns 0.000 ns 4
|
|
stringa copy{str_with_len_N};/24_cv 0.63 % 0.00 % 4
|
|
stringa copy{str_with_len_N};/32_mean 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/32_median 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/32_stddev 0.076 ns 0.000 ns 4
|
|
stringa copy{str_with_len_N};/32_cv 0.47 % 0.00 % 4
|
|
stringa copy{str_with_len_N};/64_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/64_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/64_stddev 0.056 ns 0.000 ns 4
|
|
stringa copy{str_with_len_N};/64_cv 0.35 % 0.00 % 4
|
|
stringa copy{str_with_len_N};/128_mean 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/128_median 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/128_stddev 0.079 ns 0.000 ns 4
|
|
stringa copy{str_with_len_N};/128_cv 0.49 % 0.00 % 4
|
|
stringa copy{str_with_len_N};/256_mean 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/256_median 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/256_stddev 0.125 ns 0.174 ns 4
|
|
stringa copy{str_with_len_N};/256_cv 0.78 % 1.09 % 4
|
|
stringa copy{str_with_len_N};/512_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/512_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/512_stddev 0.073 ns 0.174 ns 4
|
|
stringa copy{str_with_len_N};/512_cv 0.46 % 1.09 % 4
|
|
stringa copy{str_with_len_N};/1024_mean 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/1024_median 16.1 ns 15.9 ns 4
|
|
stringa copy{str_with_len_N};/1024_stddev 0.121 ns 0.367 ns 4
|
|
stringa copy{str_with_len_N};/1024_cv 0.75 % 2.29 % 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.042 ns 0.174 ns 4
|
|
stringa copy{str_with_len_N};/2048_cv 0.27 % 1.09 % 4
|
|
stringa copy{str_with_len_N};/4096_mean 16.1 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/4096_median 16.1 ns 16.1 ns 4
|
|
stringa copy{str_with_len_N};/4096_stddev 0.112 ns 0.192 ns 4
|
|
stringa copy{str_with_len_N};/4096_cv 0.70 % 1.20 % 4
|
|
lstringa<16> copy{str_with_len_N};/15_mean 1.12 ns 1.10 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_median 1.11 ns 1.10 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_stddev 0.011 ns 0.031 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_cv 1.01 % 2.78 % 4
|
|
lstringa<16> copy{str_with_len_N};/16_mean 4.56 ns 4.54 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_median 4.54 ns 4.49 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_stddev 0.102 ns 0.098 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_cv 2.25 % 2.15 % 4
|
|
lstringa<16> copy{str_with_len_N};/23_mean 4.49 ns 4.50 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_median 4.48 ns 4.50 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_stddev 0.027 ns 0.058 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_cv 0.61 % 1.30 % 4
|
|
lstringa<16> copy{str_with_len_N};/24_mean 76.6 ns 76.3 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_median 76.7 ns 75.9 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_stddev 2.12 ns 1.67 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_cv 2.77 % 2.19 % 4
|
|
lstringa<16> copy{str_with_len_N};/32_mean 77.3 ns 77.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_median 77.0 ns 76.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_stddev 3.05 ns 2.62 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_cv 3.95 % 3.39 % 4
|
|
lstringa<16> copy{str_with_len_N};/64_mean 79.3 ns 79.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_median 79.5 ns 79.5 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_stddev 4.31 ns 3.67 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_cv 5.44 % 4.63 % 4
|
|
lstringa<16> copy{str_with_len_N};/128_mean 82.6 ns 82.8 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_median 82.3 ns 82.0 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_stddev 1.87 ns 1.74 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_cv 2.26 % 2.11 % 4
|
|
lstringa<16> copy{str_with_len_N};/256_mean 83.7 ns 83.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_median 83.7 ns 83.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_stddev 1.07 ns 0.000 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_cv 1.28 % 0.00 % 4
|
|
lstringa<16> copy{str_with_len_N};/512_mean 88.5 ns 88.4 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_median 87.5 ns 86.8 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_stddev 3.22 ns 3.96 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_cv 3.63 % 4.48 % 4
|
|
lstringa<16> copy{str_with_len_N};/1024_mean 93.9 ns 94.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_median 94.1 ns 94.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_stddev 3.71 ns 3.82 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_cv 3.95 % 4.06 % 4
|
|
lstringa<16> copy{str_with_len_N};/2048_mean 125 ns 126 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 4.07 ns 3.22 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_cv 3.25 % 2.57 % 4
|
|
lstringa<16> copy{str_with_len_N};/4096_mean 190 ns 189 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_median 188 ns 188 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_stddev 5.83 ns 4.34 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_cv 3.08 % 2.29 % 4
|
|
lstringa<512> copy{str_with_len_N};/15_mean 1.14 ns 1.14 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_median 1.12 ns 1.13 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_stddev 0.043 ns 0.039 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_cv 3.72 % 3.45 % 4
|
|
lstringa<512> copy{str_with_len_N};/16_mean 6.12 ns 6.09 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_median 6.32 ns 6.25 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_stddev 0.549 ns 0.556 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_cv 8.97 % 9.13 % 4
|
|
lstringa<512> copy{str_with_len_N};/23_mean 5.29 ns 5.27 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_median 5.29 ns 5.30 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_stddev 0.012 ns 0.070 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_cv 0.22 % 1.32 % 4
|
|
lstringa<512> copy{str_with_len_N};/24_mean 5.27 ns 5.27 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_median 5.23 ns 5.23 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_stddev 0.121 ns 0.150 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_cv 2.30 % 2.84 % 4
|
|
lstringa<512> copy{str_with_len_N};/32_mean 8.14 ns 8.15 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_median 8.13 ns 8.20 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_stddev 0.077 ns 0.087 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_cv 0.94 % 1.07 % 4
|
|
lstringa<512> copy{str_with_len_N};/64_mean 8.48 ns 8.41 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_median 8.44 ns 8.37 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_stddev 0.164 ns 0.219 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_cv 1.93 % 2.61 % 4
|
|
lstringa<512> copy{str_with_len_N};/128_mean 8.58 ns 8.59 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_median 8.58 ns 8.63 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_stddev 0.127 ns 0.167 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_cv 1.48 % 1.94 % 4
|
|
lstringa<512> copy{str_with_len_N};/256_mean 9.69 ns 9.68 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_median 9.67 ns 9.63 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_stddev 0.143 ns 0.105 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_cv 1.48 % 1.08 % 4
|
|
lstringa<512> copy{str_with_len_N};/512_mean 11.4 ns 11.3 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_median 11.3 ns 11.2 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_stddev 0.178 ns 0.307 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_cv 1.57 % 2.72 % 4
|
|
lstringa<512> copy{str_with_len_N};/1024_mean 98.3 ns 97.0 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_median 99.6 ns 98.9 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_stddev 3.01 ns 4.62 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_cv 3.06 % 4.76 % 4
|
|
lstringa<512> copy{str_with_len_N};/2048_mean 130 ns 130 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_median 130 ns 130 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_stddev 3.75 ns 3.60 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_cv 2.88 % 2.78 % 4
|
|
lstringa<512> copy{str_with_len_N};/4096_mean 188 ns 187 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 3.59 ns 4.83 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_cv 1.91 % 2.58 % 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.4 ns 31.3 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 31.5 ns 31.5 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.520 ns 0.634 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 1.65 % 2.03 % 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 12.6 ns 12.6 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 12.6 ns 12.6 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.135 ns 0.228 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 1.07 % 1.81 % 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.7 ns 13.6 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.7 ns 13.7 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.166 ns 0.301 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.21 % 2.21 % 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 9.40 ns 9.42 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 9.34 ns 9.31 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.179 ns 0.296 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.91 % 3.14 % 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.4 ns 13.3 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.251 ns 0.405 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.88 % 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.6 ns 33.2 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 33.5 ns 33.0 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.374 ns 0.965 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.11 % 2.91 % 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 8.50 ns 8.46 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 8.49 ns 8.46 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.106 ns 0.101 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 1.24 % 1.19 % 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 13.7 ns 13.5 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 13.7 ns 13.5 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.213 ns 0.000 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.56 % 0.00 % 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.50 ns 7.46 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.53 ns 7.41 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.081 ns 0.167 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.08 % 2.24 % 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.6 ns 12.6 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.4 ns 12.6 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.460 ns 0.351 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.64 % 2.78 % 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.6 ns 43.5 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 43.8 ns 43.5 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.865 ns 0.826 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.98 % 1.90 % 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 17.3 ns 17.1 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 17.1 ns 17.1 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.318 ns 0.222 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 1.84 % 1.30 % 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 12.9 ns 12.9 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 12.9 ns 13.0 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.107 ns 0.267 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 0.82 % 2.07 % 4
|
|
----- Convert to double '1234.567e10' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_mean 100 ns 99.9 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 100 ns 100 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 1.37 ns 1.05 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 1.37 % 1.05 % 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 58.7 ns 58.6 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 58.7 ns 58.6 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 0.055 ns 0.000 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 0.09 % 0.00 % 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_mean 36.7 ns 36.6 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_median 36.7 ns 36.8 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.255 ns 0.419 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_cv 0.69 % 1.14 % 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 5118 ns 5082 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_median 5015 ns 5028 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 256 ns 234 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 5.00 % 4.60 % 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_mean 1073 ns 1074 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_median 1074 ns 1074 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_stddev 30.6 ns 28.2 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_cv 2.85 % 2.62 % 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 767 ns 754 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 768 ns 759 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 10.1 ns 16.7 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 1.32 % 2.21 % 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 390 ns 390 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 386 ns 384 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 10.5 ns 13.1 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 2.70 % 3.35 % 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 239 ns 238 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 240 ns 238 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 1.20 ns 3.02 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 0.50 % 1.27 % 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 158 ns 159 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 158 ns 159 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 0.918 ns 2.01 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 0.58 % 1.27 % 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 4657 ns 4627 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 4626 ns 4602 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 87.2 ns 96.8 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 1.87 % 2.09 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 3774 ns 3767 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 3760 ns 3767 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 66.6 ns 68.3 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 1.76 % 1.81 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 716 ns 718 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 721 ns 718 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 18.4 ns 18.0 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.57 % 2.51 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 442 ns 443 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 442 ns 443 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 4.25 ns 7.69 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 0.96 % 1.74 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 303 ns 300 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 304 ns 302 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 4.86 ns 6.34 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.61 % 2.12 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 188 ns 186 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 189 ns 186 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 4.25 ns 5.40 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.26 % 2.90 % 4
|
|
-- Append string of 16 bytes and const literal of 16 bytes 2048 times, 65536 total length --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_mean 221584 ns 220947 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 221856 ns 222168 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 3088 ns 4675 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.39 % 2.12 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 183793 ns 181029 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 182410 ns 182075 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 4717 ns 4007 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.57 % 2.21 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19687 ns 19671 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 19753 ns 19671 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 462 ns 483 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.35 % 2.46 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16880 ns 16915 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16897 ns 17090 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 194 ns 349 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.15 % 2.06 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17061 ns 17073 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17073 ns 17073 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 272 ns 222 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.60 % 1.30 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16444 ns 16401 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16332 ns 16305 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 295 ns 367 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.80 % 2.24 % 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 4403 ns 4402 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_median 4390 ns 4426 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_stddev 43.3 ns 47.1 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_cv 0.98 % 1.07 % 4
|
|
std::string str; ... str += str_var1 + str_var2;_mean 3893 ns 3870 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_median 3890 ns 3891 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_stddev 44.1 ns 76.8 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_cv 1.13 % 1.98 % 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_mean 794 ns 789 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_median 793 ns 793 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 19.0 ns 16.7 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_cv 2.40 % 2.12 % 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_mean 527 ns 527 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_median 528 ns 523 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 7.44 ns 15.0 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_cv 1.41 % 2.84 % 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_mean 381 ns 379 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_median 378 ns 377 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 8.74 ns 12.6 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_cv 2.30 % 3.31 % 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 297 ns 292 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_median 299 ns 292 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 7.42 ns 0.000 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 2.50 % 0.00 % 4
|
|
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; str << "test = " << k << " times";_mean 10833 ns 10742 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_median 10807 ns 10742 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_stddev 90.0 ns 199 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_cv 0.83 % 1.86 % 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_mean 1053 ns 1052 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_median 1055 ns 1057 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_stddev 7.82 ns 20.0 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_cv 0.74 % 1.91 % 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2810 ns 2794 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2794 ns 2794 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 67.1 ns 36.2 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 2.39 % 1.30 % 4
|
|
std::string str = std::format("test = {} times", k);_mean 1904 ns 1893 ns 4
|
|
std::string str = std::format("test = {} times", k);_median 1911 ns 1882 ns 4
|
|
std::string str = std::format("test = {} times", k);_stddev 32.1 ns 43.4 ns 4
|
|
std::string str = std::format("test = {} times", k);_cv 1.68 % 2.29 % 4
|
|
lstringa<8> str; str.format("test = {} times", k);_mean 2003 ns 1995 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_median 1998 ns 1995 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_stddev 50.7 ns 52.4 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_cv 2.53 % 2.62 % 4
|
|
lstringa<32> str; str.format("test = {} times", k);_mean 962 ns 952 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_median 962 ns 952 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_stddev 12.7 ns 19.9 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_cv 1.32 % 2.09 % 4
|
|
lstringa<8> str = "test = " + k + " times";_mean 807 ns 809 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_median 806 ns 809 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_stddev 8.18 ns 11.4 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_cv 1.01 % 1.41 % 4
|
|
lstringa<32> str = "test = " + k + " times";_mean 134 ns 133 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_median 134 ns 133 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_stddev 1.83 ns 2.67 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_cv 1.37 % 2.01 % 4
|
|
stringa str = "test = " + k + " times";_mean 126 ns 124 ns 4
|
|
stringa str = "test = " + k + " times";_median 126 ns 124 ns 4
|
|
stringa str = "test = " + k + " times";_stddev 0.706 ns 1.61 ns 4
|
|
stringa str = "test = " + k + " times";_cv 0.56 % 1.30 % 4
|
|
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string::find + substr + std::strtol_mean 558 ns 559 ns 4
|
|
std::string::find + substr + std::strtol_median 559 ns 562 ns 4
|
|
std::string::find + substr + std::strtol_stddev 10.3 ns 7.81 ns 4
|
|
std::string::find + substr + std::strtol_cv 1.85 % 1.40 % 4
|
|
ssa::splitter + ssa::as_int_mean 176 ns 176 ns 4
|
|
ssa::splitter + ssa::as_int_median 176 ns 176 ns 4
|
|
ssa::splitter + ssa::as_int_stddev 4.18 ns 5.75 ns 4
|
|
ssa::splitter + ssa::as_int_cv 2.37 % 3.28 % 4
|
|
ssa::splitf + functor_mean 192 ns 192 ns 4
|
|
ssa::splitf + functor_median 190 ns 190 ns 4
|
|
ssa::splitf + functor_stddev 4.66 ns 5.71 ns 4
|
|
ssa::splitf + functor_cv 2.43 % 2.98 % 4
|
|
-- Replace symbols in text ~400 symbols --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Naive (and wrong) replace symbols with std::string find + replace_mean 1124 ns 1117 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_median 1116 ns 1099 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_stddev 24.4 ns 36.6 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_cv 2.17 % 3.28 % 4
|
|
replace symbols with std::string find_first_of + replace_mean 1940 ns 1938 ns 4
|
|
replace symbols with std::string find_first_of + replace_median 1929 ns 1927 ns 4
|
|
replace symbols with std::string find_first_of + replace_stddev 28.9 ns 43.4 ns 4
|
|
replace symbols with std::string find_first_of + replace_cv 1.49 % 2.24 % 4
|
|
replace symbols with std::string_view find_first_of + copy_mean 2359 ns 2356 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_median 2360 ns 2344 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_stddev 29.6 ns 24.4 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_cv 1.25 % 1.04 % 4
|
|
replace runtime symbols with string expressions and without remembering all search results_mean 1654 ns 1650 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_median 1660 ns 1669 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_stddev 40.9 ns 54.3 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_cv 2.47 % 3.29 % 4
|
|
replace runtime symbols with simstr and memorization of all search results_mean 1483 ns 1483 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_median 1482 ns 1491 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_stddev 14.5 ns 30.1 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_cv 0.98 % 2.03 % 4
|
|
replace const symbols with string expressions and without remembering all search results_mean 1122 ns 1117 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_median 1119 ns 1123 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_stddev 16.8 ns 12.2 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_cv 1.50 % 1.09 % 4
|
|
replace const symbols with string expressions and memorization of all search results_mean 1170 ns 1165 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_median 1174 ns 1158 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_stddev 18.2 ns 26.7 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_cv 1.56 % 2.29 % 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 308 ns 305 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_median 305 ns 303 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 6.23 ns 11.9 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.02 % 3.90 % 4
|
|
Short replace symbols with std::string find_first_of + replace_mean 364 ns 363 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_median 366 ns 364 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_stddev 9.78 ns 7.35 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_cv 2.68 % 2.03 % 4
|
|
Short replace symbols with std::string_view find_first_of + copy_mean 305 ns 305 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_median 306 ns 305 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_stddev 6.50 ns 7.65 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_cv 2.13 % 2.51 % 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_mean 269 ns 264 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_median 268 ns 264 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_stddev 4.83 ns 5.13 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_cv 1.80 % 1.94 % 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_mean 366 ns 365 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_median 367 ns 365 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_stddev 2.14 ns 4.63 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_cv 0.58 % 1.27 % 4
|
|
Short replace const symbols with string expressions and without remembering all search results_mean 202 ns 202 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_median 202 ns 202 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_stddev 2.65 ns 5.85 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_cv 1.31 % 2.90 % 4
|
|
Short replace const symbols with string expressions and memorization of all search results_mean 293 ns 292 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_median 293 ns 292 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_stddev 7.11 ns 5.41 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_cv 2.43 % 1.86 % 4
|
|
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to ---- in std::string|64_mean 223 ns 221 ns 4
|
|
replace bb to ---- in std::string|64_median 223 ns 222 ns 4
|
|
replace bb to ---- in std::string|64_stddev 4.11 ns 4.67 ns 4
|
|
replace bb to ---- in std::string|64_cv 1.84 % 2.12 % 4
|
|
replace bb to ---- in std::string|256_mean 727 ns 729 ns 4
|
|
replace bb to ---- in std::string|256_median 720 ns 718 ns 4
|
|
replace bb to ---- in std::string|256_stddev 20.3 ns 26.4 ns 4
|
|
replace bb to ---- in std::string|256_cv 2.79 % 3.62 % 4
|
|
replace bb to ---- in std::string|512_mean 1418 ns 1413 ns 4
|
|
replace bb to ---- in std::string|512_median 1416 ns 1413 ns 4
|
|
replace bb to ---- in std::string|512_stddev 37.9 ns 45.0 ns 4
|
|
replace bb to ---- in std::string|512_cv 2.67 % 3.19 % 4
|
|
replace bb to ---- in std::string|1024_mean 3058 ns 3058 ns 4
|
|
replace bb to ---- in std::string|1024_median 3054 ns 3076 ns 4
|
|
replace bb to ---- in std::string|1024_stddev 45.8 ns 36.6 ns 4
|
|
replace bb to ---- in std::string|1024_cv 1.50 % 1.20 % 4
|
|
replace bb to ---- in std::string|2048_mean 8038 ns 7847 ns 4
|
|
replace bb to ---- in std::string|2048_median 8026 ns 7847 ns 4
|
|
replace bb to ---- in std::string|2048_stddev 49.4 ns 318 ns 4
|
|
replace bb to ---- in std::string|2048_cv 0.61 % 4.06 % 4
|
|
replace bb to ---- in lstringa<8>|64_mean 216 ns 216 ns 4
|
|
replace bb to ---- in lstringa<8>|64_median 215 ns 215 ns 4
|
|
replace bb to ---- in lstringa<8>|64_stddev 2.62 ns 2.44 ns 4
|
|
replace bb to ---- in lstringa<8>|64_cv 1.22 % 1.13 % 4
|
|
replace bb to ---- in lstringa<8>|256_mean 606 ns 607 ns 4
|
|
replace bb to ---- in lstringa<8>|256_median 602 ns 600 ns 4
|
|
replace bb to ---- in lstringa<8>|256_stddev 13.8 ns 14.0 ns 4
|
|
replace bb to ---- in lstringa<8>|256_cv 2.27 % 2.30 % 4
|
|
replace bb to ---- in lstringa<8>|512_mean 1002 ns 1004 ns 4
|
|
replace bb to ---- in lstringa<8>|512_median 996 ns 994 ns 4
|
|
replace bb to ---- in lstringa<8>|512_stddev 22.0 ns 29.6 ns 4
|
|
replace bb to ---- in lstringa<8>|512_cv 2.20 % 2.95 % 4
|
|
replace bb to ---- in lstringa<8>|1024_mean 1848 ns 1842 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_median 1847 ns 1842 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_stddev 26.3 ns 31.3 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_cv 1.42 % 1.70 % 4
|
|
replace bb to ---- in lstringa<8>|2048_mean 3556 ns 3530 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_median 3581 ns 3568 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_stddev 76.1 ns 109 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_cv 2.14 % 3.07 % 4
|
|
replace bb to ---- by init stringa|64_mean 165 ns 165 ns 4
|
|
replace bb to ---- by init stringa|64_median 165 ns 165 ns 4
|
|
replace bb to ---- by init stringa|64_stddev 3.13 ns 3.13 ns 4
|
|
replace bb to ---- by init stringa|64_cv 1.90 % 1.90 % 4
|
|
replace bb to ---- by init stringa|256_mean 366 ns 367 ns 4
|
|
replace bb to ---- by init stringa|256_median 363 ns 369 ns 4
|
|
replace bb to ---- by init stringa|256_stddev 7.03 ns 4.01 ns 4
|
|
replace bb to ---- by init stringa|256_cv 1.92 % 1.09 % 4
|
|
replace bb to ---- by init stringa|512_mean 793 ns 793 ns 4
|
|
replace bb to ---- by init stringa|512_median 799 ns 802 ns 4
|
|
replace bb to ---- by init stringa|512_stddev 15.0 ns 17.4 ns 4
|
|
replace bb to ---- by init stringa|512_cv 1.89 % 2.20 % 4
|
|
replace bb to ---- by init stringa|1024_mean 1626 ns 1621 ns 4
|
|
replace bb to ---- by init stringa|1024_median 1632 ns 1611 ns 4
|
|
replace bb to ---- by init stringa|1024_stddev 14.6 ns 19.2 ns 4
|
|
replace bb to ---- by init stringa|1024_cv 0.90 % 1.18 % 4
|
|
replace bb to ---- by init stringa|2048_mean 3047 ns 3032 ns 4
|
|
replace bb to ---- by init stringa|2048_median 3055 ns 3048 ns 4
|
|
replace bb to ---- by init stringa|2048_stddev 22.3 ns 33.1 ns 4
|
|
replace bb to ---- by init stringa|2048_cv 0.73 % 1.09 % 4
|
|
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to -- in std::string|64_mean 187 ns 186 ns 4
|
|
replace bb to -- in std::string|64_median 188 ns 186 ns 4
|
|
replace bb to -- in std::string|64_stddev 2.48 ns 4.95 ns 4
|
|
replace bb to -- in std::string|64_cv 1.33 % 2.66 % 4
|
|
replace bb to -- in std::string|256_mean 469 ns 470 ns 4
|
|
replace bb to -- in std::string|256_median 471 ns 476 ns 4
|
|
replace bb to -- in std::string|256_stddev 8.19 ns 10.8 ns 4
|
|
replace bb to -- in std::string|256_cv 1.74 % 2.30 % 4
|
|
replace bb to -- in std::string|512_mean 837 ns 837 ns 4
|
|
replace bb to -- in std::string|512_median 835 ns 837 ns 4
|
|
replace bb to -- in std::string|512_stddev 14.4 ns 24.2 ns 4
|
|
replace bb to -- in std::string|512_cv 1.73 % 2.89 % 4
|
|
replace bb to -- in std::string|1024_mean 1612 ns 1596 ns 4
|
|
replace bb to -- in std::string|1024_median 1608 ns 1604 ns 4
|
|
replace bb to -- in std::string|1024_stddev 24.9 ns 17.4 ns 4
|
|
replace bb to -- in std::string|1024_cv 1.55 % 1.09 % 4
|
|
replace bb to -- in std::string|2048_mean 3131 ns 3122 ns 4
|
|
replace bb to -- in std::string|2048_median 3146 ns 3104 ns 4
|
|
replace bb to -- in std::string|2048_stddev 47.3 ns 66.8 ns 4
|
|
replace bb to -- in std::string|2048_cv 1.51 % 2.14 % 4
|
|
replace bb to -- in lstringa<8>|64_mean 175 ns 176 ns 4
|
|
replace bb to -- in lstringa<8>|64_median 176 ns 176 ns 4
|
|
replace bb to -- in lstringa<8>|64_stddev 2.70 ns 4.83 ns 4
|
|
replace bb to -- in lstringa<8>|64_cv 1.54 % 2.75 % 4
|
|
replace bb to -- in lstringa<8>|256_mean 427 ns 426 ns 4
|
|
replace bb to -- in lstringa<8>|256_median 425 ns 424 ns 4
|
|
replace bb to -- in lstringa<8>|256_stddev 8.29 ns 11.8 ns 4
|
|
replace bb to -- in lstringa<8>|256_cv 1.94 % 2.78 % 4
|
|
replace bb to -- in lstringa<8>|512_mean 723 ns 724 ns 4
|
|
replace bb to -- in lstringa<8>|512_median 723 ns 724 ns 4
|
|
replace bb to -- in lstringa<8>|512_stddev 1.22 ns 10.1 ns 4
|
|
replace bb to -- in lstringa<8>|512_cv 0.17 % 1.39 % 4
|
|
replace bb to -- in lstringa<8>|1024_mean 1373 ns 1365 ns 4
|
|
replace bb to -- in lstringa<8>|1024_median 1373 ns 1365 ns 4
|
|
replace bb to -- in lstringa<8>|1024_stddev 36.7 ns 18.1 ns 4
|
|
replace bb to -- in lstringa<8>|1024_cv 2.68 % 1.33 % 4
|
|
replace bb to -- in lstringa<8>|2048_mean 2685 ns 2683 ns 4
|
|
replace bb to -- in lstringa<8>|2048_median 2675 ns 2668 ns 4
|
|
replace bb to -- in lstringa<8>|2048_stddev 29.6 ns 29.6 ns 4
|
|
replace bb to -- in lstringa<8>|2048_cv 1.10 % 1.10 % 4
|
|
replace bb to -- by init stringa|64_mean 153 ns 152 ns 4
|
|
replace bb to -- by init stringa|64_median 153 ns 152 ns 4
|
|
replace bb to -- by init stringa|64_stddev 2.02 ns 2.01 ns 4
|
|
replace bb to -- by init stringa|64_cv 1.32 % 1.33 % 4
|
|
replace bb to -- by init stringa|256_mean 322 ns 322 ns 4
|
|
replace bb to -- by init stringa|256_median 319 ns 319 ns 4
|
|
replace bb to -- by init stringa|256_stddev 9.25 ns 10.4 ns 4
|
|
replace bb to -- by init stringa|256_cv 2.87 % 3.21 % 4
|
|
replace bb to -- by init stringa|512_mean 520 ns 516 ns 4
|
|
replace bb to -- by init stringa|512_median 514 ns 509 ns 4
|
|
replace bb to -- by init stringa|512_stddev 18.8 ns 19.7 ns 4
|
|
replace bb to -- by init stringa|512_cv 3.61 % 3.82 % 4
|
|
replace bb to -- by init stringa|1024_mean 954 ns 952 ns 4
|
|
replace bb to -- by init stringa|1024_median 951 ns 952 ns 4
|
|
replace bb to -- by init stringa|1024_stddev 20.0 ns 27.0 ns 4
|
|
replace bb to -- by init stringa|1024_cv 2.10 % 2.84 % 4
|
|
replace bb to -- by init stringa|2048_mean 1806 ns 1800 ns 4
|
|
replace bb to -- by init stringa|2048_median 1801 ns 1800 ns 4
|
|
replace bb to -- by init stringa|2048_stddev 32.2 ns 48.3 ns 4
|
|
replace bb to -- by init stringa|2048_cv 1.78 % 2.69 % 4
|
|
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
hashStrMapA<size_t> emplace & find stringa;_mean 4069702 ns 4080831 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_median 4065785 ns 4102654 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_stddev 27677 ns 43645 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_cv 0.68 % 1.07 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5913523 ns 5824498 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5907914 ns 5859375 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 277139 ns 309341 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 4.69 % 5.31 % 4
|
|
hashStrMapA<size_t> emplace & find ssa;_mean 3619495 ns 3545673 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_median 3562421 ns 3565705 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_stddev 164099 ns 76717 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_cv 4.53 % 2.16 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6497268 ns 6522042 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6500552 ns 6556920 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 44944 ns 69754 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 0.69 % 1.07 % 4
|
|
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Build func full name std::string;_mean 1507 ns 1507 ns 4
|
|
Build func full name std::string;_median 1518 ns 1507 ns 4
|
|
Build func full name std::string;_stddev 28.8 ns 25.6 ns 4
|
|
Build func full name std::string;_cv 1.91 % 1.70 % 4
|
|
Build func full name std::string 1;_mean 1515 ns 1507 ns 4
|
|
Build func full name std::string 1;_median 1512 ns 1507 ns 4
|
|
Build func full name std::string 1;_stddev 14.5 ns 25.6 ns 4
|
|
Build func full name std::string 1;_cv 0.96 % 1.70 % 4
|
|
Build func full name std::stream;_mean 8296 ns 8327 ns 4
|
|
Build func full name std::stream;_median 8331 ns 8371 ns 4
|
|
Build func full name std::stream;_stddev 233 ns 262 ns 4
|
|
Build func full name std::stream;_cv 2.80 % 3.14 % 4
|
|
Build func full name stringa;_mean 749 ns 750 ns 4
|
|
Build func full name stringa;_median 748 ns 750 ns 4
|
|
Build func full name stringa;_stddev 12.4 ns 14.2 ns 4
|
|
Build func full name stringa;_cv 1.65 % 1.90 % 4
|
|
Build func full name stringa 1;_mean 878 ns 853 ns 4
|
|
Build func full name stringa 1;_median 865 ns 858 ns 4
|
|
Build func full name stringa 1;_stddev 30.2 ns 10.5 ns 4
|
|
Build func full name stringa 1;_cv 3.44 % 1.23 % 4
|
|
----- Make Upper ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
To upper case std::wstring_mean 1457 ns 1460 ns 4
|
|
To upper case std::wstring_median 1455 ns 1460 ns 4
|
|
To upper case std::wstring_stddev 16.8 ns 18.1 ns 4
|
|
To upper case std::wstring_cv 1.16 % 1.24 % 4
|
|
To upper case lstringw<15>_mean 41.0 ns 41.0 ns 4
|
|
To upper case lstringw<15>_median 41.0 ns 41.0 ns 4
|
|
To upper case lstringw<15>_stddev 0.393 ns 0.544 ns 4
|
|
To upper case lstringw<15>_cv 0.96 % 1.33 % 4
|