mirror of https://github.com/orefkov/simstr.git
986 lines
146 KiB
Plaintext
986 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-21T16:31:51+03:00
|
|
Running ./benchStr
|
|
Run on (32 X 2494.22 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)
|
|
Load Average: 0.31, 0.73, 0.52
|
|
***WARNING*** ASLR is enabled, the results may have unreproducible noise in them.
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
Benchmark Time CPU Iterations
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
----- Concatenate email ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat email std::format_mean 167 ns 167 ns 4
|
|
Concat email std::format_median 167 ns 167 ns 4
|
|
Concat email std::format_stddev 1.71 ns 1.71 ns 4
|
|
Concat email std::format_cv 1.02 % 1.02 % 4
|
|
Concat email std::stringstream_mean 324 ns 324 ns 4
|
|
Concat email std::stringstream_median 324 ns 324 ns 4
|
|
Concat email std::stringstream_stddev 6.79 ns 6.79 ns 4
|
|
Concat email std::stringstream_cv 2.09 % 2.09 % 4
|
|
Concat email stringzilla append_mean 135 ns 135 ns 4
|
|
Concat email stringzilla append_median 135 ns 135 ns 4
|
|
Concat email stringzilla append_stddev 2.16 ns 2.16 ns 4
|
|
Concat email stringzilla append_cv 1.60 % 1.60 % 4
|
|
Concat email stringzilla concat_mean 53.5 ns 53.5 ns 4
|
|
Concat email stringzilla concat_median 53.6 ns 53.6 ns 4
|
|
Concat email stringzilla concat_stddev 1.95 ns 1.95 ns 4
|
|
Concat email stringzilla concat_cv 3.64 % 3.64 % 4
|
|
Concat email std::string append_mean 72.9 ns 72.9 ns 4
|
|
Concat email std::string append_median 73.1 ns 73.1 ns 4
|
|
Concat email std::string append_stddev 1.03 ns 1.03 ns 4
|
|
Concat email std::string append_cv 1.42 % 1.42 % 4
|
|
Concat email std::string by strexpr_mean 43.5 ns 43.5 ns 4
|
|
Concat email std::string by strexpr_median 43.4 ns 43.4 ns 4
|
|
Concat email std::string by strexpr_stddev 0.342 ns 0.341 ns 4
|
|
Concat email std::string by strexpr_cv 0.79 % 0.79 % 4
|
|
Concat email stringa_mean 39.4 ns 39.4 ns 4
|
|
Concat email stringa_median 39.6 ns 39.6 ns 4
|
|
Concat email stringa_stddev 0.697 ns 0.697 ns 4
|
|
Concat email stringa_cv 1.77 % 1.77 % 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 214 ns 214 ns 4
|
|
Concat std::string and number by std to std::string_median 213 ns 213 ns 4
|
|
Concat std::string and number by std to std::string_stddev 5.13 ns 5.13 ns 4
|
|
Concat std::string and number by std to std::string_cv 2.40 % 2.40 % 4
|
|
Concat std::string and number by StrExpr to std::string_mean 104 ns 104 ns 4
|
|
Concat std::string and number by StrExpr to std::string_median 104 ns 104 ns 4
|
|
Concat std::string and number by StrExpr to std::string_stddev 2.10 ns 2.10 ns 4
|
|
Concat std::string and number by StrExpr to std::string_cv 2.02 % 2.02 % 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_mean 67.7 ns 67.7 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_median 67.8 ns 67.8 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_stddev 0.686 ns 0.686 ns 4
|
|
Concat stringa and number by StrExpr to simstr::stringa_cv 1.01 % 1.01 % 4
|
|
Concat stringa and number by e_concat to simstr::stringa_mean 70.8 ns 70.8 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_median 70.6 ns 70.6 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_stddev 2.17 ns 2.17 ns 4
|
|
Concat stringa and number by e_concat to simstr::stringa_cv 3.06 % 3.06 % 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 689 ns 689 ns 4
|
|
Concat std::string and format hex number and literal to std::string_median 682 ns 682 ns 4
|
|
Concat std::string and format hex number and literal to std::string_stddev 18.9 ns 18.9 ns 4
|
|
Concat std::string and format hex number and literal to std::string_cv 2.74 % 2.74 % 4
|
|
std::format std::string and hex number by literal to std::string_mean 889 ns 889 ns 4
|
|
std::format std::string and hex number by literal to std::string_median 889 ns 889 ns 4
|
|
std::format std::string and hex number by literal to std::string_stddev 8.63 ns 8.63 ns 4
|
|
std::format std::string and hex number by literal to std::string_cv 0.97 % 0.97 % 4
|
|
Concat std::string and std::to_chars and string to std::string_mean 199 ns 199 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_median 200 ns 200 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_stddev 2.47 ns 2.47 ns 4
|
|
Concat std::string and std::to_chars and string to std::string_cv 1.24 % 1.24 % 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_mean 134 ns 134 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_median 134 ns 134 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_stddev 1.07 ns 1.07 ns 4
|
|
Concat std::string and hex number and literal by StrExpr to std::string_cv 0.80 % 0.80 % 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 117 ns 117 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 117 ns 117 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 1.09 ns 1.09 ns 4
|
|
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 0.94 % 0.94 % 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 123 ns 123 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 123 ns 123 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 1.16 ns 1.16 ns 4
|
|
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 0.95 % 0.95 % 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 188 ns 188 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_median 189 ns 189 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 3.53 ns 3.53 ns 4
|
|
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 1.88 % 1.88 % 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 310 ns 310 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 310 ns 310 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 8.86 ns 8.86 ns 4
|
|
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 2.86 % 2.86 % 4
|
|
---- format/vformat and subst/vsubst octal number to 32 symbols result ----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_mean 277 ns 277 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 275 ns 275 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 7.52 ns 7.52 ns 4
|
|
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 2.71 % 2.71 % 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 353 ns 353 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 352 ns 352 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 4.33 ns 4.33 ns 4
|
|
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 1.23 % 1.23 % 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_mean 615 ns 615 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_median 620 ns 620 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 16.2 ns 16.2 ns 4
|
|
e_vsubst(pattern, i / 0x8a010_fmt)_cv 2.64 % 2.64 % 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 685 ns 685 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 686 ns 686 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 11.4 ns 11.4 ns 4
|
|
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 1.66 % 1.66 % 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 854 ns 854 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 858 ns 858 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 44.1 ns 44.1 ns 4
|
|
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 5.16 % 5.16 % 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 1016 ns 1016 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_median 992 ns 992 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 50.4 ns 50.4 ns 4
|
|
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 4.96 % 4.96 % 4
|
|
std::vformat(pattern, std::make_format_args(i))_mean 1016 ns 1016 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_median 1016 ns 1016 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_stddev 21.0 ns 21.0 ns 4
|
|
std::vformat(pattern, std::make_format_args(i))_cv 2.07 % 2.07 % 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 2057 ns 2057 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 2060 ns 2060 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 38.6 ns 38.6 ns 4
|
|
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 1.88 % 1.88 % 4
|
|
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat std::string by std to std::string_mean 45.6 ns 45.6 ns 4
|
|
Concat std::string by std to std::string_median 45.7 ns 45.7 ns 4
|
|
Concat std::string by std to std::string_stddev 0.655 ns 0.655 ns 4
|
|
Concat std::string by std to std::string_cv 1.44 % 1.44 % 4
|
|
Concat std::string by StrExpr to std::string_mean 32.2 ns 32.2 ns 4
|
|
Concat std::string by StrExpr to std::string_median 32.2 ns 32.2 ns 4
|
|
Concat std::string by StrExpr to std::string_stddev 1.60 ns 1.60 ns 4
|
|
Concat std::string by StrExpr to std::string_cv 4.96 % 4.96 % 4
|
|
Concat stringa by StrExpr to stringa_mean 28.5 ns 28.5 ns 4
|
|
Concat stringa by StrExpr to stringa_median 28.4 ns 28.4 ns 4
|
|
Concat stringa by StrExpr to stringa_stddev 0.635 ns 0.635 ns 4
|
|
Concat stringa by StrExpr to stringa_cv 2.23 % 2.23 % 4
|
|
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Find concat three std::string_mean 114 ns 114 ns 4
|
|
Find concat three std::string_median 115 ns 115 ns 4
|
|
Find concat three std::string_stddev 3.52 ns 3.52 ns 4
|
|
Find concat three std::string_cv 3.08 % 3.08 % 4
|
|
Find concat three strexpr_mean 49.6 ns 49.6 ns 4
|
|
Find concat three strexpr_median 49.6 ns 49.6 ns 4
|
|
Find concat three strexpr_stddev 0.141 ns 0.141 ns 4
|
|
Find concat three strexpr_cv 0.28 % 0.28 % 4
|
|
Find concat three simstr_mean 19.5 ns 19.5 ns 4
|
|
Find concat three simstr_median 19.5 ns 19.5 ns 4
|
|
Find concat three simstr_stddev 0.443 ns 0.443 ns 4
|
|
Find concat three simstr_cv 2.27 % 2.27 % 4
|
|
Find concat three stringzilla string_mean 145 ns 145 ns 4
|
|
Find concat three stringzilla string_median 144 ns 144 ns 4
|
|
Find concat three stringzilla string_stddev 4.55 ns 4.55 ns 4
|
|
Find concat three stringzilla string_cv 3.15 % 3.15 % 4
|
|
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
BuildTypeNameStr 0/0_mean 7.33 ns 7.33 ns 4
|
|
BuildTypeNameStr 0/0_median 7.29 ns 7.29 ns 4
|
|
BuildTypeNameStr 0/0_stddev 0.286 ns 0.286 ns 4
|
|
BuildTypeNameStr 0/0_cv 3.90 % 3.90 % 4
|
|
BuildTypeNameExp 0/0_mean 6.78 ns 6.78 ns 4
|
|
BuildTypeNameExp 0/0_median 6.77 ns 6.77 ns 4
|
|
BuildTypeNameExp 0/0_stddev 0.201 ns 0.201 ns 4
|
|
BuildTypeNameExp 0/0_cv 2.96 % 2.96 % 4
|
|
BuildTypeNameSim 0/0_mean 5.04 ns 5.04 ns 4
|
|
BuildTypeNameSim 0/0_median 4.95 ns 4.95 ns 4
|
|
BuildTypeNameSim 0/0_stddev 0.203 ns 0.203 ns 4
|
|
BuildTypeNameSim 0/0_cv 4.03 % 4.03 % 4
|
|
BuildTypeNameStr 10/10_mean 57.9 ns 57.9 ns 4
|
|
BuildTypeNameStr 10/10_median 56.8 ns 56.8 ns 4
|
|
BuildTypeNameStr 10/10_stddev 4.32 ns 4.32 ns 4
|
|
BuildTypeNameStr 10/10_cv 7.47 % 7.47 % 4
|
|
BuildTypeNameExp 10/10_mean 31.0 ns 31.0 ns 4
|
|
BuildTypeNameExp 10/10_median 30.9 ns 30.9 ns 4
|
|
BuildTypeNameExp 10/10_stddev 0.453 ns 0.453 ns 4
|
|
BuildTypeNameExp 10/10_cv 1.46 % 1.46 % 4
|
|
BuildTypeNameSim 10/10_mean 23.6 ns 23.6 ns 4
|
|
BuildTypeNameSim 10/10_median 23.3 ns 23.3 ns 4
|
|
BuildTypeNameSim 10/10_stddev 1.22 ns 1.22 ns 4
|
|
BuildTypeNameSim 10/10_cv 5.19 % 5.19 % 4
|
|
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Concat with replace str_mean 203 ns 203 ns 4
|
|
Concat with replace str_median 203 ns 203 ns 4
|
|
Concat with replace str_stddev 2.25 ns 2.25 ns 4
|
|
Concat with replace str_cv 1.11 % 1.11 % 4
|
|
Concat with replace exp_mean 147 ns 147 ns 4
|
|
Concat with replace exp_median 147 ns 147 ns 4
|
|
Concat with replace exp_stddev 1.58 ns 1.58 ns 4
|
|
Concat with replace exp_cv 1.07 % 1.07 % 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.016 ns 0.016 ns 4
|
|
std::string e;_cv 1.46 % 1.46 % 4
|
|
std::string_view e;_mean 0.370 ns 0.370 ns 4
|
|
std::string_view e;_median 0.371 ns 0.371 ns 4
|
|
std::string_view e;_stddev 0.004 ns 0.004 ns 4
|
|
std::string_view e;_cv 1.21 % 1.21 % 4
|
|
ssa e;_mean 0.369 ns 0.369 ns 4
|
|
ssa e;_median 0.367 ns 0.367 ns 4
|
|
ssa e;_stddev 0.007 ns 0.007 ns 4
|
|
ssa e;_cv 2.00 % 2.00 % 4
|
|
stringa e;_mean 0.749 ns 0.749 ns 4
|
|
stringa e;_median 0.750 ns 0.750 ns 4
|
|
stringa e;_stddev 0.008 ns 0.008 ns 4
|
|
stringa e;_cv 1.04 % 1.04 % 4
|
|
lstringa<20> e;_mean 1.13 ns 1.13 ns 4
|
|
lstringa<20> e;_median 1.13 ns 1.13 ns 4
|
|
lstringa<20> e;_stddev 0.039 ns 0.039 ns 4
|
|
lstringa<20> e;_cv 3.48 % 3.48 % 4
|
|
lstringa<40> e;_mean 1.13 ns 1.13 ns 4
|
|
lstringa<40> e;_median 1.13 ns 1.13 ns 4
|
|
lstringa<40> e;_stddev 0.012 ns 0.012 ns 4
|
|
lstringa<40> e;_cv 1.08 % 1.08 % 4
|
|
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "Test text";_mean 1.86 ns 1.86 ns 4
|
|
std::string e = "Test text";_median 1.86 ns 1.86 ns 4
|
|
std::string e = "Test text";_stddev 0.042 ns 0.042 ns 4
|
|
std::string e = "Test text";_cv 2.27 % 2.27 % 4
|
|
std::string_view e = "Test text";_mean 0.743 ns 0.743 ns 4
|
|
std::string_view e = "Test text";_median 0.740 ns 0.740 ns 4
|
|
std::string_view e = "Test text";_stddev 0.010 ns 0.010 ns 4
|
|
std::string_view e = "Test text";_cv 1.38 % 1.38 % 4
|
|
ssa e = "Test text";_mean 0.376 ns 0.376 ns 4
|
|
ssa e = "Test text";_median 0.375 ns 0.375 ns 4
|
|
ssa e = "Test text";_stddev 0.005 ns 0.005 ns 4
|
|
ssa e = "Test text";_cv 1.42 % 1.42 % 4
|
|
stringa e = "Test text";_mean 1.11 ns 1.11 ns 4
|
|
stringa e = "Test text";_median 1.12 ns 1.12 ns 4
|
|
stringa e = "Test text";_stddev 0.026 ns 0.026 ns 4
|
|
stringa e = "Test text";_cv 2.33 % 2.33 % 4
|
|
lstringa<20> e = "Test text";_mean 1.89 ns 1.89 ns 4
|
|
lstringa<20> e = "Test text";_median 1.89 ns 1.89 ns 4
|
|
lstringa<20> e = "Test text";_stddev 0.007 ns 0.007 ns 4
|
|
lstringa<20> e = "Test text";_cv 0.39 % 0.39 % 4
|
|
lstringa<40> e = "Test text";_mean 1.86 ns 1.86 ns 4
|
|
lstringa<40> e = "Test text";_median 1.85 ns 1.85 ns 4
|
|
lstringa<40> e = "Test text";_stddev 0.044 ns 0.044 ns 4
|
|
lstringa<40> e = "Test text";_cv 2.36 % 2.36 % 4
|
|
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "123456789012345678901234567890";_mean 20.0 ns 20.0 ns 4
|
|
std::string e = "123456789012345678901234567890";_median 19.9 ns 19.9 ns 4
|
|
std::string e = "123456789012345678901234567890";_stddev 0.284 ns 0.284 ns 4
|
|
std::string e = "123456789012345678901234567890";_cv 1.42 % 1.42 % 4
|
|
std::string_view e = "123456789012345678901234567890";_mean 0.744 ns 0.744 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_median 0.744 ns 0.744 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_stddev 0.012 ns 0.012 ns 4
|
|
std::string_view e = "123456789012345678901234567890";_cv 1.63 % 1.63 % 4
|
|
ssa e = "123456789012345678901234567890";_mean 0.373 ns 0.373 ns 4
|
|
ssa e = "123456789012345678901234567890";_median 0.371 ns 0.371 ns 4
|
|
ssa e = "123456789012345678901234567890";_stddev 0.010 ns 0.010 ns 4
|
|
ssa e = "123456789012345678901234567890";_cv 2.77 % 2.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.018 ns 0.018 ns 4
|
|
stringa e = "123456789012345678901234567890";_cv 1.63 % 1.63 % 4
|
|
lstringa<20> e = "123456789012345678901234567890";_mean 21.2 ns 21.2 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_median 21.3 ns 21.3 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_stddev 0.445 ns 0.445 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890";_cv 2.10 % 2.10 % 4
|
|
lstringa<40> e = "123456789012345678901234567890";_mean 2.59 ns 2.59 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_median 2.58 ns 2.58 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_stddev 0.036 ns 0.036 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890";_cv 1.38 % 1.38 % 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.24 ns 5.24 ns 4
|
|
std::string e = "Test text"; auto c{e};_median 5.25 ns 5.25 ns 4
|
|
std::string e = "Test text"; auto c{e};_stddev 0.033 ns 0.033 ns 4
|
|
std::string e = "Test text"; auto c{e};_cv 0.63 % 0.63 % 4
|
|
std::string_view e = "Test text"; auto c{e};_mean 0.371 ns 0.371 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_median 0.372 ns 0.372 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_stddev 0.011 ns 0.011 ns 4
|
|
std::string_view e = "Test text"; auto c{e};_cv 3.00 % 3.00 % 4
|
|
ssa e = "Test text"; auto c{e};_mean 0.376 ns 0.376 ns 4
|
|
ssa e = "Test text"; auto c{e};_median 0.376 ns 0.376 ns 4
|
|
ssa e = "Test text"; auto c{e};_stddev 0.011 ns 0.011 ns 4
|
|
ssa e = "Test text"; auto c{e};_cv 2.95 % 2.95 % 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.015 ns 0.015 ns 4
|
|
stringa e = "Test text"; auto c{e};_cv 1.36 % 1.36 % 4
|
|
lstringa<20> e = "Test text"; auto c{e};_mean 1.50 ns 1.50 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_median 1.50 ns 1.50 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_stddev 0.011 ns 0.011 ns 4
|
|
lstringa<20> e = "Test text"; auto c{e};_cv 0.72 % 0.72 % 4
|
|
lstringa<40> e = "Test text"; auto c{e};_mean 1.48 ns 1.48 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_median 1.49 ns 1.49 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_stddev 0.018 ns 0.018 ns 4
|
|
lstringa<40> e = "Test text"; auto c{e};_cv 1.19 % 1.19 % 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 19.3 ns 19.3 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_median 19.4 ns 19.4 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.526 ns 0.526 ns 4
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_cv 2.72 % 2.72 % 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.744 ns 0.744 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.743 ns 0.743 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.015 ns 0.015 ns 4
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.96 % 1.96 % 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.379 ns 0.379 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.378 ns 0.378 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.006 ns 0.006 ns 4
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.61 % 1.61 % 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.11 ns 1.11 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.11 ns 1.11 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.020 ns 0.020 ns 4
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_cv 1.81 % 1.81 % 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 20.7 ns 20.7 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 20.6 ns 20.6 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.512 ns 0.512 ns 4
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.47 % 2.47 % 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.59 ns 4.59 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.64 ns 4.64 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.131 ns 0.131 ns 4
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 2.86 % 2.86 % 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.7 ns 94.7 ns 4
|
|
sz::string::find;_median 95.0 ns 95.0 ns 4
|
|
sz::string::find;_stddev 0.998 ns 0.998 ns 4
|
|
sz::string::find;_cv 1.05 % 1.05 % 4
|
|
std::string::find;_mean 7.15 ns 7.15 ns 4
|
|
std::string::find;_median 7.17 ns 7.17 ns 4
|
|
std::string::find;_stddev 0.084 ns 0.084 ns 4
|
|
std::string::find;_cv 1.17 % 1.17 % 4
|
|
std::string_view::find;_mean 7.65 ns 7.65 ns 4
|
|
std::string_view::find;_median 7.64 ns 7.64 ns 4
|
|
std::string_view::find;_stddev 0.210 ns 0.210 ns 4
|
|
std::string_view::find;_cv 2.74 % 2.74 % 4
|
|
ssa::find;_mean 7.31 ns 7.31 ns 4
|
|
ssa::find;_median 7.34 ns 7.34 ns 4
|
|
ssa::find;_stddev 0.241 ns 0.241 ns 4
|
|
ssa::find;_cv 3.30 % 3.30 % 4
|
|
stringa::find;_mean 8.30 ns 8.30 ns 4
|
|
stringa::find;_median 8.14 ns 8.14 ns 4
|
|
stringa::find;_stddev 0.347 ns 0.347 ns 4
|
|
stringa::find;_cv 4.18 % 4.18 % 4
|
|
lstringa<20>::find;_mean 6.70 ns 6.70 ns 4
|
|
lstringa<20>::find;_median 6.66 ns 6.66 ns 4
|
|
lstringa<20>::find;_stddev 0.124 ns 0.124 ns 4
|
|
lstringa<20>::find;_cv 1.85 % 1.85 % 4
|
|
lstringa<40>::find;_mean 6.75 ns 6.75 ns 4
|
|
lstringa<40>::find;_median 6.71 ns 6.71 ns 4
|
|
lstringa<40>::find;_stddev 0.157 ns 0.157 ns 4
|
|
lstringa<40>::find;_cv 2.32 % 2.32 % 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.79 ns 5.79 ns 4
|
|
std::string copy{str_with_len_N};/15_median 5.77 ns 5.77 ns 4
|
|
std::string copy{str_with_len_N};/15_stddev 0.149 ns 0.149 ns 4
|
|
std::string copy{str_with_len_N};/15_cv 2.58 % 2.58 % 4
|
|
std::string copy{str_with_len_N};/16_mean 23.7 ns 23.7 ns 4
|
|
std::string copy{str_with_len_N};/16_median 23.4 ns 23.4 ns 4
|
|
std::string copy{str_with_len_N};/16_stddev 0.865 ns 0.865 ns 4
|
|
std::string copy{str_with_len_N};/16_cv 3.65 % 3.65 % 4
|
|
std::string copy{str_with_len_N};/23_mean 22.8 ns 22.8 ns 4
|
|
std::string copy{str_with_len_N};/23_median 22.8 ns 22.8 ns 4
|
|
std::string copy{str_with_len_N};/23_stddev 0.316 ns 0.316 ns 4
|
|
std::string copy{str_with_len_N};/23_cv 1.38 % 1.38 % 4
|
|
std::string copy{str_with_len_N};/24_mean 23.4 ns 23.4 ns 4
|
|
std::string copy{str_with_len_N};/24_median 23.5 ns 23.5 ns 4
|
|
std::string copy{str_with_len_N};/24_stddev 0.422 ns 0.422 ns 4
|
|
std::string copy{str_with_len_N};/24_cv 1.81 % 1.81 % 4
|
|
std::string copy{str_with_len_N};/32_mean 23.0 ns 23.0 ns 4
|
|
std::string copy{str_with_len_N};/32_median 23.0 ns 23.0 ns 4
|
|
std::string copy{str_with_len_N};/32_stddev 0.394 ns 0.394 ns 4
|
|
std::string copy{str_with_len_N};/32_cv 1.71 % 1.71 % 4
|
|
std::string copy{str_with_len_N};/64_mean 22.8 ns 22.8 ns 4
|
|
std::string copy{str_with_len_N};/64_median 22.7 ns 22.7 ns 4
|
|
std::string copy{str_with_len_N};/64_stddev 0.672 ns 0.672 ns 4
|
|
std::string copy{str_with_len_N};/64_cv 2.95 % 2.95 % 4
|
|
std::string copy{str_with_len_N};/128_mean 24.9 ns 24.9 ns 4
|
|
std::string copy{str_with_len_N};/128_median 24.7 ns 24.7 ns 4
|
|
std::string copy{str_with_len_N};/128_stddev 0.566 ns 0.566 ns 4
|
|
std::string copy{str_with_len_N};/128_cv 2.28 % 2.28 % 4
|
|
std::string copy{str_with_len_N};/256_mean 31.4 ns 31.4 ns 4
|
|
std::string copy{str_with_len_N};/256_median 31.2 ns 31.2 ns 4
|
|
std::string copy{str_with_len_N};/256_stddev 0.684 ns 0.684 ns 4
|
|
std::string copy{str_with_len_N};/256_cv 2.18 % 2.18 % 4
|
|
std::string copy{str_with_len_N};/512_mean 29.2 ns 29.2 ns 4
|
|
std::string copy{str_with_len_N};/512_median 29.1 ns 29.1 ns 4
|
|
std::string copy{str_with_len_N};/512_stddev 0.649 ns 0.649 ns 4
|
|
std::string copy{str_with_len_N};/512_cv 2.22 % 2.22 % 4
|
|
std::string copy{str_with_len_N};/1024_mean 33.8 ns 33.8 ns 4
|
|
std::string copy{str_with_len_N};/1024_median 33.4 ns 33.4 ns 4
|
|
std::string copy{str_with_len_N};/1024_stddev 1.06 ns 1.06 ns 4
|
|
std::string copy{str_with_len_N};/1024_cv 3.14 % 3.14 % 4
|
|
std::string copy{str_with_len_N};/2048_mean 77.6 ns 77.6 ns 4
|
|
std::string copy{str_with_len_N};/2048_median 75.3 ns 75.3 ns 4
|
|
std::string copy{str_with_len_N};/2048_stddev 5.61 ns 5.61 ns 4
|
|
std::string copy{str_with_len_N};/2048_cv 7.23 % 7.23 % 4
|
|
std::string copy{str_with_len_N};/4096_mean 117 ns 117 ns 4
|
|
std::string copy{str_with_len_N};/4096_median 117 ns 117 ns 4
|
|
std::string copy{str_with_len_N};/4096_stddev 4.08 ns 4.08 ns 4
|
|
std::string copy{str_with_len_N};/4096_cv 3.50 % 3.50 % 4
|
|
stringa copy{str_with_len_N};/15_mean 1.10 ns 1.10 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.010 ns 0.010 ns 4
|
|
stringa copy{str_with_len_N};/15_cv 0.90 % 0.90 % 4
|
|
stringa copy{str_with_len_N};/16_mean 1.09 ns 1.09 ns 4
|
|
stringa copy{str_with_len_N};/16_median 1.09 ns 1.09 ns 4
|
|
stringa copy{str_with_len_N};/16_stddev 0.022 ns 0.022 ns 4
|
|
stringa copy{str_with_len_N};/16_cv 2.05 % 2.05 % 4
|
|
stringa copy{str_with_len_N};/23_mean 1.10 ns 1.10 ns 4
|
|
stringa copy{str_with_len_N};/23_median 1.10 ns 1.10 ns 4
|
|
stringa copy{str_with_len_N};/23_stddev 0.021 ns 0.021 ns 4
|
|
stringa copy{str_with_len_N};/23_cv 1.90 % 1.90 % 4
|
|
stringa copy{str_with_len_N};/24_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/24_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/24_stddev 0.041 ns 0.041 ns 4
|
|
stringa copy{str_with_len_N};/24_cv 0.25 % 0.25 % 4
|
|
stringa copy{str_with_len_N};/32_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/32_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/32_stddev 0.124 ns 0.124 ns 4
|
|
stringa copy{str_with_len_N};/32_cv 0.77 % 0.77 % 4
|
|
stringa copy{str_with_len_N};/64_mean 16.1 ns 16.1 ns 4
|
|
stringa copy{str_with_len_N};/64_median 16.1 ns 16.1 ns 4
|
|
stringa copy{str_with_len_N};/64_stddev 0.131 ns 0.131 ns 4
|
|
stringa copy{str_with_len_N};/64_cv 0.81 % 0.81 % 4
|
|
stringa copy{str_with_len_N};/128_mean 16.1 ns 16.1 ns 4
|
|
stringa copy{str_with_len_N};/128_median 16.1 ns 16.1 ns 4
|
|
stringa copy{str_with_len_N};/128_stddev 0.091 ns 0.091 ns 4
|
|
stringa copy{str_with_len_N};/128_cv 0.56 % 0.56 % 4
|
|
stringa copy{str_with_len_N};/256_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/256_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/256_stddev 0.073 ns 0.073 ns 4
|
|
stringa copy{str_with_len_N};/256_cv 0.46 % 0.46 % 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.061 ns 0.061 ns 4
|
|
stringa copy{str_with_len_N};/512_cv 0.38 % 0.38 % 4
|
|
stringa copy{str_with_len_N};/1024_mean 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/1024_median 16.0 ns 16.0 ns 4
|
|
stringa copy{str_with_len_N};/1024_stddev 0.070 ns 0.070 ns 4
|
|
stringa copy{str_with_len_N};/1024_cv 0.44 % 0.44 % 4
|
|
stringa copy{str_with_len_N};/2048_mean 16.5 ns 16.5 ns 4
|
|
stringa copy{str_with_len_N};/2048_median 16.6 ns 16.6 ns 4
|
|
stringa copy{str_with_len_N};/2048_stddev 0.293 ns 0.293 ns 4
|
|
stringa copy{str_with_len_N};/2048_cv 1.77 % 1.77 % 4
|
|
stringa copy{str_with_len_N};/4096_mean 16.1 ns 16.1 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.095 ns 0.095 ns 4
|
|
stringa copy{str_with_len_N};/4096_cv 0.59 % 0.59 % 4
|
|
lstringa<16> copy{str_with_len_N};/15_mean 1.51 ns 1.51 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_median 1.50 ns 1.50 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_stddev 0.035 ns 0.035 ns 4
|
|
lstringa<16> copy{str_with_len_N};/15_cv 2.35 % 2.35 % 4
|
|
lstringa<16> copy{str_with_len_N};/16_mean 4.98 ns 4.98 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_median 4.99 ns 4.99 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_stddev 0.149 ns 0.149 ns 4
|
|
lstringa<16> copy{str_with_len_N};/16_cv 2.99 % 2.99 % 4
|
|
lstringa<16> copy{str_with_len_N};/23_mean 5.02 ns 5.02 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_median 5.02 ns 5.02 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_stddev 0.163 ns 0.163 ns 4
|
|
lstringa<16> copy{str_with_len_N};/23_cv 3.24 % 3.24 % 4
|
|
lstringa<16> copy{str_with_len_N};/24_mean 25.3 ns 25.3 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_median 25.2 ns 25.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_stddev 0.271 ns 0.271 ns 4
|
|
lstringa<16> copy{str_with_len_N};/24_cv 1.07 % 1.07 % 4
|
|
lstringa<16> copy{str_with_len_N};/32_mean 25.3 ns 25.3 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_median 25.4 ns 25.4 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_stddev 0.952 ns 0.952 ns 4
|
|
lstringa<16> copy{str_with_len_N};/32_cv 3.75 % 3.75 % 4
|
|
lstringa<16> copy{str_with_len_N};/64_mean 26.8 ns 26.8 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_median 26.9 ns 26.9 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_stddev 0.556 ns 0.556 ns 4
|
|
lstringa<16> copy{str_with_len_N};/64_cv 2.07 % 2.07 % 4
|
|
lstringa<16> copy{str_with_len_N};/128_mean 27.1 ns 27.1 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_median 27.1 ns 27.1 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_stddev 0.165 ns 0.165 ns 4
|
|
lstringa<16> copy{str_with_len_N};/128_cv 0.61 % 0.61 % 4
|
|
lstringa<16> copy{str_with_len_N};/256_mean 28.3 ns 28.3 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_median 28.4 ns 28.4 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_stddev 0.902 ns 0.902 ns 4
|
|
lstringa<16> copy{str_with_len_N};/256_cv 3.19 % 3.19 % 4
|
|
lstringa<16> copy{str_with_len_N};/512_mean 31.1 ns 31.1 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_median 31.4 ns 31.4 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_stddev 0.790 ns 0.790 ns 4
|
|
lstringa<16> copy{str_with_len_N};/512_cv 2.54 % 2.54 % 4
|
|
lstringa<16> copy{str_with_len_N};/1024_mean 53.5 ns 53.5 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_median 53.2 ns 53.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_stddev 1.75 ns 1.75 ns 4
|
|
lstringa<16> copy{str_with_len_N};/1024_cv 3.28 % 3.28 % 4
|
|
lstringa<16> copy{str_with_len_N};/2048_mean 64.2 ns 64.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_median 64.1 ns 64.1 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_stddev 1.48 ns 1.48 ns 4
|
|
lstringa<16> copy{str_with_len_N};/2048_cv 2.31 % 2.31 % 4
|
|
lstringa<16> copy{str_with_len_N};/4096_mean 90.2 ns 90.2 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_median 89.7 ns 89.7 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_stddev 3.76 ns 3.76 ns 4
|
|
lstringa<16> copy{str_with_len_N};/4096_cv 4.17 % 4.17 % 4
|
|
lstringa<512> copy{str_with_len_N};/15_mean 1.50 ns 1.50 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_median 1.49 ns 1.49 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_stddev 0.045 ns 0.045 ns 4
|
|
lstringa<512> copy{str_with_len_N};/15_cv 3.02 % 3.02 % 4
|
|
lstringa<512> copy{str_with_len_N};/16_mean 4.92 ns 4.92 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_median 4.91 ns 4.91 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_stddev 0.126 ns 0.126 ns 4
|
|
lstringa<512> copy{str_with_len_N};/16_cv 2.56 % 2.56 % 4
|
|
lstringa<512> copy{str_with_len_N};/23_mean 4.88 ns 4.88 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_median 4.87 ns 4.87 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_stddev 0.104 ns 0.104 ns 4
|
|
lstringa<512> copy{str_with_len_N};/23_cv 2.13 % 2.13 % 4
|
|
lstringa<512> copy{str_with_len_N};/24_mean 4.60 ns 4.60 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_median 4.61 ns 4.61 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_stddev 0.105 ns 0.105 ns 4
|
|
lstringa<512> copy{str_with_len_N};/24_cv 2.29 % 2.29 % 4
|
|
lstringa<512> copy{str_with_len_N};/32_mean 4.58 ns 4.58 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_median 4.60 ns 4.60 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_stddev 0.147 ns 0.147 ns 4
|
|
lstringa<512> copy{str_with_len_N};/32_cv 3.22 % 3.22 % 4
|
|
lstringa<512> copy{str_with_len_N};/64_mean 5.95 ns 5.95 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_median 5.93 ns 5.93 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_stddev 0.148 ns 0.148 ns 4
|
|
lstringa<512> copy{str_with_len_N};/64_cv 2.49 % 2.49 % 4
|
|
lstringa<512> copy{str_with_len_N};/128_mean 6.42 ns 6.42 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_median 6.46 ns 6.46 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_stddev 0.157 ns 0.157 ns 4
|
|
lstringa<512> copy{str_with_len_N};/128_cv 2.44 % 2.45 % 4
|
|
lstringa<512> copy{str_with_len_N};/256_mean 7.92 ns 7.92 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_median 7.86 ns 7.86 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_stddev 0.266 ns 0.266 ns 4
|
|
lstringa<512> copy{str_with_len_N};/256_cv 3.36 % 3.36 % 4
|
|
lstringa<512> copy{str_with_len_N};/512_mean 10.3 ns 10.3 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_median 10.3 ns 10.3 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_stddev 0.204 ns 0.204 ns 4
|
|
lstringa<512> copy{str_with_len_N};/512_cv 1.98 % 1.98 % 4
|
|
lstringa<512> copy{str_with_len_N};/1024_mean 53.2 ns 53.2 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_median 53.1 ns 53.1 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_stddev 0.432 ns 0.432 ns 4
|
|
lstringa<512> copy{str_with_len_N};/1024_cv 0.81 % 0.81 % 4
|
|
lstringa<512> copy{str_with_len_N};/2048_mean 63.2 ns 63.2 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_median 62.9 ns 62.9 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_stddev 1.11 ns 1.11 ns 4
|
|
lstringa<512> copy{str_with_len_N};/2048_cv 1.76 % 1.76 % 4
|
|
lstringa<512> copy{str_with_len_N};/4096_mean 89.4 ns 89.4 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_median 89.1 ns 89.1 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_stddev 2.95 ns 2.95 ns 4
|
|
lstringa<512> copy{str_with_len_N};/4096_cv 3.30 % 3.30 % 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 27.4 ns 27.4 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 27.1 ns 27.1 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.907 ns 0.907 ns 4
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 3.32 % 3.32 % 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 12.9 ns 12.9 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 12.8 ns 12.8 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.323 ns 0.323 ns 4
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 2.51 % 2.51 % 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 9.54 ns 9.54 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 9.47 ns 9.47 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.219 ns 0.219 ns 4
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.30 % 2.30 % 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 9.23 ns 9.23 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 9.19 ns 9.19 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.238 ns 0.238 ns 4
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.58 % 2.58 % 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 9.45 ns 9.45 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 9.47 ns 9.47 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.063 ns 0.063 ns 4
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 0.67 % 0.67 % 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 23.7 ns 23.7 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 23.6 ns 23.6 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.347 ns 0.347 ns 4
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.47 % 1.47 % 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 9.43 ns 9.43 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 9.41 ns 9.41 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.193 ns 0.193 ns 4
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 2.05 % 2.05 % 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.59 ns 7.59 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.59 ns 7.59 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.159 ns 0.159 ns 4
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.09 % 2.09 % 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.57 ns 7.57 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.54 ns 7.54 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.122 ns 0.122 ns 4
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.61 % 1.61 % 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.56 ns 7.56 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.53 ns 7.53 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.075 ns 0.075 ns 4
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.99 % 0.99 % 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 28.5 ns 28.5 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 28.7 ns 28.7 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.565 ns 0.565 ns 4
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.98 % 1.98 % 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 11.5 ns 11.5 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 11.4 ns 11.4 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.514 ns 0.514 ns 4
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 4.46 % 4.46 % 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 13.3 ns 13.3 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 13.3 ns 13.3 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.147 ns 0.147 ns 4
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.10 % 1.10 % 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 66.5 ns 66.5 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 66.3 ns 66.3 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 1.89 ns 1.89 ns 4
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 2.84 % 2.84 % 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 24.0 ns 24.0 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 24.1 ns 24.1 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 0.274 ns 0.274 ns 4
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 1.14 % 1.14 % 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_mean 26.0 ns 26.0 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_median 25.7 ns 25.7 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.536 ns 0.536 ns 4
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_cv 2.07 % 2.07 % 4
|
|
-- Append const literal of 16 bytes 64 times, 1024 total length --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_mean 1388 ns 1388 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_median 1390 ns 1390 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 40.1 ns 40.1 ns 4
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 2.89 % 2.89 % 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_mean 368 ns 368 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_median 369 ns 369 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_stddev 4.61 ns 4.61 ns 4
|
|
std::string str; ... str += "abbaabbaabbaabba";_cv 1.25 % 1.25 % 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 374 ns 374 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 374 ns 374 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 8.98 ns 8.98 ns 4
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 2.40 % 2.40 % 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 233 ns 233 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 228 ns 228 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 13.5 ns 13.5 ns 4
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 5.79 % 5.79 % 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 237 ns 237 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 233 ns 233 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 15.8 ns 15.8 ns 4
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 6.67 % 6.67 % 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 163 ns 163 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 162 ns 162 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 1.17 ns 1.17 ns 4
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 0.72 % 0.72 % 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 1478 ns 1478 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 1470 ns 1470 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 105 ns 105 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 7.09 % 7.09 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1286 ns 1286 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1297 ns 1297 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 36.1 ns 36.1 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 2.81 % 2.81 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 435 ns 435 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 436 ns 436 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 18.2 ns 18.2 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.18 % 4.18 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 336 ns 336 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 333 ns 333 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 12.2 ns 12.2 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.63 % 3.63 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 280 ns 280 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 280 ns 280 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 3.82 ns 3.82 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.37 % 1.37 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 214 ns 214 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 211 ns 211 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 7.82 ns 7.82 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.66 % 3.66 % 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 119217 ns 119217 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 118553 ns 118554 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 6463 ns 6463 ns 4
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 5.42 % 5.42 % 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 72734 ns 72734 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 72923 ns 72923 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 992 ns 992 ns 4
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.36 % 1.36 % 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 46679 ns 46679 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 47124 ns 47124 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 2011 ns 2011 ns 4
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.31 % 4.31 % 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 28145 ns 28145 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 28240 ns 28240 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1400 ns 1400 ns 4
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.97 % 4.97 % 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19090 ns 19090 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 19187 ns 19187 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 3896 ns 3896 ns 4
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 20.41 % 20.41 % 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 16083 ns 16083 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 16086 ns 16086 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 315 ns 315 ns 4
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.96 % 1.96 % 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 1398 ns 1398 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_median 1393 ns 1393 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_stddev 39.0 ns 39.0 ns 4
|
|
std::stringstream str; ... str << str_var1 << str_var2;_cv 2.79 % 2.79 % 4
|
|
std::string str; ... str += str_var1 + str_var2;_mean 1396 ns 1396 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_median 1403 ns 1403 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_stddev 18.8 ns 18.8 ns 4
|
|
std::string str; ... str += str_var1 + str_var2;_cv 1.35 % 1.35 % 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_mean 489 ns 489 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_median 492 ns 492 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 15.4 ns 15.4 ns 4
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_cv 3.15 % 3.15 % 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_mean 404 ns 404 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_median 402 ns 402 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 15.3 ns 15.3 ns 4
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_cv 3.79 % 3.79 % 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_mean 374 ns 374 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_median 373 ns 373 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 5.40 ns 5.40 ns 4
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_cv 1.45 % 1.45 % 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 292 ns 292 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_median 293 ns 293 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 3.42 ns 3.42 ns 4
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 1.17 % 1.17 % 4
|
|
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; str << "test = " << k << " times";_mean 3075 ns 3075 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_median 3078 ns 3078 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_stddev 49.0 ns 49.0 ns 4
|
|
std::stringstream str; str << "test = " << k << " times";_cv 1.59 % 1.59 % 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_mean 444 ns 444 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_median 443 ns 443 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_stddev 4.42 ns 4.42 ns 4
|
|
std::string str = "test = " + std::to_string(k) + " times";_cv 0.99 % 0.99 % 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 1377 ns 1377 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 1377 ns 1377 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 23.2 ns 23.2 ns 4
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.69 % 1.69 % 4
|
|
std::string str = std::format("test = {} times", k);_mean 1125 ns 1125 ns 4
|
|
std::string str = std::format("test = {} times", k);_median 1119 ns 1119 ns 4
|
|
std::string str = std::format("test = {} times", k);_stddev 26.0 ns 26.0 ns 4
|
|
std::string str = std::format("test = {} times", k);_cv 2.31 % 2.31 % 4
|
|
lstringa<8> str; str.format("test = {} times", k);_mean 1386 ns 1386 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_median 1372 ns 1372 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_stddev 36.3 ns 36.3 ns 4
|
|
lstringa<8> str; str.format("test = {} times", k);_cv 2.62 % 2.62 % 4
|
|
lstringa<32> str; str.format("test = {} times", k);_mean 1021 ns 1021 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_median 1017 ns 1017 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_stddev 73.2 ns 73.2 ns 4
|
|
lstringa<32> str; str.format("test = {} times", k);_cv 7.17 % 7.17 % 4
|
|
lstringa<8> str = "test = " + k + " times";_mean 282 ns 282 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_median 283 ns 283 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_stddev 5.45 ns 5.45 ns 4
|
|
lstringa<8> str = "test = " + k + " times";_cv 1.93 % 1.93 % 4
|
|
lstringa<32> str = "test = " + k + " times";_mean 127 ns 127 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_median 127 ns 127 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_stddev 1.08 ns 1.08 ns 4
|
|
lstringa<32> str = "test = " + k + " times";_cv 0.85 % 0.85 % 4
|
|
stringa str = "test = " + k + " times";_mean 123 ns 123 ns 4
|
|
stringa str = "test = " + k + " times";_median 124 ns 124 ns 4
|
|
stringa str = "test = " + k + " times";_stddev 3.41 ns 3.41 ns 4
|
|
stringa str = "test = " + k + " times";_cv 2.78 % 2.78 % 4
|
|
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string::find + substr + std::strtol_mean 265 ns 265 ns 4
|
|
std::string::find + substr + std::strtol_median 265 ns 265 ns 4
|
|
std::string::find + substr + std::strtol_stddev 2.38 ns 2.38 ns 4
|
|
std::string::find + substr + std::strtol_cv 0.90 % 0.90 % 4
|
|
ssa::splitter + ssa::as_int_mean 155 ns 155 ns 4
|
|
ssa::splitter + ssa::as_int_median 156 ns 156 ns 4
|
|
ssa::splitter + ssa::as_int_stddev 7.02 ns 7.02 ns 4
|
|
ssa::splitter + ssa::as_int_cv 4.52 % 4.52 % 4
|
|
ssa::splitf + functor_mean 206 ns 206 ns 4
|
|
ssa::splitf + functor_median 205 ns 205 ns 4
|
|
ssa::splitf + functor_stddev 5.74 ns 5.74 ns 4
|
|
ssa::splitf + functor_cv 2.79 % 2.79 % 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 841 ns 841 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_median 836 ns 836 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_stddev 22.5 ns 22.5 ns 4
|
|
Naive (and wrong) replace symbols with std::string find + replace_cv 2.67 % 2.68 % 4
|
|
replace symbols with std::string find_first_of + replace_mean 2450 ns 2450 ns 4
|
|
replace symbols with std::string find_first_of + replace_median 2453 ns 2453 ns 4
|
|
replace symbols with std::string find_first_of + replace_stddev 29.6 ns 29.6 ns 4
|
|
replace symbols with std::string find_first_of + replace_cv 1.21 % 1.21 % 4
|
|
replace symbols with std::string_view find_first_of + copy_mean 1078 ns 1078 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_median 1070 ns 1070 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_stddev 64.2 ns 64.2 ns 4
|
|
replace symbols with std::string_view find_first_of + copy_cv 5.96 % 5.96 % 4
|
|
replace runtime symbols with string expressions and without remembering all search results_mean 1274 ns 1274 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_median 1271 ns 1271 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_stddev 12.8 ns 12.8 ns 4
|
|
replace runtime symbols with string expressions and without remembering all search results_cv 1.00 % 1.00 % 4
|
|
replace runtime symbols with simstr and memorization of all search results_mean 1053 ns 1053 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_median 1056 ns 1056 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_stddev 37.0 ns 37.0 ns 4
|
|
replace runtime symbols with simstr and memorization of all search results_cv 3.51 % 3.51 % 4
|
|
replace const symbols with string expressions and without remembering all search results_mean 1009 ns 1009 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_median 1007 ns 1007 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_stddev 11.0 ns 11.0 ns 4
|
|
replace const symbols with string expressions and without remembering all search results_cv 1.09 % 1.09 % 4
|
|
replace const symbols with string expressions and memorization of all search results_mean 883 ns 883 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_median 881 ns 881 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_stddev 22.6 ns 22.6 ns 4
|
|
replace const symbols with string expressions and memorization of all search results_cv 2.56 % 2.56 % 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 165 ns 165 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_median 165 ns 165 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 5.07 ns 5.07 ns 4
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_cv 3.07 % 3.07 % 4
|
|
Short replace symbols with std::string find_first_of + replace_mean 318 ns 318 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_median 316 ns 316 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_stddev 5.82 ns 5.82 ns 4
|
|
Short replace symbols with std::string find_first_of + replace_cv 1.83 % 1.83 % 4
|
|
Short replace symbols with std::string_view find_first_of + copy_mean 152 ns 152 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_median 153 ns 153 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_stddev 3.41 ns 3.41 ns 4
|
|
Short replace symbols with std::string_view find_first_of + copy_cv 2.24 % 2.24 % 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_mean 163 ns 163 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_median 162 ns 162 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_stddev 2.45 ns 2.45 ns 4
|
|
Short replace runtime symbols with string expressions and without remembering all search results_cv 1.50 % 1.50 % 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_mean 187 ns 187 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_median 186 ns 186 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_stddev 4.81 ns 4.81 ns 4
|
|
Short replace runtime symbols with simstr and memorization of all search results_cv 2.58 % 2.58 % 4
|
|
Short replace const symbols with string expressions and without remembering all search results_mean 126 ns 126 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_median 126 ns 126 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_stddev 1.22 ns 1.22 ns 4
|
|
Short replace const symbols with string expressions and without remembering all search results_cv 0.97 % 0.97 % 4
|
|
Short replace const symbols with string expressions and memorization of all search results_mean 147 ns 147 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_median 147 ns 147 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_stddev 4.64 ns 4.64 ns 4
|
|
Short replace const symbols with string expressions and memorization of all search results_cv 3.15 % 3.15 % 4
|
|
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to ---- in std::string|64_mean 152 ns 152 ns 4
|
|
replace bb to ---- in std::string|64_median 152 ns 152 ns 4
|
|
replace bb to ---- in std::string|64_stddev 1.35 ns 1.35 ns 4
|
|
replace bb to ---- in std::string|64_cv 0.89 % 0.89 % 4
|
|
replace bb to ---- in std::string|256_mean 538 ns 538 ns 4
|
|
replace bb to ---- in std::string|256_median 537 ns 537 ns 4
|
|
replace bb to ---- in std::string|256_stddev 7.63 ns 7.63 ns 4
|
|
replace bb to ---- in std::string|256_cv 1.42 % 1.42 % 4
|
|
replace bb to ---- in std::string|512_mean 1070 ns 1070 ns 4
|
|
replace bb to ---- in std::string|512_median 1072 ns 1072 ns 4
|
|
replace bb to ---- in std::string|512_stddev 12.2 ns 12.2 ns 4
|
|
replace bb to ---- in std::string|512_cv 1.14 % 1.14 % 4
|
|
replace bb to ---- in std::string|1024_mean 2384 ns 2384 ns 4
|
|
replace bb to ---- in std::string|1024_median 2413 ns 2413 ns 4
|
|
replace bb to ---- in std::string|1024_stddev 245 ns 245 ns 4
|
|
replace bb to ---- in std::string|1024_cv 10.29 % 10.29 % 4
|
|
replace bb to ---- in std::string|2048_mean 6072 ns 6072 ns 4
|
|
replace bb to ---- in std::string|2048_median 6182 ns 6182 ns 4
|
|
replace bb to ---- in std::string|2048_stddev 342 ns 342 ns 4
|
|
replace bb to ---- in std::string|2048_cv 5.63 % 5.63 % 4
|
|
replace bb to ---- in lstringa<8>|64_mean 129 ns 129 ns 4
|
|
replace bb to ---- in lstringa<8>|64_median 128 ns 128 ns 4
|
|
replace bb to ---- in lstringa<8>|64_stddev 1.82 ns 1.82 ns 4
|
|
replace bb to ---- in lstringa<8>|64_cv 1.41 % 1.41 % 4
|
|
replace bb to ---- in lstringa<8>|256_mean 430 ns 430 ns 4
|
|
replace bb to ---- in lstringa<8>|256_median 429 ns 429 ns 4
|
|
replace bb to ---- in lstringa<8>|256_stddev 6.03 ns 6.03 ns 4
|
|
replace bb to ---- in lstringa<8>|256_cv 1.40 % 1.40 % 4
|
|
replace bb to ---- in lstringa<8>|512_mean 825 ns 825 ns 4
|
|
replace bb to ---- in lstringa<8>|512_median 830 ns 830 ns 4
|
|
replace bb to ---- in lstringa<8>|512_stddev 13.0 ns 13.0 ns 4
|
|
replace bb to ---- in lstringa<8>|512_cv 1.57 % 1.57 % 4
|
|
replace bb to ---- in lstringa<8>|1024_mean 1613 ns 1613 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_median 1614 ns 1614 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_stddev 49.5 ns 49.5 ns 4
|
|
replace bb to ---- in lstringa<8>|1024_cv 3.07 % 3.07 % 4
|
|
replace bb to ---- in lstringa<8>|2048_mean 3174 ns 3174 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_median 3174 ns 3174 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_stddev 56.1 ns 56.1 ns 4
|
|
replace bb to ---- in lstringa<8>|2048_cv 1.77 % 1.77 % 4
|
|
replace bb to ---- by init stringa|64_mean 94.5 ns 94.5 ns 4
|
|
replace bb to ---- by init stringa|64_median 94.6 ns 94.6 ns 4
|
|
replace bb to ---- by init stringa|64_stddev 1.74 ns 1.74 ns 4
|
|
replace bb to ---- by init stringa|64_cv 1.84 % 1.84 % 4
|
|
replace bb to ---- by init stringa|256_mean 299 ns 299 ns 4
|
|
replace bb to ---- by init stringa|256_median 298 ns 298 ns 4
|
|
replace bb to ---- by init stringa|256_stddev 6.25 ns 6.25 ns 4
|
|
replace bb to ---- by init stringa|256_cv 2.09 % 2.09 % 4
|
|
replace bb to ---- by init stringa|512_mean 696 ns 696 ns 4
|
|
replace bb to ---- by init stringa|512_median 700 ns 700 ns 4
|
|
replace bb to ---- by init stringa|512_stddev 12.5 ns 12.5 ns 4
|
|
replace bb to ---- by init stringa|512_cv 1.80 % 1.80 % 4
|
|
replace bb to ---- by init stringa|1024_mean 1546 ns 1546 ns 4
|
|
replace bb to ---- by init stringa|1024_median 1535 ns 1535 ns 4
|
|
replace bb to ---- by init stringa|1024_stddev 28.2 ns 28.2 ns 4
|
|
replace bb to ---- by init stringa|1024_cv 1.82 % 1.82 % 4
|
|
replace bb to ---- by init stringa|2048_mean 3176 ns 3176 ns 4
|
|
replace bb to ---- by init stringa|2048_median 3173 ns 3173 ns 4
|
|
replace bb to ---- by init stringa|2048_stddev 25.5 ns 25.5 ns 4
|
|
replace bb to ---- by init stringa|2048_cv 0.80 % 0.80 % 4
|
|
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to -- in std::string|64_mean 106 ns 106 ns 4
|
|
replace bb to -- in std::string|64_median 105 ns 105 ns 4
|
|
replace bb to -- in std::string|64_stddev 3.23 ns 3.23 ns 4
|
|
replace bb to -- in std::string|64_cv 3.05 % 3.05 % 4
|
|
replace bb to -- in std::string|256_mean 382 ns 382 ns 4
|
|
replace bb to -- in std::string|256_median 379 ns 379 ns 4
|
|
replace bb to -- in std::string|256_stddev 7.84 ns 7.84 ns 4
|
|
replace bb to -- in std::string|256_cv 2.05 % 2.05 % 4
|
|
replace bb to -- in std::string|512_mean 724 ns 724 ns 4
|
|
replace bb to -- in std::string|512_median 727 ns 727 ns 4
|
|
replace bb to -- in std::string|512_stddev 14.4 ns 14.4 ns 4
|
|
replace bb to -- in std::string|512_cv 1.99 % 1.99 % 4
|
|
replace bb to -- in std::string|1024_mean 1457 ns 1457 ns 4
|
|
replace bb to -- in std::string|1024_median 1440 ns 1440 ns 4
|
|
replace bb to -- in std::string|1024_stddev 50.7 ns 50.7 ns 4
|
|
replace bb to -- in std::string|1024_cv 3.48 % 3.48 % 4
|
|
replace bb to -- in std::string|2048_mean 2855 ns 2855 ns 4
|
|
replace bb to -- in std::string|2048_median 2854 ns 2854 ns 4
|
|
replace bb to -- in std::string|2048_stddev 43.3 ns 43.3 ns 4
|
|
replace bb to -- in std::string|2048_cv 1.52 % 1.52 % 4
|
|
replace bb to -- in lstringa<8>|64_mean 94.1 ns 94.1 ns 4
|
|
replace bb to -- in lstringa<8>|64_median 94.5 ns 94.5 ns 4
|
|
replace bb to -- in lstringa<8>|64_stddev 2.56 ns 2.56 ns 4
|
|
replace bb to -- in lstringa<8>|64_cv 2.71 % 2.71 % 4
|
|
replace bb to -- in lstringa<8>|256_mean 282 ns 282 ns 4
|
|
replace bb to -- in lstringa<8>|256_median 281 ns 281 ns 4
|
|
replace bb to -- in lstringa<8>|256_stddev 4.21 ns 4.21 ns 4
|
|
replace bb to -- in lstringa<8>|256_cv 1.49 % 1.49 % 4
|
|
replace bb to -- in lstringa<8>|512_mean 520 ns 520 ns 4
|
|
replace bb to -- in lstringa<8>|512_median 522 ns 522 ns 4
|
|
replace bb to -- in lstringa<8>|512_stddev 8.34 ns 8.34 ns 4
|
|
replace bb to -- in lstringa<8>|512_cv 1.60 % 1.60 % 4
|
|
replace bb to -- in lstringa<8>|1024_mean 1069 ns 1069 ns 4
|
|
replace bb to -- in lstringa<8>|1024_median 1073 ns 1073 ns 4
|
|
replace bb to -- in lstringa<8>|1024_stddev 24.3 ns 24.3 ns 4
|
|
replace bb to -- in lstringa<8>|1024_cv 2.28 % 2.28 % 4
|
|
replace bb to -- in lstringa<8>|2048_mean 2100 ns 2100 ns 4
|
|
replace bb to -- in lstringa<8>|2048_median 2111 ns 2111 ns 4
|
|
replace bb to -- in lstringa<8>|2048_stddev 46.8 ns 46.8 ns 4
|
|
replace bb to -- in lstringa<8>|2048_cv 2.23 % 2.23 % 4
|
|
replace bb to -- by init stringa|64_mean 76.1 ns 76.1 ns 4
|
|
replace bb to -- by init stringa|64_median 75.9 ns 75.9 ns 4
|
|
replace bb to -- by init stringa|64_stddev 0.782 ns 0.782 ns 4
|
|
replace bb to -- by init stringa|64_cv 1.03 % 1.03 % 4
|
|
replace bb to -- by init stringa|256_mean 234 ns 234 ns 4
|
|
replace bb to -- by init stringa|256_median 235 ns 235 ns 4
|
|
replace bb to -- by init stringa|256_stddev 5.03 ns 5.03 ns 4
|
|
replace bb to -- by init stringa|256_cv 2.15 % 2.15 % 4
|
|
replace bb to -- by init stringa|512_mean 439 ns 439 ns 4
|
|
replace bb to -- by init stringa|512_median 437 ns 437 ns 4
|
|
replace bb to -- by init stringa|512_stddev 14.7 ns 14.7 ns 4
|
|
replace bb to -- by init stringa|512_cv 3.34 % 3.34 % 4
|
|
replace bb to -- by init stringa|1024_mean 854 ns 854 ns 4
|
|
replace bb to -- by init stringa|1024_median 855 ns 855 ns 4
|
|
replace bb to -- by init stringa|1024_stddev 22.4 ns 22.4 ns 4
|
|
replace bb to -- by init stringa|1024_cv 2.63 % 2.63 % 4
|
|
replace bb to -- by init stringa|2048_mean 1646 ns 1646 ns 4
|
|
replace bb to -- by init stringa|2048_median 1632 ns 1632 ns 4
|
|
replace bb to -- by init stringa|2048_stddev 34.3 ns 34.3 ns 4
|
|
replace bb to -- by init stringa|2048_cv 2.08 % 2.08 % 4
|
|
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
hashStrMapA<size_t> emplace & find stringa;_mean 3606014 ns 3606026 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_median 3602171 ns 3602183 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_stddev 52069 ns 52068 ns 4
|
|
hashStrMapA<size_t> emplace & find stringa;_cv 1.44 % 1.44 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3523575 ns 3523588 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3536946 ns 3536961 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 70276 ns 70275 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 1.99 % 1.99 % 4
|
|
hashStrMapA<size_t> emplace & find ssa;_mean 3593513 ns 3593528 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_median 3594431 ns 3594444 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_stddev 70018 ns 70018 ns 4
|
|
hashStrMapA<size_t> emplace & find ssa;_cv 1.95 % 1.95 % 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 4068399 ns 4068418 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 4094237 ns 4094260 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 101342 ns 101344 ns 4
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 2.49 % 2.49 % 4
|
|
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Build func full name std::string;_mean 678 ns 678 ns 4
|
|
Build func full name std::string;_median 676 ns 676 ns 4
|
|
Build func full name std::string;_stddev 8.82 ns 8.82 ns 4
|
|
Build func full name std::string;_cv 1.30 % 1.30 % 4
|
|
Build func full name std::string 1;_mean 776 ns 776 ns 4
|
|
Build func full name std::string 1;_median 767 ns 767 ns 4
|
|
Build func full name std::string 1;_stddev 30.3 ns 30.3 ns 4
|
|
Build func full name std::string 1;_cv 3.91 % 3.91 % 4
|
|
Build func full name std::stream;_mean 2611 ns 2611 ns 4
|
|
Build func full name std::stream;_median 2600 ns 2600 ns 4
|
|
Build func full name std::stream;_stddev 73.2 ns 73.2 ns 4
|
|
Build func full name std::stream;_cv 2.80 % 2.80 % 4
|
|
Build func full name stringa;_mean 484 ns 484 ns 4
|
|
Build func full name stringa;_median 487 ns 487 ns 4
|
|
Build func full name stringa;_stddev 15.3 ns 15.3 ns 4
|
|
Build func full name stringa;_cv 3.17 % 3.17 % 4
|
|
Build func full name stringa 1;_mean 610 ns 610 ns 4
|
|
Build func full name stringa 1;_median 611 ns 611 ns 4
|
|
Build func full name stringa 1;_stddev 15.9 ns 15.9 ns 4
|
|
Build func full name stringa 1;_cv 2.61 % 2.61 % 4
|
|
----- Make Upper ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
To upper case std::wstring_mean 151 ns 151 ns 4
|
|
To upper case std::wstring_median 150 ns 150 ns 4
|
|
To upper case std::wstring_stddev 3.75 ns 3.75 ns 4
|
|
To upper case std::wstring_cv 2.49 % 2.49 % 4
|
|
To upper case lstringw<15>_mean 41.4 ns 41.4 ns 4
|
|
To upper case lstringw<15>_median 41.4 ns 41.4 ns 4
|
|
To upper case lstringw<15>_stddev 0.779 ns 0.779 ns 4
|
|
To upper case lstringw<15>_cv 1.88 % 1.88 % 4
|