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:52:40+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 254 ns 253 ns 4
|
|
Concat email std::format_median 255 ns 255 ns 4
|
|
Concat email std::format_stddev 5.59 ns 7.46 ns 4
|
|
Concat email std::format_cv 2.20 % 2.94 % 4
|
|
Concat email std::stringstream_mean 934 ns 926 ns 4
|
|
Concat email std::stringstream_median 928 ns 921 ns 4
|
|
Concat email std::stringstream_stddev 22.9 ns 26.3 ns 4
|
|
Concat email std::stringstream_cv 2.46 % 2.84 % 4
|
|
Concat email stringzilla append_mean 268 ns 268 ns 4
|
|
Concat email stringzilla append_median 269 ns 267 ns 4
|
|
Concat email stringzilla append_stddev 7.86 ns 7.46 ns 4
|
|
Concat email stringzilla append_cv 2.93 % 2.78 % 4
|
|
Concat email stringzilla concat_mean 129 ns 128 ns 4
|
|
Concat email stringzilla concat_median 128 ns 127 ns 4
|
|
Concat email stringzilla concat_stddev 2.39 ns 4.77 ns 4
|
|
Concat email stringzilla concat_cv 1.86 % 3.73 % 4
|
|
Concat email std::string append_mean 197 ns 196 ns 4
|
|
Concat email std::string append_median 197 ns 195 ns 4
|
|
Concat email std::string append_stddev 2.15 ns 2.27 ns 4
|
|
Concat email std::string append_cv 1.09 % 1.16 % 4
|
|
Concat email std::string by strexpr_mean 110 ns 108 ns 4
|
|
Concat email std::string by strexpr_median 110 ns 109 ns 4
|
|
Concat email std::string by strexpr_stddev 0.592 ns 2.34 ns 4
|
|
Concat email std::string by strexpr_cv 0.54 % 2.16 % 4
|
|
Concat email stringa_mean 99.5 ns 99.5 ns 4
|
|
Concat email stringa_median 98.8 ns 98.9 ns 4
|
|
Concat email stringa_stddev 2.19 ns 2.34 ns 4
|
|
Concat email stringa_cv 2.20 % 2.35 % 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 337 ns 337 ns 4
|
|
Concat std::string and number by std to std::string_median 336 ns 337 ns 4
|
|
Concat std::string and number by std to std::string_stddev 11.3 ns 8.46 ns 4
|
|
Concat std::string and number by std to std::string_cv 3.37 % 2.51 % 4
|
|
Concat std::string and number by StrExpr to std::string_mean 219 ns 219 ns 4
|
|
Concat std::string and number by StrExpr to std::string_median 217 ns 220 ns 4
|
|
Concat std::string and number by StrExpr to std::string_stddev 10.4 ns 9.35 ns 4
|
|
Concat std::string and number by StrExpr to std::string_cv 4.74 % 4.27 % 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_mean 111 ns 110 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_median 110 ns 110 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_stddev 1.53 ns 1.22 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_cv 1.38 % 1.10 % 4
|
|
Concat stringa and number by e_concat to simstr::stringa_mean 116 ns 116 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_median 115 ns 117 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_stddev 2.84 ns 2.44 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_cv 2.46 % 2.11 % 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 1043 ns 1044 ns 4
|
|
Concat std::string and format hex number and literal to std::string_median 1037 ns 1038 ns 4
|
|
Concat std::string and format hex number and literal to std::string_stddev 37.5 ns 41.7 ns 4
|
|
Concat std::string and format hex number and literal to std::string_cv 3.60 % 3.99 % 4
|
|
std::format std::string and hex number by literal to std::string_mean 1859 ns 1862 ns 4
|
|
std::format std::string and hex number by literal to std::string_median 1870 ns 1883 ns 4
|
|
std::format std::string and hex number by literal to std::string_stddev 58.4 ns 80.1 ns 4
|
|
std::format std::string and hex number by literal to std::string_cv 3.14 % 4.30 % 4
|
|
Concat std::string and std::to_chars and string to std::string_mean 256 ns 255 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_median 257 ns 254 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_stddev 4.89 ns 5.34 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_cv 1.91 % 2.09 % 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_mean 136 ns 134 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_median 135 ns 135 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_stddev 5.50 ns 6.47 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_cv 4.06 % 4.82 % 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 105 ns 106 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 105 ns 106 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 1.32 ns 1.21 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 1.26 % 1.14 % 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 103 ns 103 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 104 ns 104 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 1.94 ns 2.00 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 1.88 % 1.94 % 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 176 ns 176 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_median 176 ns 176 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 2.14 ns 1.92 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 1.22 % 1.09 % 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 362 ns 363 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 362 ns 361 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 13.2 ns 10.1 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 3.66 % 2.78 % 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 701 ns 698 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 703 ns 698 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 31.4 ns 31.8 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 4.48 % 4.56 % 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 798 ns 802 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 800 ns 802 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 19.7 ns 20.1 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 2.46 % 2.51 % 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_mean 1111 ns 1111 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_median 1110 ns 1099 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 38.5 ns 42.3 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_cv 3.46 % 3.81 % 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 1617 ns 1613 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 1609 ns 1604 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 42.6 ns 43.9 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 2.64 % 2.72 % 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 1440 ns 1436 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 1445 ns 1444 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 34.0 ns 39.5 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 2.36 % 2.75 % 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 1885 ns 1882 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_median 1889 ns 1882 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 45.4 ns 58.5 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 2.41 % 3.11 % 4
|
|
std::vformat(pattern, std::make_format_args(i))_mean 1957 ns 1946 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_median 1960 ns 1946 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_stddev 10.9 ns 24.2 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_cv 0.55 % 1.24 % 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 7169 ns 7150 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 7125 ns 7150 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 236 ns 285 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 3.29 % 3.98 % 4
|
|
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat std::string by std to std::string_mean 59.3 ns 59.3 ns 4
|
|
Concat std::string by std to std::string_median 59.2 ns 59.3 ns 4
|
|
Concat std::string by std to std::string_stddev 0.316 ns 0.805 ns 4
|
|
Concat std::string by std to std::string_cv 0.53 % 1.36 % 4
|
|
Concat std::string by StrExpr to std::string_mean 77.1 ns 77.2 ns 4
|
|
Concat std::string by StrExpr to std::string_median 77.0 ns 76.7 ns 4
|
|
Concat std::string by StrExpr to std::string_stddev 1.98 ns 2.62 ns 4
|
|
Concat std::string by StrExpr to std::string_cv 2.57 % 3.39 % 4
|
|
Concat stringa by StrExpr to stringa_mean 51.4 ns 51.3 ns 4
|
|
Concat stringa by StrExpr to stringa_median 51.2 ns 50.9 ns 4
|
|
Concat stringa by StrExpr to stringa_stddev 0.859 ns 1.34 ns 4
|
|
Concat stringa by StrExpr to stringa_cv 1.67 % 2.61 % 4
|
|
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Find concat three std::string_mean 212 ns 212 ns 4
|
|
Find concat three std::string_median 210 ns 212 ns 4
|
|
Find concat three std::string_stddev 3.40 ns 6.30 ns 4
|
|
Find concat three std::string_cv 1.60 % 2.97 % 4
|
|
Find concat three strexpr_mean 123 ns 122 ns 4
|
|
Find concat three strexpr_median 124 ns 122 ns 4
|
|
Find concat three strexpr_stddev 2.58 ns 2.56 ns 4
|
|
Find concat three strexpr_cv 2.10 % 2.09 % 4
|
|
Find concat three simstr_mean 28.3 ns 28.3 ns 4
|
|
Find concat three simstr_median 28.3 ns 28.5 ns 4
|
|
Find concat three simstr_stddev 0.799 ns 0.994 ns 4
|
|
Find concat three simstr_cv 2.82 % 3.51 % 4
|
|
Find concat three stringzilla string_mean 231 ns 231 ns 4
|
|
Find concat three stringzilla string_median 227 ns 227 ns 4
|
|
Find concat three stringzilla string_stddev 14.6 ns 12.8 ns 4
|
|
Find concat three stringzilla string_cv 6.33 % 5.57 % 4
|
|
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
BuildTypeNameStr 0/0_mean 17.3 ns 17.2 ns 4
|
|
BuildTypeNameStr 0/0_median 17.3 ns 17.3 ns 4
|
|
BuildTypeNameStr 0/0_stddev 0.650 ns 0.596 ns 4
|
|
BuildTypeNameStr 0/0_cv 3.77 % 3.47 % 4
|
|
BuildTypeNameExp 0/0_mean 13.5 ns 13.5 ns 4
|
|
BuildTypeNameExp 0/0_median 13.5 ns 13.5 ns 4
|
|
BuildTypeNameExp 0/0_stddev 0.446 ns 0.573 ns 4
|
|
BuildTypeNameExp 0/0_cv 3.31 % 4.25 % 4
|
|
BuildTypeNameSim 0/0_mean 15.2 ns 15.1 ns 4
|
|
BuildTypeNameSim 0/0_median 15.3 ns 15.2 ns 4
|
|
BuildTypeNameSim 0/0_stddev 0.464 ns 0.334 ns 4
|
|
BuildTypeNameSim 0/0_cv 3.05 % 2.21 % 4
|
|
BuildTypeNameStr 10/10_mean 80.4 ns 80.2 ns 4
|
|
BuildTypeNameStr 10/10_median 79.3 ns 79.3 ns 4
|
|
BuildTypeNameStr 10/10_stddev 3.13 ns 2.47 ns 4
|
|
BuildTypeNameStr 10/10_cv 3.89 % 3.07 % 4
|
|
BuildTypeNameExp 10/10_mean 39.4 ns 39.5 ns 4
|
|
BuildTypeNameExp 10/10_median 39.5 ns 39.7 ns 4
|
|
BuildTypeNameExp 10/10_stddev 0.661 ns 0.768 ns 4
|
|
BuildTypeNameExp 10/10_cv 1.68 % 1.94 % 4
|
|
BuildTypeNameSim 10/10_mean 37.3 ns 37.3 ns 4
|
|
BuildTypeNameSim 10/10_median 37.3 ns 37.1 ns 4
|
|
BuildTypeNameSim 10/10_stddev 0.420 ns 0.835 ns 4
|
|
BuildTypeNameSim 10/10_cv 1.13 % 2.24 % 4
|
|
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat with replace str_mean 359 ns 361 ns 4
|
|
Concat with replace str_median 355 ns 357 ns 4
|
|
Concat with replace str_stddev 14.6 ns 16.6 ns 4
|
|
Concat with replace str_cv 4.05 % 4.60 % 4
|
|
Concat with replace exp_mean 220 ns 220 ns 4
|
|
Concat with replace exp_median 219 ns 220 ns 4
|
|
Concat with replace exp_stddev 2.01 ns 3.99 ns 4
|
|
Concat with replace exp_cv 0.91 % 1.81 % 4
|
|
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e;_mean 2.60 ns 2.58 ns 4
|
|
std::string e;_median 2.60 ns 2.58 ns 4
|
|
std::string e;_stddev 0.037 ns 0.034 ns 4
|
|
std::string e;_cv 1.41 % 1.33 % 4
|
|
std::string_view e;_mean 1.84 ns 1.84 ns 4
|
|
std::string_view e;_median 1.84 ns 1.81 ns 4
|
|
std::string_view e;_stddev 0.034 ns 0.045 ns 4
|
|
std::string_view e;_cv 1.84 % 2.47 % 4
|
|
ssa e;_mean 1.87 ns 1.86 ns 4
|
|
ssa e;_median 1.87 ns 1.86 ns 4
|
|
ssa e;_stddev 0.034 ns 0.022 ns 4
|
|
ssa e;_cv 1.80 % 1.19 % 4
|
|
stringa e;_mean 2.21 ns 2.21 ns 4
|
|
stringa e;_median 2.21 ns 2.22 ns 4
|
|
stringa e;_stddev 0.042 ns 0.047 ns 4
|
|
stringa e;_cv 1.90 % 2.12 % 4
|
|
lstringa<20> e;_mean 2.59 ns 2.58 ns 4
|
|
lstringa<20> e;_median 2.57 ns 2.55 ns 4
|
|
lstringa<20> e;_stddev 0.067 ns 0.103 ns 4
|
|
lstringa<20> e;_cv 2.59 % 3.98 % 4
|
|
lstringa<40> e;_mean 2.59 ns 2.56 ns 4
|
|
lstringa<40> e;_median 2.59 ns 2.58 ns 4
|
|
lstringa<40> e;_stddev 0.028 ns 0.057 ns 4
|
|
lstringa<40> e;_cv 1.07 % 2.21 % 4
|
|
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "Test text";_mean 2.61 ns 2.61 ns 4
|
|
std::string e = "Test text";_median 2.60 ns 2.59 ns 4
|
|
std::string e = "Test text";_stddev 0.040 ns 0.053 ns 4
|
|
std::string e = "Test text";_cv 1.54 % 2.05 % 4
|
|
std::string_view e = "Test text";_mean 1.84 ns 1.84 ns 4
|
|
std::string_view e = "Test text";_median 1.84 ns 1.84 ns 4
|
|
std::string_view e = "Test text";_stddev 0.034 ns 0.034 ns 4
|
|
std::string_view e = "Test text";_cv 1.85 % 1.86 % 4
|
|
ssa e = "Test text";_mean 1.87 ns 1.85 ns 4
|
|
ssa e = "Test text";_median 1.87 ns 1.86 ns 4
|
|
ssa e = "Test text";_stddev 0.044 ns 0.040 ns 4
|
|
ssa e = "Test text";_cv 2.35 % 2.16 % 4
|
|
stringa e = "Test text";_mean 2.59 ns 2.58 ns 4
|
|
stringa e = "Test text";_median 2.57 ns 2.57 ns 4
|
|
stringa e = "Test text";_stddev 0.055 ns 0.070 ns 4
|
|
stringa e = "Test text";_cv 2.11 % 2.72 % 4
|
|
lstringa<20> e = "Test text";_mean 2.65 ns 2.62 ns 4
|
|
lstringa<20> e = "Test text";_median 2.65 ns 2.64 ns 4
|
|
lstringa<20> e = "Test text";_stddev 0.052 ns 0.057 ns 4
|
|
lstringa<20> e = "Test text";_cv 1.98 % 2.16 % 4
|
|
lstringa<40> e = "Test text";_mean 2.58 ns 2.58 ns 4
|
|
lstringa<40> e = "Test text";_median 2.56 ns 2.58 ns 4
|
|
lstringa<40> e = "Test text";_stddev 0.084 ns 0.077 ns 4
|
|
lstringa<40> e = "Test text";_cv 3.24 % 2.97 % 4
|
|
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "123456789012345678901234567890";_mean 80.5 ns 80.6 ns 4
|
|
std::string e = "123456789012345678901234567890";_median 80.6 ns 80.9 ns 4
|
|
std::string e = "123456789012345678901234567890";_stddev 1.02 ns 0.698 ns 4
|
|
std::string e = "123456789012345678901234567890";_cv 1.27 % 0.87 % 4
|
|
std::string_view e = "123456789012345678901234567890";_mean 1.80 ns 1.79 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_median 1.79 ns 1.79 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_stddev 0.026 ns 0.026 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_cv 1.42 % 1.46 % 4
|
|
ssa e = "123456789012345678901234567890";_mean 1.87 ns 1.87 ns 4
|
|
ssa e = "123456789012345678901234567890";_median 1.86 ns 1.88 ns 4
|
|
ssa e = "123456789012345678901234567890";_stddev 0.015 ns 0.021 ns 4
|
|
ssa e = "123456789012345678901234567890";_cv 0.80 % 1.12 % 4
|
|
stringa e = "123456789012345678901234567890";_mean 2.89 ns 2.87 ns 4
|
|
stringa e = "123456789012345678901234567890";_median 2.89 ns 2.89 ns 4
|
|
stringa e = "123456789012345678901234567890";_stddev 0.029 ns 0.031 ns 4
|
|
stringa e = "123456789012345678901234567890";_cv 1.00 % 1.09 % 4
|
|
lstringa<20> e = "123456789012345678901234567890";_mean 76.2 ns 75.9 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_median 76.3 ns 75.3 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_stddev 2.43 ns 2.63 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_cv 3.19 % 3.47 % 4
|
|
lstringa<40> e = "123456789012345678901234567890";_mean 3.40 ns 3.39 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_median 3.40 ns 3.41 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_stddev 0.076 ns 0.070 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_cv 2.23 % 2.07 % 4
|
|
----- Create copy of Str with 9 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "Test text"; auto c{e};_mean 5.98 ns 6.02 ns 4
|
|
std::string e = "Test text"; auto c{e};_median 6.00 ns 6.09 ns 4
|
|
std::string e = "Test text"; auto c{e};_stddev 0.091 ns 0.156 ns 4
|
|
std::string e = "Test text"; auto c{e};_cv 1.52 % 2.60 % 4
|
|
std::string_view e = "Test text"; auto c{e};_mean 3.49 ns 3.49 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_median 3.48 ns 3.49 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_stddev 0.025 ns 0.044 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_cv 0.71 % 1.27 % 4
|
|
ssa e = "Test text"; auto c{e};_mean 3.51 ns 3.49 ns 4
|
|
ssa e = "Test text"; auto c{e};_median 3.51 ns 3.45 ns 4
|
|
ssa e = "Test text"; auto c{e};_stddev 0.057 ns 0.077 ns 4
|
|
ssa e = "Test text"; auto c{e};_cv 1.61 % 2.20 % 4
|
|
stringa e = "Test text"; auto c{e};_mean 4.07 ns 4.07 ns 4
|
|
stringa e = "Test text"; auto c{e};_median 4.07 ns 4.10 ns 4
|
|
stringa e = "Test text"; auto c{e};_stddev 0.121 ns 0.090 ns 4
|
|
stringa e = "Test text"; auto c{e};_cv 2.97 % 2.21 % 4
|
|
lstringa<20> e = "Test text"; auto c{e};_mean 4.75 ns 4.73 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_median 4.76 ns 4.76 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_stddev 0.072 ns 0.100 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_cv 1.52 % 2.12 % 4
|
|
lstringa<40> e = "Test text"; auto c{e};_mean 4.91 ns 4.92 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_median 4.89 ns 4.92 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_stddev 0.072 ns 0.090 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_cv 1.47 % 1.83 % 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 77.8 ns 77.4 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_median 78.1 ns 78.1 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.841 ns 1.40 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_cv 1.08 % 1.80 % 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 1.85 ns 1.82 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 1.86 ns 1.82 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.029 ns 0.054 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.58 % 2.97 % 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_mean 1.85 ns 1.84 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_median 1.85 ns 1.84 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.014 ns 0.031 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_cv 0.74 % 1.70 % 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_mean 3.01 ns 3.00 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_median 3.01 ns 2.98 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.078 ns 0.033 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_cv 2.59 % 1.10 % 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 82.2 ns 82.0 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 82.2 ns 82.0 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 2.39 ns 2.85 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.91 % 3.47 % 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 7.97 ns 7.93 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 7.99 ns 7.93 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.060 ns 0.101 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 0.75 % 1.27 % 4
|
|
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
sz::string::find;_mean 116 ns 115 ns 4
|
|
sz::string::find;_median 116 ns 114 ns 4
|
|
sz::string::find;_stddev 1.34 ns 1.40 ns 4
|
|
sz::string::find;_cv 1.15 % 1.21 % 4
|
|
std::string::find;_mean 40.4 ns 40.3 ns 4
|
|
std::string::find;_median 40.2 ns 40.5 ns 4
|
|
std::string::find;_stddev 0.355 ns 0.835 ns 4
|
|
std::string::find;_cv 0.88 % 2.07 % 4
|
|
std::string_view::find;_mean 39.5 ns 39.4 ns 4
|
|
std::string_view::find;_median 39.2 ns 39.0 ns 4
|
|
std::string_view::find;_stddev 0.820 ns 0.907 ns 4
|
|
std::string_view::find;_cv 2.07 % 2.30 % 4
|
|
ssa::find;_mean 22.2 ns 22.2 ns 4
|
|
ssa::find;_median 22.2 ns 22.2 ns 4
|
|
ssa::find;_stddev 0.145 ns 0.000 ns 4
|
|
ssa::find;_cv 0.65 % 0.00 % 4
|
|
stringa::find;_mean 31.4 ns 31.4 ns 4
|
|
stringa::find;_median 31.4 ns 31.4 ns 4
|
|
stringa::find;_stddev 0.586 ns 0.805 ns 4
|
|
stringa::find;_cv 1.87 % 2.57 % 4
|
|
lstringa<20>::find;_mean 22.4 ns 22.2 ns 4
|
|
lstringa<20>::find;_median 22.4 ns 22.0 ns 4
|
|
lstringa<20>::find;_stddev 0.211 ns 0.488 ns 4
|
|
lstringa<20>::find;_cv 0.94 % 2.20 % 4
|
|
lstringa<40>::find;_mean 22.0 ns 22.0 ns 4
|
|
lstringa<40>::find;_median 21.9 ns 21.7 ns 4
|
|
lstringa<40>::find;_stddev 0.509 ns 0.691 ns 4
|
|
lstringa<40>::find;_cv 2.31 % 3.14 % 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 5.26 ns 5.20 ns 4
|
|
std::string copy{str_with_len_N};/15_median 5.26 ns 5.23 ns 4
|
|
std::string copy{str_with_len_N};/15_stddev 0.147 ns 0.150 ns 4
|
|
std::string copy{str_with_len_N};/15_cv 2.80 % 2.88 % 4
|
|
std::string copy{str_with_len_N};/16_mean 83.1 ns 83.0 ns 4
|
|
std::string copy{str_with_len_N};/16_median 81.4 ns 80.9 ns 4
|
|
std::string copy{str_with_len_N};/16_stddev 4.54 ns 4.19 ns 4
|
|
std::string copy{str_with_len_N};/16_cv 5.45 % 5.04 % 4
|
|
std::string copy{str_with_len_N};/23_mean 82.5 ns 82.1 ns 4
|
|
std::string copy{str_with_len_N};/23_median 83.2 ns 82.7 ns 4
|
|
std::string copy{str_with_len_N};/23_stddev 2.59 ns 2.00 ns 4
|
|
std::string copy{str_with_len_N};/23_cv 3.14 % 2.44 % 4
|
|
std::string copy{str_with_len_N};/24_mean 82.7 ns 82.7 ns 4
|
|
std::string copy{str_with_len_N};/24_median 81.2 ns 81.6 ns 4
|
|
std::string copy{str_with_len_N};/24_stddev 3.78 ns 3.62 ns 4
|
|
std::string copy{str_with_len_N};/24_cv 4.57 % 4.38 % 4
|
|
std::string copy{str_with_len_N};/32_mean 83.9 ns 84.1 ns 4
|
|
std::string copy{str_with_len_N};/32_median 83.7 ns 83.7 ns 4
|
|
std::string copy{str_with_len_N};/32_stddev 0.839 ns 0.872 ns 4
|
|
std::string copy{str_with_len_N};/32_cv 1.00 % 1.04 % 4
|
|
std::string copy{str_with_len_N};/64_mean 85.2 ns 84.8 ns 4
|
|
std::string copy{str_with_len_N};/64_median 85.5 ns 85.8 ns 4
|
|
std::string copy{str_with_len_N};/64_stddev 2.74 ns 3.62 ns 4
|
|
std::string copy{str_with_len_N};/64_cv 3.22 % 4.28 % 4
|
|
std::string copy{str_with_len_N};/128_mean 86.3 ns 85.8 ns 4
|
|
std::string copy{str_with_len_N};/128_median 86.2 ns 85.8 ns 4
|
|
std::string copy{str_with_len_N};/128_stddev 1.11 ns 1.71 ns 4
|
|
std::string copy{str_with_len_N};/128_cv 1.29 % 1.99 % 4
|
|
std::string copy{str_with_len_N};/256_mean 88.9 ns 88.5 ns 4
|
|
std::string copy{str_with_len_N};/256_median 88.6 ns 88.1 ns 4
|
|
std::string copy{str_with_len_N};/256_stddev 2.84 ns 2.98 ns 4
|
|
std::string copy{str_with_len_N};/256_cv 3.20 % 3.37 % 4
|
|
std::string copy{str_with_len_N};/512_mean 93.3 ns 93.3 ns 4
|
|
std::string copy{str_with_len_N};/512_median 93.4 ns 93.3 ns 4
|
|
std::string copy{str_with_len_N};/512_stddev 2.49 ns 2.25 ns 4
|
|
std::string copy{str_with_len_N};/512_cv 2.67 % 2.41 % 4
|
|
std::string copy{str_with_len_N};/1024_mean 99.3 ns 99.5 ns 4
|
|
std::string copy{str_with_len_N};/1024_median 97.8 ns 97.7 ns 4
|
|
std::string copy{str_with_len_N};/1024_stddev 4.44 ns 3.66 ns 4
|
|
std::string copy{str_with_len_N};/1024_cv 4.47 % 3.68 % 4
|
|
std::string copy{str_with_len_N};/2048_mean 131 ns 130 ns 4
|
|
std::string copy{str_with_len_N};/2048_median 131 ns 131 ns 4
|
|
std::string copy{str_with_len_N};/2048_stddev 4.08 ns 4.19 ns 4
|
|
std::string copy{str_with_len_N};/2048_cv 3.11 % 3.21 % 4
|
|
std::string copy{str_with_len_N};/4096_mean 184 ns 184 ns 4
|
|
std::string copy{str_with_len_N};/4096_median 184 ns 184 ns 4
|
|
std::string copy{str_with_len_N};/4096_stddev 4.50 ns 3.42 ns 4
|
|
std::string copy{str_with_len_N};/4096_cv 2.44 % 1.86 % 4
|
|
stringa copy{str_with_len_N};/15_mean 4.06 ns 4.02 ns 4
|
|
stringa copy{str_with_len_N};/15_median 4.06 ns 4.02 ns 4
|
|
stringa copy{str_with_len_N};/15_stddev 0.012 ns 0.068 ns 4
|
|
stringa copy{str_with_len_N};/15_cv 0.28 % 1.70 % 4
|
|
stringa copy{str_with_len_N};/16_mean 4.11 ns 4.08 ns 4
|
|
stringa copy{str_with_len_N};/16_median 4.12 ns 4.14 ns 4
|
|
stringa copy{str_with_len_N};/16_stddev 0.061 ns 0.165 ns 4
|
|
stringa copy{str_with_len_N};/16_cv 1.49 % 4.05 % 4
|
|
stringa copy{str_with_len_N};/23_mean 3.97 ns 3.96 ns 4
|
|
stringa copy{str_with_len_N};/23_median 3.94 ns 3.96 ns 4
|
|
stringa copy{str_with_len_N};/23_stddev 0.085 ns 0.077 ns 4
|
|
stringa copy{str_with_len_N};/23_cv 2.14 % 1.94 % 4
|
|
stringa copy{str_with_len_N};/24_mean 18.5 ns 18.4 ns 4
|
|
stringa copy{str_with_len_N};/24_median 18.5 ns 18.4 ns 4
|
|
stringa copy{str_with_len_N};/24_stddev 0.190 ns 0.000 ns 4
|
|
stringa copy{str_with_len_N};/24_cv 1.03 % 0.00 % 4
|
|
stringa copy{str_with_len_N};/32_mean 19.0 ns 18.9 ns 4
|
|
stringa copy{str_with_len_N};/32_median 19.0 ns 18.8 ns 4
|
|
stringa copy{str_with_len_N};/32_stddev 0.782 ns 0.935 ns 4
|
|
stringa copy{str_with_len_N};/32_cv 4.12 % 4.94 % 4
|
|
stringa copy{str_with_len_N};/64_mean 18.5 ns 18.4 ns 4
|
|
stringa copy{str_with_len_N};/64_median 18.5 ns 18.4 ns 4
|
|
stringa copy{str_with_len_N};/64_stddev 0.245 ns 0.342 ns 4
|
|
stringa copy{str_with_len_N};/64_cv 1.33 % 1.86 % 4
|
|
stringa copy{str_with_len_N};/128_mean 18.9 ns 18.7 ns 4
|
|
stringa copy{str_with_len_N};/128_median 18.6 ns 18.6 ns 4
|
|
stringa copy{str_with_len_N};/128_stddev 0.677 ns 0.715 ns 4
|
|
stringa copy{str_with_len_N};/128_cv 3.58 % 3.82 % 4
|
|
stringa copy{str_with_len_N};/256_mean 18.5 ns 18.5 ns 4
|
|
stringa copy{str_with_len_N};/256_median 18.5 ns 18.4 ns 4
|
|
stringa copy{str_with_len_N};/256_stddev 0.173 ns 0.209 ns 4
|
|
stringa copy{str_with_len_N};/256_cv 0.93 % 1.13 % 4
|
|
stringa copy{str_with_len_N};/512_mean 18.5 ns 18.4 ns 4
|
|
stringa copy{str_with_len_N};/512_median 18.6 ns 18.4 ns 4
|
|
stringa copy{str_with_len_N};/512_stddev 0.187 ns 0.342 ns 4
|
|
stringa copy{str_with_len_N};/512_cv 1.01 % 1.86 % 4
|
|
stringa copy{str_with_len_N};/1024_mean 18.8 ns 18.6 ns 4
|
|
stringa copy{str_with_len_N};/1024_median 18.8 ns 18.8 ns 4
|
|
stringa copy{str_with_len_N};/1024_stddev 0.332 ns 0.419 ns 4
|
|
stringa copy{str_with_len_N};/1024_cv 1.77 % 2.25 % 4
|
|
stringa copy{str_with_len_N};/2048_mean 18.5 ns 18.3 ns 4
|
|
stringa copy{str_with_len_N};/2048_median 18.5 ns 18.4 ns 4
|
|
stringa copy{str_with_len_N};/2048_stddev 0.053 ns 0.527 ns 4
|
|
stringa copy{str_with_len_N};/2048_cv 0.28 % 2.88 % 4
|
|
stringa copy{str_with_len_N};/4096_mean 18.7 ns 18.5 ns 4
|
|
stringa copy{str_with_len_N};/4096_median 18.7 ns 18.4 ns 4
|
|
stringa copy{str_with_len_N};/4096_stddev 0.218 ns 0.209 ns 4
|
|
stringa copy{str_with_len_N};/4096_cv 1.17 % 1.13 % 4
|
|
lstringa<16> copy{str_with_len_N};/15_mean 4.59 ns 4.58 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_median 4.57 ns 4.60 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_stddev 0.080 ns 0.097 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_cv 1.75 % 2.12 % 4
|
|
lstringa<16> copy{str_with_len_N};/16_mean 9.69 ns 9.63 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_median 9.69 ns 9.73 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_stddev 0.099 ns 0.296 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_cv 1.03 % 3.07 % 4
|
|
lstringa<16> copy{str_with_len_N};/23_mean 9.56 ns 9.57 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_median 9.57 ns 9.52 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_stddev 0.057 ns 0.200 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_cv 0.59 % 2.09 % 4
|
|
lstringa<16> copy{str_with_len_N};/24_mean 81.8 ns 80.6 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_median 82.4 ns 80.6 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_stddev 3.40 ns 2.70 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_cv 4.16 % 3.35 % 4
|
|
lstringa<16> copy{str_with_len_N};/32_mean 85.0 ns 84.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_median 84.5 ns 83.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_stddev 1.42 ns 2.63 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_cv 1.67 % 3.13 % 4
|
|
lstringa<16> copy{str_with_len_N};/64_mean 83.6 ns 83.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_median 84.3 ns 84.6 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_stddev 3.31 ns 3.77 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_cv 3.96 % 4.50 % 4
|
|
lstringa<16> copy{str_with_len_N};/128_mean 89.7 ns 90.0 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_median 88.7 ns 88.9 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_stddev 4.40 ns 4.52 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_cv 4.90 % 5.02 % 4
|
|
lstringa<16> copy{str_with_len_N};/256_mean 89.5 ns 88.9 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_median 89.9 ns 88.9 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_stddev 1.18 ns 1.21 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_cv 1.32 % 1.36 % 4
|
|
lstringa<16> copy{str_with_len_N};/512_mean 90.5 ns 90.5 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_median 90.0 ns 91.0 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_stddev 1.67 ns 2.00 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_cv 1.85 % 2.21 % 4
|
|
lstringa<16> copy{str_with_len_N};/1024_mean 99.9 ns 98.9 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_median 99.9 ns 98.9 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_stddev 3.98 ns 3.15 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_cv 3.98 % 3.19 % 4
|
|
lstringa<16> copy{str_with_len_N};/2048_mean 129 ns 129 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_median 130 ns 130 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_stddev 4.82 ns 4.77 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_cv 3.73 % 3.69 % 4
|
|
lstringa<16> copy{str_with_len_N};/4096_mean 189 ns 190 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_median 189 ns 190 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_stddev 2.15 ns 2.22 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_cv 1.14 % 1.17 % 4
|
|
lstringa<512> copy{str_with_len_N};/15_mean 4.41 ns 4.39 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_median 4.41 ns 4.39 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_stddev 0.071 ns 0.080 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_cv 1.62 % 1.81 % 4
|
|
lstringa<512> copy{str_with_len_N};/16_mean 9.33 ns 9.31 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_median 9.31 ns 9.31 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_stddev 0.053 ns 0.121 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_cv 0.56 % 1.30 % 4
|
|
lstringa<512> copy{str_with_len_N};/23_mean 9.47 ns 9.47 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_median 9.51 ns 9.52 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_stddev 0.145 ns 0.200 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_cv 1.53 % 2.12 % 4
|
|
lstringa<512> copy{str_with_len_N};/24_mean 9.35 ns 9.37 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_median 9.36 ns 9.42 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_stddev 0.114 ns 0.087 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_cv 1.22 % 0.93 % 4
|
|
lstringa<512> copy{str_with_len_N};/32_mean 12.4 ns 12.2 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_median 12.4 ns 12.2 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_stddev 0.107 ns 0.199 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_cv 0.87 % 1.63 % 4
|
|
lstringa<512> copy{str_with_len_N};/64_mean 12.4 ns 12.4 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_median 12.5 ns 12.6 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_stddev 0.453 ns 0.483 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_cv 3.64 % 3.89 % 4
|
|
lstringa<512> copy{str_with_len_N};/128_mean 12.8 ns 12.7 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_median 12.8 ns 12.7 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_stddev 0.262 ns 0.360 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_cv 2.05 % 2.84 % 4
|
|
lstringa<512> copy{str_with_len_N};/256_mean 13.9 ns 13.9 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_median 13.9 ns 14.0 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_stddev 0.192 ns 0.301 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_cv 1.39 % 2.16 % 4
|
|
lstringa<512> copy{str_with_len_N};/512_mean 15.6 ns 15.6 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_median 15.7 ns 15.7 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_stddev 0.104 ns 0.174 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_cv 0.67 % 1.12 % 4
|
|
lstringa<512> copy{str_with_len_N};/1024_mean 99.7 ns 99.9 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_median 97.7 ns 98.4 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_stddev 5.83 ns 6.48 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_cv 5.85 % 6.48 % 4
|
|
lstringa<512> copy{str_with_len_N};/2048_mean 128 ns 129 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_median 129 ns 129 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_stddev 2.08 ns 2.56 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_cv 1.62 % 1.99 % 4
|
|
lstringa<512> copy{str_with_len_N};/4096_mean 190 ns 190 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_median 191 ns 193 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_stddev 3.15 ns 4.19 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_cv 1.66 % 2.20 % 4
|
|
----- Convert to int '1234567' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_mean 31.8 ns 31.7 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 31.7 ns 31.7 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.184 ns 0.403 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 0.58 % 1.27 % 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 12.0 ns 12.0 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 12.0 ns 11.9 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.143 ns 0.157 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 1.20 % 1.31 % 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 17.3 ns 17.1 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 17.0 ns 16.9 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.832 ns 0.493 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 4.81 % 2.89 % 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 15.4 ns 15.3 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 15.3 ns 15.3 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.262 ns 0.000 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.70 % 0.00 % 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 14.8 ns 14.6 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 14.7 ns 14.8 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.315 ns 0.314 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.13 % 2.15 % 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 35.1 ns 35.1 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 35.1 ns 34.9 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.755 ns 0.735 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 2.15 % 2.09 % 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 8.95 ns 8.98 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 8.96 ns 8.98 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.259 ns 0.225 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 2.90 % 2.51 % 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 14.5 ns 14.4 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 14.5 ns 14.4 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.197 ns 0.000 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.36 % 0.00 % 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.3 ns 12.3 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.1 ns 12.1 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.375 ns 0.395 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.04 % 3.21 % 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 13.1 ns 13.1 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 13.0 ns 13.0 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.279 ns 0.301 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.13 % 2.29 % 4
|
|
----- Convert to int ' 1234567' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_mean 46.9 ns 47.0 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 46.9 ns 47.0 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.842 ns 0.624 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.79 % 1.33 % 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 22.2 ns 22.2 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 22.2 ns 22.2 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.407 ns 0.302 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 1.83 % 1.36 % 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 18.8 ns 18.8 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 18.9 ns 18.8 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.373 ns 0.483 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.98 % 2.57 % 4
|
|
----- Convert to double '1234.567e10' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_mean 100 ns 100 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 100 ns 100 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 2.49 ns 1.71 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 2.49 % 1.70 % 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 87.4 ns 87.4 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 87.5 ns 86.8 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 2.69 ns 2.00 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 3.07 % 2.29 % 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_mean 38.0 ns 37.6 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_median 38.0 ns 37.6 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.840 ns 1.17 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_cv 2.21 % 3.11 % 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 5729 ns 5742 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_median 5679 ns 5703 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 174 ns 267 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 3.04 % 4.65 % 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_mean 1363 ns 1367 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_median 1362 ns 1367 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_stddev 13.1 ns 0.000 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_cv 0.96 % 0.00 % 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 970 ns 952 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 966 ns 952 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 61.2 ns 27.0 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 6.31 % 2.84 % 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 542 ns 541 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 541 ns 544 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 6.01 ns 6.98 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 1.11 % 1.29 % 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 369 ns 369 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 368 ns 369 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 7.80 ns 6.55 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 2.11 % 1.77 % 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 230 ns 229 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 229 ns 230 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 2.33 ns 2.62 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 1.01 % 1.14 % 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 5840 ns 5790 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 5862 ns 5790 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 127 ns 180 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 2.18 % 3.11 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 3841 ns 3831 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 3824 ns 3809 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 81.4 ns 114 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 2.12 % 2.98 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 856 ns 854 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 855 ns 854 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 12.1 ns 14.2 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.42 % 1.67 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 542 ns 544 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 539 ns 537 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 17.0 ns 19.7 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.14 % 3.63 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 391 ns 391 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 386 ns 385 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 18.7 ns 17.8 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.77 % 4.55 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 288 ns 286 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 288 ns 288 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 2.72 ns 5.68 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 0.95 % 1.98 % 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 288424 ns 287201 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 287662 ns 285632 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 5681 ns 6010 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.97 % 2.09 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 189131 ns 185904 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 187276 ns 188171 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 6887 ns 6412 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.64 % 3.45 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 24955 ns 24833 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 24978 ns 25112 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 449 ns 558 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.80 % 2.25 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 21987 ns 21973 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 22008 ns 21973 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 281 ns 399 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.28 % 1.81 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 22099 ns 22095 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 22048 ns 21973 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 372 ns 614 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.68 % 2.78 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 23376 ns 23411 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 23176 ns 23280 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 644 ns 893 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.76 % 3.82 % 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 5471 ns 5476 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_median 5512 ns 5580 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_stddev 135 ns 209 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_cv 2.46 % 3.82 % 4
|
|
std::string str; ... str += str_var1 + str_var2;_mean 4091 ns 4033 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_median 4105 ns 4011 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_stddev 39.7 ns 43.6 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_cv 0.97 % 1.08 % 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_mean 933 ns 926 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_median 921 ns 921 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 30.2 ns 46.4 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_cv 3.24 % 5.01 % 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_mean 641 ns 632 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_median 636 ns 637 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 13.6 ns 16.7 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_cv 2.12 % 2.64 % 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_mean 483 ns 481 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_median 482 ns 487 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 5.77 ns 10.8 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_cv 1.19 % 2.25 % 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 389 ns 382 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_median 392 ns 384 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 9.84 ns 9.65 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 2.53 % 2.53 % 4
|
|
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; str << "test = " << k << " times";_mean 12668 ns 12695 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_median 12625 ns 12695 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_stddev 1072 ns 1031 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_cv 8.47 % 8.12 % 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_mean 1270 ns 1270 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_median 1278 ns 1283 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_stddev 47.4 ns 48.3 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_cv 3.73 % 3.81 % 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2806 ns 2802 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2805 ns 2787 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 85.0 ns 88.9 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 3.03 % 3.17 % 4
|
|
std::string str = std::format("test = {} times", k);_mean 2376 ns 2372 ns 4
|
|
std::string str = std::format("test = {} times", k);_median 2376 ns 2372 ns 4
|
|
std::string str = std::format("test = {} times", k);_stddev 20.9 ns 32.2 ns 4
|
|
std::string str = std::format("test = {} times", k);_cv 0.88 % 1.36 % 4
|
|
lstringa<8> str; str.format("test = {} times", k);_mean 2630 ns 2624 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_median 2631 ns 2638 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_stddev 35.8 ns 56.8 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_cv 1.36 % 2.16 % 4
|
|
lstringa<32> str; str.format("test = {} times", k);_mean 1546 ns 1535 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_median 1546 ns 1517 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_stddev 24.0 ns 49.3 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_cv 1.56 % 3.21 % 4
|
|
lstringa<8> str = "test = " + k + " times";_mean 925 ns 926 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_median 926 ns 931 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_stddev 13.6 ns 20.0 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_cv 1.47 % 2.16 % 4
|
|
lstringa<32> str = "test = " + k + " times";_mean 173 ns 172 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_median 173 ns 172 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_stddev 1.09 ns 3.42 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_cv 0.63 % 1.99 % 4
|
|
stringa str = "test = " + k + " times";_mean 180 ns 179 ns 4
|
|
stringa str = "test = " + k + " times";_median 179 ns 180 ns 4
|
|
stringa str = "test = " + k + " times";_stddev 2.02 ns 2.09 ns 4
|
|
stringa str = "test = " + k + " times";_cv 1.13 % 1.17 % 4
|
|
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string::find + substr + std::strtol_mean 556 ns 551 ns 4
|
|
std::string::find + substr + std::strtol_median 557 ns 551 ns 4
|
|
std::string::find + substr + std::strtol_stddev 8.24 ns 8.05 ns 4
|
|
std::string::find + substr + std::strtol_cv 1.48 % 1.46 % 4
|
|
ssa::splitter + ssa::as_int_mean 302 ns 298 ns 4
|
|
ssa::splitter + ssa::as_int_median 300 ns 296 ns 4
|
|
ssa::splitter + ssa::as_int_stddev 7.11 ns 6.68 ns 4
|
|
ssa::splitter + ssa::as_int_cv 2.35 % 2.24 % 4
|
|
ssa::splitf + functor_mean 216 ns 216 ns 4
|
|
ssa::splitf + functor_median 216 ns 217 ns 4
|
|
ssa::splitf + functor_stddev 4.09 ns 4.67 ns 4
|
|
ssa::splitf + functor_cv 1.90 % 2.16 % 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 1259 ns 1256 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_median 1264 ns 1256 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_stddev 34.3 ns 22.8 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_cv 2.72 % 1.81 % 4
|
|
replace symbols with std::string find_first_of + replace_mean 2262 ns 2223 ns 4
|
|
replace symbols with std::string find_first_of + replace_median 2279 ns 2223 ns 4
|
|
replace symbols with std::string find_first_of + replace_stddev 47.6 ns 67.5 ns 4
|
|
replace symbols with std::string find_first_of + replace_cv 2.10 % 3.04 % 4
|
|
replace symbols with std::string_view find_first_of + copy_mean 2618 ns 2623 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_median 2609 ns 2623 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_stddev 51.2 ns 45.6 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_cv 1.96 % 1.74 % 4
|
|
replace runtime symbols with string expressions and without remembering all search results_mean 1689 ns 1692 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_median 1687 ns 1692 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_stddev 34.4 ns 45.0 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_cv 2.04 % 2.66 % 4
|
|
replace runtime symbols with simstr and memorization of all search results_mean 1490 ns 1491 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_median 1487 ns 1482 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_stddev 43.2 ns 59.6 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_cv 2.90 % 3.99 % 4
|
|
replace const symbols with string expressions and without remembering all search results_mean 1255 ns 1251 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_median 1247 ns 1245 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_stddev 21.4 ns 12.2 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_cv 1.70 % 0.98 % 4
|
|
replace const symbols with string expressions and memorization of all search results_mean 1217 ns 1221 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_median 1205 ns 1208 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_stddev 36.0 ns 34.5 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_cv 2.96 % 2.83 % 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 330 ns 330 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_median 333 ns 333 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 9.90 ns 10.4 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_cv 3.00 % 3.14 % 4
|
|
Short replace symbols with std::string find_first_of + replace_mean 423 ns 422 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_median 422 ns 425 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_stddev 7.83 ns 9.35 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_cv 1.85 % 2.21 % 4
|
|
Short replace symbols with std::string_view find_first_of + copy_mean 350 ns 345 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_median 348 ns 345 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_stddev 8.01 ns 6.26 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_cv 2.29 % 1.81 % 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_mean 312 ns 310 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_median 309 ns 307 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_stddev 7.64 ns 6.98 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_cv 2.45 % 2.25 % 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_mean 418 ns 417 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_median 418 ns 414 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_stddev 2.68 ns 4.71 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_cv 0.64 % 1.13 % 4
|
|
Short replace const symbols with string expressions and without remembering all search results_mean 252 ns 250 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_median 251 ns 251 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_stddev 4.44 ns 2.62 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_cv 1.76 % 1.05 % 4
|
|
Short replace const symbols with string expressions and memorization of all search results_mean 325 ns 326 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_median 325 ns 326 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_stddev 5.25 ns 4.43 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_cv 1.62 % 1.36 % 4
|
|
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to ---- in std::string|64_mean 239 ns 239 ns 4
|
|
replace bb to ---- in std::string|64_median 237 ns 238 ns 4
|
|
replace bb to ---- in std::string|64_stddev 8.97 ns 8.93 ns 4
|
|
replace bb to ---- in std::string|64_cv 3.76 % 3.73 % 4
|
|
replace bb to ---- in std::string|256_mean 796 ns 789 ns 4
|
|
replace bb to ---- in std::string|256_median 800 ns 793 ns 4
|
|
replace bb to ---- in std::string|256_stddev 19.0 ns 16.7 ns 4
|
|
replace bb to ---- in std::string|256_cv 2.39 % 2.12 % 4
|
|
replace bb to ---- in std::string|512_mean 1522 ns 1508 ns 4
|
|
replace bb to ---- in std::string|512_median 1521 ns 1500 ns 4
|
|
replace bb to ---- in std::string|512_stddev 24.6 ns 17.4 ns 4
|
|
replace bb to ---- in std::string|512_cv 1.61 % 1.16 % 4
|
|
replace bb to ---- in std::string|1024_mean 3121 ns 3113 ns 4
|
|
replace bb to ---- in std::string|1024_median 3124 ns 3113 ns 4
|
|
replace bb to ---- in std::string|1024_stddev 62.0 ns 42.3 ns 4
|
|
replace bb to ---- in std::string|1024_cv 1.99 % 1.36 % 4
|
|
replace bb to ---- in std::string|2048_mean 7894 ns 7891 ns 4
|
|
replace bb to ---- in std::string|2048_median 7831 ns 7847 ns 4
|
|
replace bb to ---- in std::string|2048_stddev 163 ns 219 ns 4
|
|
replace bb to ---- in std::string|2048_cv 2.07 % 2.78 % 4
|
|
replace bb to ---- in lstringa<8>|64_mean 230 ns 229 ns 4
|
|
replace bb to ---- in lstringa<8>|64_median 230 ns 230 ns 4
|
|
replace bb to ---- in lstringa<8>|64_stddev 4.16 ns 2.62 ns 4
|
|
replace bb to ---- in lstringa<8>|64_cv 1.81 % 1.14 % 4
|
|
replace bb to ---- in lstringa<8>|256_mean 671 ns 673 ns 4
|
|
replace bb to ---- in lstringa<8>|256_median 672 ns 670 ns 4
|
|
replace bb to ---- in lstringa<8>|256_stddev 20.3 ns 20.9 ns 4
|
|
replace bb to ---- in lstringa<8>|256_cv 3.02 % 3.11 % 4
|
|
replace bb to ---- in lstringa<8>|512_mean 1119 ns 1123 ns 4
|
|
replace bb to ---- in lstringa<8>|512_median 1126 ns 1135 ns 4
|
|
replace bb to ---- in lstringa<8>|512_stddev 42.5 ns 34.5 ns 4
|
|
replace bb to ---- in lstringa<8>|512_cv 3.80 % 3.07 % 4
|
|
replace bb to ---- in lstringa<8>|1024_mean 2032 ns 2029 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_median 2036 ns 2040 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_stddev 45.3 ns 57.1 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_cv 2.23 % 2.81 % 4
|
|
replace bb to ---- in lstringa<8>|2048_mean 3867 ns 3858 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_median 3861 ns 3836 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_stddev 92.9 ns 110 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_cv 2.40 % 2.84 % 4
|
|
replace bb to ---- by init stringa|64_mean 200 ns 199 ns 4
|
|
replace bb to ---- by init stringa|64_median 199 ns 199 ns 4
|
|
replace bb to ---- by init stringa|64_stddev 5.09 ns 3.70 ns 4
|
|
replace bb to ---- by init stringa|64_cv 2.55 % 1.86 % 4
|
|
replace bb to ---- by init stringa|256_mean 463 ns 463 ns 4
|
|
replace bb to ---- by init stringa|256_median 464 ns 465 ns 4
|
|
replace bb to ---- by init stringa|256_stddev 2.78 ns 5.06 ns 4
|
|
replace bb to ---- by init stringa|256_cv 0.60 % 1.09 % 4
|
|
replace bb to ---- by init stringa|512_mean 1075 ns 1074 ns 4
|
|
replace bb to ---- by init stringa|512_median 1080 ns 1086 ns 4
|
|
replace bb to ---- by init stringa|512_stddev 33.4 ns 34.5 ns 4
|
|
replace bb to ---- by init stringa|512_cv 3.11 % 3.21 % 4
|
|
replace bb to ---- by init stringa|1024_mean 2167 ns 2161 ns 4
|
|
replace bb to ---- by init stringa|1024_median 2185 ns 2173 ns 4
|
|
replace bb to ---- by init stringa|1024_stddev 38.1 ns 46.7 ns 4
|
|
replace bb to ---- by init stringa|1024_cv 1.76 % 2.16 % 4
|
|
replace bb to ---- by init stringa|2048_mean 4357 ns 4368 ns 4
|
|
replace bb to ---- by init stringa|2048_median 4361 ns 4342 ns 4
|
|
replace bb to ---- by init stringa|2048_stddev 79.5 ns 100 ns 4
|
|
replace bb to ---- by init stringa|2048_cv 1.82 % 2.29 % 4
|
|
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to -- in std::string|64_mean 201 ns 200 ns 4
|
|
replace bb to -- in std::string|64_median 201 ns 198 ns 4
|
|
replace bb to -- in std::string|64_stddev 5.09 ns 6.91 ns 4
|
|
replace bb to -- in std::string|64_cv 2.53 % 3.45 % 4
|
|
replace bb to -- in std::string|256_mean 517 ns 512 ns 4
|
|
replace bb to -- in std::string|256_median 518 ns 508 ns 4
|
|
replace bb to -- in std::string|256_stddev 6.85 ns 15.0 ns 4
|
|
replace bb to -- in std::string|256_cv 1.32 % 2.92 % 4
|
|
replace bb to -- in std::string|512_mean 924 ns 922 ns 4
|
|
replace bb to -- in std::string|512_median 921 ns 916 ns 4
|
|
replace bb to -- in std::string|512_stddev 27.9 ns 41.7 ns 4
|
|
replace bb to -- in std::string|512_cv 3.02 % 4.52 % 4
|
|
replace bb to -- in std::string|1024_mean 1771 ns 1765 ns 4
|
|
replace bb to -- in std::string|1024_median 1772 ns 1765 ns 4
|
|
replace bb to -- in std::string|1024_stddev 15.3 ns 31.3 ns 4
|
|
replace bb to -- in std::string|1024_cv 0.86 % 1.77 % 4
|
|
replace bb to -- in std::string|2048_mean 3511 ns 3516 ns 4
|
|
replace bb to -- in std::string|2048_median 3496 ns 3516 ns 4
|
|
replace bb to -- in std::string|2048_stddev 51.6 ns 59.8 ns 4
|
|
replace bb to -- in std::string|2048_cv 1.47 % 1.70 % 4
|
|
replace bb to -- in lstringa<8>|64_mean 189 ns 187 ns 4
|
|
replace bb to -- in lstringa<8>|64_median 189 ns 184 ns 4
|
|
replace bb to -- in lstringa<8>|64_stddev 6.53 ns 8.58 ns 4
|
|
replace bb to -- in lstringa<8>|64_cv 3.46 % 4.59 % 4
|
|
replace bb to -- in lstringa<8>|256_mean 434 ns 430 ns 4
|
|
replace bb to -- in lstringa<8>|256_median 434 ns 430 ns 4
|
|
replace bb to -- in lstringa<8>|256_stddev 4.24 ns 5.84 ns 4
|
|
replace bb to -- in lstringa<8>|256_cv 0.98 % 1.36 % 4
|
|
replace bb to -- in lstringa<8>|512_mean 779 ns 772 ns 4
|
|
replace bb to -- in lstringa<8>|512_median 776 ns 776 ns 4
|
|
replace bb to -- in lstringa<8>|512_stddev 17.2 ns 29.8 ns 4
|
|
replace bb to -- in lstringa<8>|512_cv 2.21 % 3.86 % 4
|
|
replace bb to -- in lstringa<8>|1024_mean 1465 ns 1465 ns 4
|
|
replace bb to -- in lstringa<8>|1024_median 1465 ns 1465 ns 4
|
|
replace bb to -- in lstringa<8>|1024_stddev 41.6 ns 63.7 ns 4
|
|
replace bb to -- in lstringa<8>|1024_cv 2.84 % 4.35 % 4
|
|
replace bb to -- in lstringa<8>|2048_mean 2810 ns 2778 ns 4
|
|
replace bb to -- in lstringa<8>|2048_median 2820 ns 2762 ns 4
|
|
replace bb to -- in lstringa<8>|2048_stddev 39.1 ns 31.4 ns 4
|
|
replace bb to -- in lstringa<8>|2048_cv 1.39 % 1.13 % 4
|
|
replace bb to -- by init stringa|64_mean 166 ns 165 ns 4
|
|
replace bb to -- by init stringa|64_median 165 ns 164 ns 4
|
|
replace bb to -- by init stringa|64_stddev 3.49 ns 1.74 ns 4
|
|
replace bb to -- by init stringa|64_cv 2.11 % 1.06 % 4
|
|
replace bb to -- by init stringa|256_mean 375 ns 373 ns 4
|
|
replace bb to -- by init stringa|256_median 374 ns 373 ns 4
|
|
replace bb to -- by init stringa|256_stddev 11.1 ns 10.4 ns 4
|
|
replace bb to -- by init stringa|256_cv 2.95 % 2.78 % 4
|
|
replace bb to -- by init stringa|512_mean 621 ns 617 ns 4
|
|
replace bb to -- by init stringa|512_median 621 ns 614 ns 4
|
|
replace bb to -- by init stringa|512_stddev 3.82 ns 6.98 ns 4
|
|
replace bb to -- by init stringa|512_cv 0.62 % 1.13 % 4
|
|
replace bb to -- by init stringa|1024_mean 1112 ns 1111 ns 4
|
|
replace bb to -- by init stringa|1024_median 1117 ns 1111 ns 4
|
|
replace bb to -- by init stringa|1024_stddev 11.6 ns 14.1 ns 4
|
|
replace bb to -- by init stringa|1024_cv 1.04 % 1.27 % 4
|
|
replace bb to -- by init stringa|2048_mean 2125 ns 2106 ns 4
|
|
replace bb to -- by init stringa|2048_median 2128 ns 2119 ns 4
|
|
replace bb to -- by init stringa|2048_stddev 69.6 ns 50.1 ns 4
|
|
replace bb to -- by init stringa|2048_cv 3.28 % 2.38 % 4
|
|
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
hashStrMapA<size_t> emplace & find stringa;_mean 4428253 ns 4447477 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_median 4425980 ns 4471009 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_stddev 60684 ns 90119 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_cv 1.37 % 2.03 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5898002 ns 5894252 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5950855 ns 5929129 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 185040 ns 133570 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 3.14 % 2.27 % 4
|
|
hashStrMapA<size_t> emplace & find ssa;_mean 4082178 ns 4052473 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_median 4126593 ns 4052473 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_stddev 142057 ns 107871 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_cv 3.48 % 2.66 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6303534 ns 6312779 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6278181 ns 6277902 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 94031 ns 69754 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 1.49 % 1.10 % 4
|
|
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Build func full name std::string;_mean 1604 ns 1604 ns 4
|
|
Build func full name std::string;_median 1594 ns 1587 ns 4
|
|
Build func full name std::string;_stddev 53.1 ns 49.3 ns 4
|
|
Build func full name std::string;_cv 3.31 % 3.07 % 4
|
|
Build func full name std::string 1;_mean 1697 ns 1698 ns 4
|
|
Build func full name std::string 1;_median 1704 ns 1688 ns 4
|
|
Build func full name std::string 1;_stddev 24.3 ns 19.2 ns 4
|
|
Build func full name std::string 1;_cv 1.43 % 1.13 % 4
|
|
Build func full name std::stream;_mean 10054 ns 9949 ns 4
|
|
Build func full name std::stream;_median 10012 ns 10010 ns 4
|
|
Build func full name std::stream;_stddev 297 ns 503 ns 4
|
|
Build func full name std::stream;_cv 2.95 % 5.06 % 4
|
|
Build func full name stringa;_mean 879 ns 881 ns 4
|
|
Build func full name stringa;_median 880 ns 881 ns 4
|
|
Build func full name stringa;_stddev 19.5 ns 22.5 ns 4
|
|
Build func full name stringa;_cv 2.22 % 2.56 % 4
|
|
Build func full name stringa 1;_mean 982 ns 984 ns 4
|
|
Build func full name stringa 1;_median 987 ns 994 ns 4
|
|
Build func full name stringa 1;_stddev 29.7 ns 29.6 ns 4
|
|
Build func full name stringa 1;_cv 3.03 % 3.01 % 4
|
|
----- Make Upper ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
To upper case std::wstring_mean 1424 ns 1420 ns 4
|
|
To upper case std::wstring_median 1436 ns 1428 ns 4
|
|
To upper case std::wstring_stddev 35.9 ns 53.6 ns 4
|
|
To upper case std::wstring_cv 2.52 % 3.77 % 4
|
|
To upper case lstringw<15>_mean 50.5 ns 50.4 ns 4
|
|
To upper case lstringw<15>_median 50.4 ns 50.0 ns 4
|
|
To upper case lstringw<15>_stddev 0.369 ns 0.781 ns 4
|
|
To upper case lstringw<15>_cv 0.73 % 1.55 % 4
|