simstr/bench/results/000-Xeon E5-2682 v4, Ubuntu...

940 lines
139 KiB
Plaintext

Benchmarks of simstr, version 1.6.5
Sources: https://github.com/orefkov/simstr
Results: https://orefkov.github.io/simstr/results.html
2026-02-08T13:49:10+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.44, 0.78, 0.52
***WARNING*** ASLR is enabled, the results may have unreproducible noise in them.
--------------------------------------------------------------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
--------------------------------------------------------------------------------------------------------------------------------------------------------
----- Concatenate string + Number + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string and number by std to std::string_mean 218 ns 218 ns 4
Concat std::string and number by std to std::string_median 216 ns 216 ns 4
Concat std::string and number by std to std::string_stddev 3.57 ns 3.57 ns 4
Concat std::string and number by std to std::string_cv 1.64 % 1.64 % 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 105 ns 105 ns 4
Concat std::string and number by StrExpr to std::string_stddev 1.81 ns 1.81 ns 4
Concat std::string and number by StrExpr to std::string_cv 1.73 % 1.73 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 64.2 ns 64.2 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 63.8 ns 63.8 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 1.53 ns 1.53 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 2.39 % 2.39 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 71.3 ns 71.3 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 71.2 ns 71.2 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 0.874 ns 0.874 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 1.23 % 1.23 % 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 686 ns 686 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 14.0 ns 14.0 ns 4
Concat std::string and format hex number and literal to std::string_cv 2.04 % 2.04 % 4
std::format std::string and hex number by literal to std::string_mean 894 ns 894 ns 4
std::format std::string and hex number by literal to std::string_median 893 ns 893 ns 4
std::format std::string and hex number by literal to std::string_stddev 6.26 ns 6.26 ns 4
std::format std::string and hex number by literal to std::string_cv 0.70 % 0.70 % 4
Concat std::string and std::to_chars and string to std::string_mean 201 ns 201 ns 4
Concat std::string and std::to_chars and string to std::string_median 201 ns 201 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 3.25 ns 3.25 ns 4
Concat std::string and std::to_chars and string to std::string_cv 1.62 % 1.62 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 133 ns 133 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 132 ns 132 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 0.683 ns 0.683 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 0.51 % 0.51 % 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 0.717 ns 0.717 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 0.61 % 0.61 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 124 ns 124 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 124 ns 124 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 0.635 ns 0.635 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 0.51 % 0.51 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 186 ns 186 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 185 ns 185 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 1.80 ns 1.80 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 0.97 % 0.97 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 318 ns 318 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 316 ns 316 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 8.55 ns 8.55 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 2.69 % 2.69 % 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 274 ns 274 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_median 274 ns 274 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_stddev 6.96 ns 6.96 ns 4
"abcdefghihklmopqr "_ss + i / 0x8a010_fmt + " end"_cv 2.54 % 2.54 % 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_mean 348 ns 348 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_median 350 ns 350 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_stddev 9.85 ns 9.85 ns 4
e_subst("abcdefghihklmopqr {} end", i / 0x8a010_fmt)_cv 2.83 % 2.83 % 4
e_vsubst(pattern, i / 0x8a010_fmt)_mean 619 ns 619 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_median 619 ns 619 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 1.36 ns 1.36 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_cv 0.22 % 0.22 % 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_mean 685 ns 685 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_median 682 ns 682 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_stddev 15.4 ns 15.4 ns 4
fmt::format(FMT_COMPILE("abcdefghihklmopqr {:#010o} end"), i)_cv 2.24 % 2.24 % 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_mean 880 ns 880 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_median 851 ns 851 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_stddev 63.0 ns 63.0 ns 4
fmt::format("abcdefghihklmopqr {:#010o} end", i)_cv 7.16 % 7.16 % 4
std::format("abcdefghihklmopqr {:#010o} end", i)_mean 1021 ns 1021 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_median 1025 ns 1025 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_stddev 10.3 ns 10.3 ns 4
std::format("abcdefghihklmopqr {:#010o} end", i)_cv 1.01 % 1.01 % 4
std::vformat(pattern, std::make_format_args(i))_mean 1017 ns 1017 ns 4
std::vformat(pattern, std::make_format_args(i))_median 1014 ns 1014 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 20.0 ns 20.0 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 1.97 % 1.97 % 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 2068 ns 2068 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 2067 ns 2067 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 38.7 ns 38.7 ns 4
strm << "abcdefghihklmopqr 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 1.87 % 1.87 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 45.0 ns 45.0 ns 4
Concat std::string by std to std::string_median 45.2 ns 45.2 ns 4
Concat std::string by std to std::string_stddev 1.03 ns 1.03 ns 4
Concat std::string by std to std::string_cv 2.28 % 2.28 % 4
Concat std::string by StrExpr to std::string_mean 31.7 ns 31.7 ns 4
Concat std::string by StrExpr to std::string_median 31.4 ns 31.4 ns 4
Concat std::string by StrExpr to std::string_stddev 1.10 ns 1.10 ns 4
Concat std::string by StrExpr to std::string_cv 3.48 % 3.48 % 4
Concat stringa by StrExpr to stringa_mean 30.4 ns 30.4 ns 4
Concat stringa by StrExpr to stringa_median 29.9 ns 29.9 ns 4
Concat stringa by StrExpr to stringa_stddev 2.00 ns 2.00 ns 4
Concat stringa by StrExpr to stringa_cv 6.58 % 6.58 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 128 ns 128 ns 4
Find concat three std::string_median 131 ns 131 ns 4
Find concat three std::string_stddev 10.2 ns 10.2 ns 4
Find concat three std::string_cv 7.98 % 7.98 % 4
Find concat three strexpr_mean 56.6 ns 56.6 ns 4
Find concat three strexpr_median 56.7 ns 56.7 ns 4
Find concat three strexpr_stddev 1.77 ns 1.77 ns 4
Find concat three strexpr_cv 3.12 % 3.12 % 4
Find concat three simstr_mean 19.9 ns 19.9 ns 4
Find concat three simstr_median 19.8 ns 19.8 ns 4
Find concat three simstr_stddev 0.481 ns 0.481 ns 4
Find concat three simstr_cv 2.42 % 2.42 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 7.20 ns 7.20 ns 4
BuildTypeNameStr 0/0_median 7.15 ns 7.15 ns 4
BuildTypeNameStr 0/0_stddev 0.135 ns 0.135 ns 4
BuildTypeNameStr 0/0_cv 1.87 % 1.87 % 4
BuildTypeNameExp 0/0_mean 7.40 ns 7.40 ns 4
BuildTypeNameExp 0/0_median 7.30 ns 7.30 ns 4
BuildTypeNameExp 0/0_stddev 0.224 ns 0.224 ns 4
BuildTypeNameExp 0/0_cv 3.02 % 3.02 % 4
BuildTypeNameSim 0/0_mean 4.97 ns 4.97 ns 4
BuildTypeNameSim 0/0_median 4.93 ns 4.93 ns 4
BuildTypeNameSim 0/0_stddev 0.145 ns 0.145 ns 4
BuildTypeNameSim 0/0_cv 2.91 % 2.91 % 4
BuildTypeNameStr 10/10_mean 56.2 ns 56.2 ns 4
BuildTypeNameStr 10/10_median 56.0 ns 56.0 ns 4
BuildTypeNameStr 10/10_stddev 0.621 ns 0.621 ns 4
BuildTypeNameStr 10/10_cv 1.11 % 1.11 % 4
BuildTypeNameExp 10/10_mean 31.3 ns 31.3 ns 4
BuildTypeNameExp 10/10_median 31.3 ns 31.3 ns 4
BuildTypeNameExp 10/10_stddev 0.495 ns 0.495 ns 4
BuildTypeNameExp 10/10_cv 1.58 % 1.58 % 4
BuildTypeNameSim 10/10_mean 23.4 ns 23.4 ns 4
BuildTypeNameSim 10/10_median 23.4 ns 23.4 ns 4
BuildTypeNameSim 10/10_stddev 0.254 ns 0.254 ns 4
BuildTypeNameSim 10/10_cv 1.09 % 1.09 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 201 ns 201 ns 4
Concat with replace str_median 200 ns 200 ns 4
Concat with replace str_stddev 3.73 ns 3.73 ns 4
Concat with replace str_cv 1.86 % 1.86 % 4
Concat with replace exp_mean 151 ns 151 ns 4
Concat with replace exp_median 151 ns 151 ns 4
Concat with replace exp_stddev 6.31 ns 6.31 ns 4
Concat with replace exp_cv 4.17 % 4.17 % 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.023 ns 0.023 ns 4
std::string e;_cv 2.05 % 2.05 % 4
std::string_view e;_mean 0.392 ns 0.392 ns 4
std::string_view e;_median 0.395 ns 0.395 ns 4
std::string_view e;_stddev 0.023 ns 0.023 ns 4
std::string_view e;_cv 5.99 % 5.99 % 4
ssa e;_mean 0.392 ns 0.392 ns 4
ssa e;_median 0.376 ns 0.376 ns 4
ssa e;_stddev 0.034 ns 0.034 ns 4
ssa e;_cv 8.71 % 8.71 % 4
stringa e;_mean 0.755 ns 0.755 ns 4
stringa e;_median 0.754 ns 0.754 ns 4
stringa e;_stddev 0.009 ns 0.009 ns 4
stringa e;_cv 1.23 % 1.23 % 4
lstringa<20> e;_mean 1.12 ns 1.12 ns 4
lstringa<20> e;_median 1.12 ns 1.12 ns 4
lstringa<20> e;_stddev 0.017 ns 0.017 ns 4
lstringa<20> e;_cv 1.54 % 1.54 % 4
lstringa<40> e;_mean 1.15 ns 1.15 ns 4
lstringa<40> e;_median 1.15 ns 1.15 ns 4
lstringa<40> e;_stddev 0.035 ns 0.035 ns 4
lstringa<40> e;_cv 3.05 % 3.05 % 4
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 1.87 ns 1.87 ns 4
std::string e = "Test text";_median 1.87 ns 1.87 ns 4
std::string e = "Test text";_stddev 0.025 ns 0.025 ns 4
std::string e = "Test text";_cv 1.33 % 1.33 % 4
std::string_view e = "Test text";_mean 0.748 ns 0.748 ns 4
std::string_view e = "Test text";_median 0.754 ns 0.754 ns 4
std::string_view e = "Test text";_stddev 0.017 ns 0.017 ns 4
std::string_view e = "Test text";_cv 2.27 % 2.27 % 4
ssa e = "Test text";_mean 0.375 ns 0.375 ns 4
ssa e = "Test text";_median 0.375 ns 0.375 ns 4
ssa e = "Test text";_stddev 0.004 ns 0.004 ns 4
ssa e = "Test text";_cv 1.00 % 1.00 % 4
stringa e = "Test text";_mean 1.14 ns 1.14 ns 4
stringa e = "Test text";_median 1.13 ns 1.13 ns 4
stringa e = "Test text";_stddev 0.020 ns 0.020 ns 4
stringa e = "Test text";_cv 1.80 % 1.80 % 4
lstringa<20> e = "Test text";_mean 1.87 ns 1.87 ns 4
lstringa<20> e = "Test text";_median 1.87 ns 1.87 ns 4
lstringa<20> e = "Test text";_stddev 0.021 ns 0.021 ns 4
lstringa<20> e = "Test text";_cv 1.15 % 1.15 % 4
lstringa<40> e = "Test text";_mean 1.91 ns 1.91 ns 4
lstringa<40> e = "Test text";_median 1.90 ns 1.90 ns 4
lstringa<40> e = "Test text";_stddev 0.025 ns 0.025 ns 4
lstringa<40> e = "Test text";_cv 1.29 % 1.29 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 19.4 ns 19.4 ns 4
std::string e = "123456789012345678901234567890";_median 19.4 ns 19.4 ns 4
std::string e = "123456789012345678901234567890";_stddev 0.103 ns 0.103 ns 4
std::string e = "123456789012345678901234567890";_cv 0.53 % 0.53 % 4
std::string_view e = "123456789012345678901234567890";_mean 0.735 ns 0.735 ns 4
std::string_view e = "123456789012345678901234567890";_median 0.732 ns 0.732 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.011 ns 0.011 ns 4
std::string_view e = "123456789012345678901234567890";_cv 1.48 % 1.48 % 4
ssa e = "123456789012345678901234567890";_mean 0.370 ns 0.370 ns 4
ssa e = "123456789012345678901234567890";_median 0.371 ns 0.371 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.001 ns 0.001 ns 4
ssa e = "123456789012345678901234567890";_cv 0.33 % 0.33 % 4
stringa e = "123456789012345678901234567890";_mean 1.12 ns 1.12 ns 4
stringa e = "123456789012345678901234567890";_median 1.12 ns 1.12 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.015 ns 0.015 ns 4
stringa e = "123456789012345678901234567890";_cv 1.31 % 1.31 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 20.6 ns 20.6 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 20.6 ns 20.6 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 0.099 ns 0.099 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 0.48 % 0.48 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 2.57 ns 2.57 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 2.57 ns 2.57 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.032 ns 0.032 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 1.26 % 1.26 % 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 4.92 ns 4.92 ns 4
std::string e = "Test text"; auto c{e};_median 4.93 ns 4.93 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.068 ns 0.068 ns 4
std::string e = "Test text"; auto c{e};_cv 1.39 % 1.39 % 4
std::string_view e = "Test text"; auto c{e};_mean 0.379 ns 0.379 ns 4
std::string_view e = "Test text"; auto c{e};_median 0.377 ns 0.377 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.006 ns 0.006 ns 4
std::string_view e = "Test text"; auto c{e};_cv 1.50 % 1.50 % 4
ssa e = "Test text"; auto c{e};_mean 0.375 ns 0.375 ns 4
ssa e = "Test text"; auto c{e};_median 0.374 ns 0.374 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.003 ns 0.003 ns 4
ssa e = "Test text"; auto c{e};_cv 0.83 % 0.83 % 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.005 ns 0.005 ns 4
stringa e = "Test text"; auto c{e};_cv 0.47 % 0.47 % 4
lstringa<20> e = "Test text"; auto c{e};_mean 4.54 ns 4.54 ns 4
lstringa<20> e = "Test text"; auto c{e};_median 4.52 ns 4.52 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.044 ns 0.044 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 0.98 % 0.98 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 4.54 ns 4.54 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 4.54 ns 4.54 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.083 ns 0.083 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 1.83 % 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 19.0 ns 19.0 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 19.0 ns 19.0 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.236 ns 0.236 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 1.24 % 1.24 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.740 ns 0.740 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.740 ns 0.740 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.005 ns 0.005 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 0.64 % 0.64 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.376 ns 0.376 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.375 ns 0.375 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.12 ns 1.12 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.11 ns 1.11 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.011 ns 0.011 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 1.02 % 1.02 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 20.8 ns 20.8 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 20.5 ns 20.5 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 1.06 ns 1.06 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 5.10 % 5.10 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.54 ns 4.54 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.51 ns 4.51 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.102 ns 0.102 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 2.23 % 2.23 % 4
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 6.94 ns 6.94 ns 4
std::string::find;_median 6.93 ns 6.93 ns 4
std::string::find;_stddev 0.055 ns 0.055 ns 4
std::string::find;_cv 0.79 % 0.79 % 4
std::string_view::find;_mean 7.84 ns 7.84 ns 4
std::string_view::find;_median 7.79 ns 7.79 ns 4
std::string_view::find;_stddev 0.788 ns 0.788 ns 4
std::string_view::find;_cv 10.04 % 10.04 % 4
ssa::find;_mean 7.49 ns 7.49 ns 4
ssa::find;_median 7.27 ns 7.27 ns 4
ssa::find;_stddev 1.00 ns 1.00 ns 4
ssa::find;_cv 13.40 % 13.40 % 4
stringa::find;_mean 8.04 ns 8.04 ns 4
stringa::find;_median 7.76 ns 7.77 ns 4
stringa::find;_stddev 0.744 ns 0.744 ns 4
stringa::find;_cv 9.26 % 9.26 % 4
lstringa<20>::find;_mean 7.71 ns 7.71 ns 4
lstringa<20>::find;_median 7.72 ns 7.72 ns 4
lstringa<20>::find;_stddev 0.122 ns 0.122 ns 4
lstringa<20>::find;_cv 1.58 % 1.58 % 4
lstringa<40>::find;_mean 6.91 ns 6.91 ns 4
lstringa<40>::find;_median 6.92 ns 6.92 ns 4
lstringa<40>::find;_stddev 0.101 ns 0.101 ns 4
lstringa<40>::find;_cv 1.46 % 1.46 % 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 4.90 ns 4.90 ns 4
std::string copy{str_with_len_N};/15_median 4.89 ns 4.89 ns 4
std::string copy{str_with_len_N};/15_stddev 0.031 ns 0.031 ns 4
std::string copy{str_with_len_N};/15_cv 0.63 % 0.63 % 4
std::string copy{str_with_len_N};/16_mean 22.5 ns 22.5 ns 4
std::string copy{str_with_len_N};/16_median 22.5 ns 22.5 ns 4
std::string copy{str_with_len_N};/16_stddev 0.476 ns 0.476 ns 4
std::string copy{str_with_len_N};/16_cv 2.12 % 2.12 % 4
std::string copy{str_with_len_N};/23_mean 23.0 ns 23.0 ns 4
std::string copy{str_with_len_N};/23_median 23.0 ns 23.0 ns 4
std::string copy{str_with_len_N};/23_stddev 0.179 ns 0.179 ns 4
std::string copy{str_with_len_N};/23_cv 0.78 % 0.78 % 4
std::string copy{str_with_len_N};/24_mean 23.2 ns 23.2 ns 4
std::string copy{str_with_len_N};/24_median 22.7 ns 22.7 ns 4
std::string copy{str_with_len_N};/24_stddev 1.35 ns 1.35 ns 4
std::string copy{str_with_len_N};/24_cv 5.84 % 5.84 % 4
std::string copy{str_with_len_N};/32_mean 23.1 ns 23.1 ns 4
std::string copy{str_with_len_N};/32_median 22.5 ns 22.5 ns 4
std::string copy{str_with_len_N};/32_stddev 1.81 ns 1.81 ns 4
std::string copy{str_with_len_N};/32_cv 7.83 % 7.83 % 4
std::string copy{str_with_len_N};/64_mean 22.4 ns 22.4 ns 4
std::string copy{str_with_len_N};/64_median 22.3 ns 22.3 ns 4
std::string copy{str_with_len_N};/64_stddev 0.420 ns 0.420 ns 4
std::string copy{str_with_len_N};/64_cv 1.88 % 1.88 % 4
std::string copy{str_with_len_N};/128_mean 24.2 ns 24.2 ns 4
std::string copy{str_with_len_N};/128_median 23.7 ns 23.7 ns 4
std::string copy{str_with_len_N};/128_stddev 1.55 ns 1.55 ns 4
std::string copy{str_with_len_N};/128_cv 6.40 % 6.40 % 4
std::string copy{str_with_len_N};/256_mean 24.0 ns 24.0 ns 4
std::string copy{str_with_len_N};/256_median 24.0 ns 24.0 ns 4
std::string copy{str_with_len_N};/256_stddev 0.301 ns 0.301 ns 4
std::string copy{str_with_len_N};/256_cv 1.26 % 1.26 % 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.3 ns 29.3 ns 4
std::string copy{str_with_len_N};/512_stddev 0.426 ns 0.426 ns 4
std::string copy{str_with_len_N};/512_cv 1.46 % 1.46 % 4
std::string copy{str_with_len_N};/1024_mean 48.3 ns 48.3 ns 4
std::string copy{str_with_len_N};/1024_median 47.8 ns 47.9 ns 4
std::string copy{str_with_len_N};/1024_stddev 1.20 ns 1.20 ns 4
std::string copy{str_with_len_N};/1024_cv 2.48 % 2.48 % 4
std::string copy{str_with_len_N};/2048_mean 131 ns 131 ns 4
std::string copy{str_with_len_N};/2048_median 130 ns 130 ns 4
std::string copy{str_with_len_N};/2048_stddev 6.29 ns 6.29 ns 4
std::string copy{str_with_len_N};/2048_cv 4.80 % 4.80 % 4
std::string copy{str_with_len_N};/4096_mean 155 ns 155 ns 4
std::string copy{str_with_len_N};/4096_median 155 ns 155 ns 4
std::string copy{str_with_len_N};/4096_stddev 0.748 ns 0.748 ns 4
std::string copy{str_with_len_N};/4096_cv 0.48 % 0.48 % 4
stringa copy{str_with_len_N};/15_mean 1.12 ns 1.12 ns 4
stringa copy{str_with_len_N};/15_median 1.12 ns 1.12 ns 4
stringa copy{str_with_len_N};/15_stddev 0.012 ns 0.012 ns 4
stringa copy{str_with_len_N};/15_cv 1.04 % 1.04 % 4
stringa copy{str_with_len_N};/16_mean 1.12 ns 1.12 ns 4
stringa copy{str_with_len_N};/16_median 1.12 ns 1.12 ns 4
stringa copy{str_with_len_N};/16_stddev 0.017 ns 0.017 ns 4
stringa copy{str_with_len_N};/16_cv 1.52 % 1.52 % 4
stringa copy{str_with_len_N};/23_mean 1.11 ns 1.11 ns 4
stringa copy{str_with_len_N};/23_median 1.11 ns 1.11 ns 4
stringa copy{str_with_len_N};/23_stddev 0.007 ns 0.007 ns 4
stringa copy{str_with_len_N};/23_cv 0.65 % 0.65 % 4
stringa copy{str_with_len_N};/24_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/24_median 16.4 ns 16.4 ns 4
stringa copy{str_with_len_N};/24_stddev 0.083 ns 0.083 ns 4
stringa copy{str_with_len_N};/24_cv 0.51 % 0.51 % 4
stringa copy{str_with_len_N};/32_mean 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/32_median 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/32_stddev 0.050 ns 0.050 ns 4
stringa copy{str_with_len_N};/32_cv 0.31 % 0.31 % 4
stringa copy{str_with_len_N};/64_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/64_median 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/64_stddev 0.113 ns 0.113 ns 4
stringa copy{str_with_len_N};/64_cv 0.70 % 0.70 % 4
stringa copy{str_with_len_N};/128_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/128_median 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/128_stddev 0.071 ns 0.071 ns 4
stringa copy{str_with_len_N};/128_cv 0.44 % 0.44 % 4
stringa copy{str_with_len_N};/256_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/256_median 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/256_stddev 0.048 ns 0.048 ns 4
stringa copy{str_with_len_N};/256_cv 0.29 % 0.29 % 4
stringa copy{str_with_len_N};/512_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/512_median 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/512_stddev 0.113 ns 0.113 ns 4
stringa copy{str_with_len_N};/512_cv 0.70 % 0.70 % 4
stringa copy{str_with_len_N};/1024_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/1024_median 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/1024_stddev 0.102 ns 0.102 ns 4
stringa copy{str_with_len_N};/1024_cv 0.63 % 0.63 % 4
stringa copy{str_with_len_N};/2048_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/2048_median 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/2048_stddev 0.094 ns 0.094 ns 4
stringa copy{str_with_len_N};/2048_cv 0.58 % 0.58 % 4
stringa copy{str_with_len_N};/4096_mean 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/4096_median 16.3 ns 16.3 ns 4
stringa copy{str_with_len_N};/4096_stddev 0.106 ns 0.106 ns 4
stringa copy{str_with_len_N};/4096_cv 0.65 % 0.65 % 4
lstringa<16> copy{str_with_len_N};/15_mean 4.52 ns 4.52 ns 4
lstringa<16> copy{str_with_len_N};/15_median 4.51 ns 4.51 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.026 ns 0.026 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 0.58 % 0.58 % 4
lstringa<16> copy{str_with_len_N};/16_mean 4.53 ns 4.53 ns 4
lstringa<16> copy{str_with_len_N};/16_median 4.54 ns 4.54 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.088 ns 0.088 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 1.95 % 1.95 % 4
lstringa<16> copy{str_with_len_N};/23_mean 5.14 ns 5.14 ns 4
lstringa<16> copy{str_with_len_N};/23_median 4.85 ns 4.85 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 0.755 ns 0.755 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 14.68 % 14.68 % 4
lstringa<16> copy{str_with_len_N};/24_mean 26.2 ns 26.2 ns 4
lstringa<16> copy{str_with_len_N};/24_median 26.2 ns 26.2 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 0.963 ns 0.963 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 3.68 % 3.68 % 4
lstringa<16> copy{str_with_len_N};/32_mean 23.9 ns 23.9 ns 4
lstringa<16> copy{str_with_len_N};/32_median 24.1 ns 24.1 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 0.542 ns 0.542 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 2.26 % 2.26 % 4
lstringa<16> copy{str_with_len_N};/64_mean 25.4 ns 25.4 ns 4
lstringa<16> copy{str_with_len_N};/64_median 25.4 ns 25.4 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 0.391 ns 0.391 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 1.54 % 1.54 % 4
lstringa<16> copy{str_with_len_N};/128_mean 26.9 ns 26.9 ns 4
lstringa<16> copy{str_with_len_N};/128_median 26.8 ns 26.8 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 0.218 ns 0.218 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 0.81 % 0.81 % 4
lstringa<16> copy{str_with_len_N};/256_mean 26.9 ns 26.9 ns 4
lstringa<16> copy{str_with_len_N};/256_median 26.8 ns 26.8 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 0.683 ns 0.683 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 2.54 % 2.54 % 4
lstringa<16> copy{str_with_len_N};/512_mean 30.4 ns 30.4 ns 4
lstringa<16> copy{str_with_len_N};/512_median 30.3 ns 30.3 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 0.632 ns 0.632 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 2.08 % 2.08 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 110 ns 110 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 108 ns 108 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 7.17 ns 7.17 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 6.49 % 6.49 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 118 ns 118 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 117 ns 117 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 5.11 ns 5.11 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 4.33 % 4.33 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 135 ns 135 ns 4
lstringa<16> copy{str_with_len_N};/4096_median 135 ns 135 ns 4
lstringa<16> copy{str_with_len_N};/4096_stddev 3.10 ns 3.10 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 2.30 % 2.30 % 4
lstringa<512> copy{str_with_len_N};/15_mean 4.99 ns 4.99 ns 4
lstringa<512> copy{str_with_len_N};/15_median 4.95 ns 4.95 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.198 ns 0.198 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 3.96 % 3.96 % 4
lstringa<512> copy{str_with_len_N};/16_mean 4.88 ns 4.88 ns 4
lstringa<512> copy{str_with_len_N};/16_median 4.88 ns 4.88 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.077 ns 0.077 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 1.59 % 1.59 % 4
lstringa<512> copy{str_with_len_N};/23_mean 4.82 ns 4.82 ns 4
lstringa<512> copy{str_with_len_N};/23_median 4.82 ns 4.82 ns 4
lstringa<512> copy{str_with_len_N};/23_stddev 0.058 ns 0.058 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 1.19 % 1.19 % 4
lstringa<512> copy{str_with_len_N};/24_mean 4.86 ns 4.86 ns 4
lstringa<512> copy{str_with_len_N};/24_median 4.83 ns 4.83 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 0.074 ns 0.074 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 1.52 % 1.52 % 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.59 ns 4.59 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.057 ns 0.057 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 1.23 % 1.23 % 4
lstringa<512> copy{str_with_len_N};/64_mean 6.00 ns 6.00 ns 4
lstringa<512> copy{str_with_len_N};/64_median 5.98 ns 5.98 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 0.076 ns 0.076 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 1.27 % 1.27 % 4
lstringa<512> copy{str_with_len_N};/128_mean 6.38 ns 6.38 ns 4
lstringa<512> copy{str_with_len_N};/128_median 6.39 ns 6.39 ns 4
lstringa<512> copy{str_with_len_N};/128_stddev 0.085 ns 0.085 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 1.34 % 1.34 % 4
lstringa<512> copy{str_with_len_N};/256_mean 8.50 ns 8.50 ns 4
lstringa<512> copy{str_with_len_N};/256_median 8.50 ns 8.50 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 0.104 ns 0.104 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 1.22 % 1.22 % 4
lstringa<512> copy{str_with_len_N};/512_mean 10.8 ns 10.8 ns 4
lstringa<512> copy{str_with_len_N};/512_median 10.8 ns 10.8 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 0.119 ns 0.119 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 1.11 % 1.11 % 4
lstringa<512> copy{str_with_len_N};/1024_mean 106 ns 106 ns 4
lstringa<512> copy{str_with_len_N};/1024_median 106 ns 106 ns 4
lstringa<512> copy{str_with_len_N};/1024_stddev 1.44 ns 1.44 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 1.36 % 1.36 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 117 ns 117 ns 4
lstringa<512> copy{str_with_len_N};/2048_median 115 ns 115 ns 4
lstringa<512> copy{str_with_len_N};/2048_stddev 3.43 ns 3.43 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 2.94 % 2.94 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 127 ns 127 ns 4
lstringa<512> copy{str_with_len_N};/4096_median 127 ns 127 ns 4
lstringa<512> copy{str_with_len_N};/4096_stddev 0.729 ns 0.729 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 0.57 % 0.57 % 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 26.7 ns 26.7 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 26.6 ns 26.6 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.602 ns 0.602 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 2.26 % 2.26 % 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 15.1 ns 15.1 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 15.2 ns 15.2 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.313 ns 0.313 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 2.07 % 2.07 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 12.9 ns 12.9 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.9 ns 12.9 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.261 ns 0.261 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.03 % 2.03 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.0 ns 13.0 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.7 ns 12.7 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.709 ns 0.709 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 5.45 % 5.45 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.0 ns 13.0 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 12.9 ns 12.9 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.406 ns 0.406 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.12 % 3.12 % 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.9 ns 23.9 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 23.8 ns 23.8 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.256 ns 0.256 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.07 % 1.07 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 9.72 ns 9.72 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 9.75 ns 9.75 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.151 ns 0.151 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 1.55 % 1.55 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 11.6 ns 11.6 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 11.6 ns 11.6 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.187 ns 0.187 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.61 % 1.61 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.7 ns 12.7 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.8 ns 12.8 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.232 ns 0.232 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.83 % 1.83 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 11.4 ns 11.4 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 11.4 ns 11.4 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.139 ns 0.139 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.22 % 1.22 % 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.9 ns 28.9 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 29.1 ns 29.1 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.450 ns 0.450 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.56 % 1.56 % 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 19.2 ns 19.2 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 19.2 ns 19.2 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.301 ns 0.301 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 1.57 % 1.57 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 15.2 ns 15.2 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 15.2 ns 15.2 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.166 ns 0.166 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.09 % 1.09 % 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 64.6 ns 64.6 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 64.4 ns 64.4 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 0.782 ns 0.782 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 1.21 % 1.21 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 25.0 ns 25.0 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 25.1 ns 25.1 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 0.414 ns 0.414 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 1.65 % 1.65 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 25.8 ns 25.8 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.186 ns 0.186 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 0.72 % 0.72 % 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 1350 ns 1350 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 1352 ns 1352 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 22.2 ns 22.2 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 1.65 % 1.65 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 392 ns 392 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 390 ns 390 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 8.21 ns 8.21 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 2.10 % 2.10 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 394 ns 394 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 393 ns 393 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 8.99 ns 8.98 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 2.28 % 2.28 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 274 ns 274 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 276 ns 276 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 26.1 ns 26.1 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 9.52 % 9.52 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 261 ns 261 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 254 ns 254 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 20.4 ns 20.4 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 7.83 % 7.83 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 138 ns 138 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 138 ns 138 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 0.849 ns 0.849 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 0.61 % 0.61 % 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 1357 ns 1357 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 1358 ns 1358 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 8.17 ns 8.17 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 0.60 % 0.60 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1293 ns 1293 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1277 ns 1277 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 39.7 ns 39.7 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 3.07 % 3.07 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 481 ns 481 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 480 ns 480 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 8.35 ns 8.35 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 1.74 % 1.74 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 357 ns 357 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 360 ns 360 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 17.2 ns 17.2 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.81 % 4.81 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 329 ns 329 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 336 ns 336 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 18.7 ns 18.7 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.66 % 5.66 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 236 ns 236 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 235 ns 235 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 2.13 ns 2.13 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 0.90 % 0.90 % 4
-- Append string of 16 bytes and const literal of 16 bytes 2048 times, 65536 total length --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_mean 74335 ns 74335 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 73702 ns 73702 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 1557 ns 1557 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 2.09 % 2.09 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 71474 ns 71475 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 71368 ns 71368 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1224 ns 1224 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.71 % 1.71 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19267 ns 19267 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 19214 ns 19214 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 276 ns 276 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.43 % 1.43 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19355 ns 19355 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18776 ns 18776 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1633 ns 1633 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 8.44 % 8.44 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17654 ns 17654 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17215 ns 17215 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1690 ns 1690 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 9.57 % 9.57 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 15871 ns 15871 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 15847 ns 15847 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 233 ns 233 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.47 % 1.47 % 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 1407 ns 1407 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 1398 ns 1398 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 50.0 ns 50.0 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 3.55 % 3.55 % 4
std::string str; ... str += str_var1 + str_var2;_mean 1382 ns 1382 ns 4
std::string str; ... str += str_var1 + str_var2;_median 1384 ns 1384 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 38.6 ns 38.6 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 2.79 % 2.79 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 534 ns 534 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 531 ns 531 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 7.74 ns 7.74 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 1.45 % 1.45 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 436 ns 436 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 440 ns 440 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 16.1 ns 16.1 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 3.70 % 3.70 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 404 ns 404 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 407 ns 407 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 12.4 ns 12.4 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_cv 3.07 % 3.07 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 290 ns 290 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 289 ns 289 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 6.47 ns 6.47 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 2.23 % 2.23 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 3004 ns 3004 ns 4
std::stringstream str; str << "test = " << k << " times";_median 2999 ns 2999 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 26.0 ns 26.0 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 0.86 % 0.86 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 480 ns 480 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 481 ns 481 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 13.2 ns 13.2 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 2.75 % 2.75 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 1412 ns 1412 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 1417 ns 1417 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 21.1 ns 21.1 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.50 % 1.50 % 4
std::string str = std::format("test = {} times", k);_mean 1166 ns 1166 ns 4
std::string str = std::format("test = {} times", k);_median 1169 ns 1169 ns 4
std::string str = std::format("test = {} times", k);_stddev 14.7 ns 14.7 ns 4
std::string str = std::format("test = {} times", k);_cv 1.26 % 1.26 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 1407 ns 1407 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 1409 ns 1409 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 7.51 ns 7.51 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 0.53 % 0.53 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 1015 ns 1015 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 1013 ns 1013 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 27.3 ns 27.3 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 2.69 % 2.69 % 4
lstringa<8> str = "test = " + k + " times";_mean 309 ns 309 ns 4
lstringa<8> str = "test = " + k + " times";_median 309 ns 309 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 6.88 ns 6.88 ns 4
lstringa<8> str = "test = " + k + " times";_cv 2.22 % 2.22 % 4
lstringa<32> str = "test = " + k + " times";_mean 154 ns 154 ns 4
lstringa<32> str = "test = " + k + " times";_median 154 ns 154 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 2.16 ns 2.16 ns 4
lstringa<32> str = "test = " + k + " times";_cv 1.40 % 1.40 % 4
stringa str = "test = " + k + " times";_mean 145 ns 145 ns 4
stringa str = "test = " + k + " times";_median 145 ns 145 ns 4
stringa str = "test = " + k + " times";_stddev 1.63 ns 1.63 ns 4
stringa str = "test = " + k + " times";_cv 1.12 % 1.12 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 267 ns 267 ns 4
std::string::find + substr + std::strtol_median 266 ns 266 ns 4
std::string::find + substr + std::strtol_stddev 2.87 ns 2.87 ns 4
std::string::find + substr + std::strtol_cv 1.08 % 1.08 % 4
ssa::splitter + ssa::as_int_mean 152 ns 152 ns 4
ssa::splitter + ssa::as_int_median 152 ns 152 ns 4
ssa::splitter + ssa::as_int_stddev 2.93 ns 2.93 ns 4
ssa::splitter + ssa::as_int_cv 1.93 % 1.93 % 4
ssa::splitf + functor_mean 200 ns 200 ns 4
ssa::splitf + functor_median 199 ns 199 ns 4
ssa::splitf + functor_stddev 2.79 ns 2.79 ns 4
ssa::splitf + functor_cv 1.39 % 1.39 % 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 863 ns 863 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 868 ns 868 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 18.1 ns 18.1 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 2.10 % 2.10 % 4
replace symbols with std::string find_first_of + replace_mean 2429 ns 2429 ns 4
replace symbols with std::string find_first_of + replace_median 2426 ns 2426 ns 4
replace symbols with std::string find_first_of + replace_stddev 38.0 ns 38.0 ns 4
replace symbols with std::string find_first_of + replace_cv 1.56 % 1.56 % 4
replace symbols with std::string_view find_first_of + copy_mean 1090 ns 1090 ns 4
replace symbols with std::string_view find_first_of + copy_median 1089 ns 1089 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 16.9 ns 16.9 ns 4
replace symbols with std::string_view find_first_of + copy_cv 1.55 % 1.55 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 1298 ns 1298 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 1293 ns 1293 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 11.3 ns 11.3 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 0.87 % 0.87 % 4
replace runtime symbols with simstr and memorization of all search results_mean 1046 ns 1046 ns 4
replace runtime symbols with simstr and memorization of all search results_median 1044 ns 1044 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 8.77 ns 8.77 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 0.84 % 0.84 % 4
replace const symbols with string expressions and without remembering all search results_mean 1045 ns 1045 ns 4
replace const symbols with string expressions and without remembering all search results_median 1039 ns 1039 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 17.9 ns 17.9 ns 4
replace const symbols with string expressions and without remembering all search results_cv 1.71 % 1.71 % 4
replace const symbols with string expressions and memorization of all search results_mean 888 ns 888 ns 4
replace const symbols with string expressions and memorization of all search results_median 889 ns 889 ns 4
replace const symbols with string expressions and memorization of all search results_stddev 3.08 ns 3.08 ns 4
replace const symbols with string expressions and memorization of all search results_cv 0.35 % 0.35 % 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 168 ns 168 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 168 ns 168 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 6.49 ns 6.49 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 3.86 % 3.86 % 4
Short replace symbols with std::string find_first_of + replace_mean 320 ns 320 ns 4
Short replace symbols with std::string find_first_of + replace_median 322 ns 322 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 6.82 ns 6.81 ns 4
Short replace symbols with std::string find_first_of + replace_cv 2.13 % 2.13 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 164 ns 164 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 162 ns 162 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 3.51 ns 3.51 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 2.14 % 2.14 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 184 ns 184 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 183 ns 183 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 4.77 ns 4.77 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 2.59 % 2.59 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 194 ns 194 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 194 ns 194 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 3.39 ns 3.39 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 1.74 % 1.74 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 133 ns 133 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 133 ns 133 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 2.06 ns 2.06 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 1.55 % 1.55 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 148 ns 148 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 148 ns 148 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 2.11 ns 2.11 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 1.43 % 1.43 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 161 ns 161 ns 4
replace bb to ---- in std::string|64_median 161 ns 161 ns 4
replace bb to ---- in std::string|64_stddev 2.11 ns 2.11 ns 4
replace bb to ---- in std::string|64_cv 1.30 % 1.30 % 4
replace bb to ---- in std::string|256_mean 545 ns 545 ns 4
replace bb to ---- in std::string|256_median 546 ns 546 ns 4
replace bb to ---- in std::string|256_stddev 4.10 ns 4.09 ns 4
replace bb to ---- in std::string|256_cv 0.75 % 0.75 % 4
replace bb to ---- in std::string|512_mean 1067 ns 1067 ns 4
replace bb to ---- in std::string|512_median 1061 ns 1061 ns 4
replace bb to ---- in std::string|512_stddev 49.6 ns 49.6 ns 4
replace bb to ---- in std::string|512_cv 4.65 % 4.65 % 4
replace bb to ---- in std::string|1024_mean 2581 ns 2581 ns 4
replace bb to ---- in std::string|1024_median 2549 ns 2549 ns 4
replace bb to ---- in std::string|1024_stddev 217 ns 217 ns 4
replace bb to ---- in std::string|1024_cv 8.41 % 8.41 % 4
replace bb to ---- in std::string|2048_mean 6211 ns 6211 ns 4
replace bb to ---- in std::string|2048_median 6292 ns 6292 ns 4
replace bb to ---- in std::string|2048_stddev 494 ns 494 ns 4
replace bb to ---- in std::string|2048_cv 7.95 % 7.95 % 4
replace bb to ---- in lstringa<8>|64_mean 139 ns 139 ns 4
replace bb to ---- in lstringa<8>|64_median 140 ns 140 ns 4
replace bb to ---- in lstringa<8>|64_stddev 2.49 ns 2.49 ns 4
replace bb to ---- in lstringa<8>|64_cv 1.79 % 1.79 % 4
replace bb to ---- in lstringa<8>|256_mean 429 ns 429 ns 4
replace bb to ---- in lstringa<8>|256_median 430 ns 430 ns 4
replace bb to ---- in lstringa<8>|256_stddev 2.23 ns 2.23 ns 4
replace bb to ---- in lstringa<8>|256_cv 0.52 % 0.52 % 4
replace bb to ---- in lstringa<8>|512_mean 814 ns 814 ns 4
replace bb to ---- in lstringa<8>|512_median 813 ns 813 ns 4
replace bb to ---- in lstringa<8>|512_stddev 8.44 ns 8.44 ns 4
replace bb to ---- in lstringa<8>|512_cv 1.04 % 1.04 % 4
replace bb to ---- in lstringa<8>|1024_mean 1687 ns 1687 ns 4
replace bb to ---- in lstringa<8>|1024_median 1696 ns 1696 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 27.7 ns 27.7 ns 4
replace bb to ---- in lstringa<8>|1024_cv 1.64 % 1.64 % 4
replace bb to ---- in lstringa<8>|2048_mean 3197 ns 3197 ns 4
replace bb to ---- in lstringa<8>|2048_median 3181 ns 3181 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 39.9 ns 39.9 ns 4
replace bb to ---- in lstringa<8>|2048_cv 1.25 % 1.25 % 4
replace bb to ---- by init stringa|64_mean 97.9 ns 97.9 ns 4
replace bb to ---- by init stringa|64_median 97.3 ns 97.3 ns 4
replace bb to ---- by init stringa|64_stddev 2.12 ns 2.12 ns 4
replace bb to ---- by init stringa|64_cv 2.17 % 2.17 % 4
replace bb to ---- by init stringa|256_mean 307 ns 307 ns 4
replace bb to ---- by init stringa|256_median 307 ns 307 ns 4
replace bb to ---- by init stringa|256_stddev 3.74 ns 3.74 ns 4
replace bb to ---- by init stringa|256_cv 1.22 % 1.22 % 4
replace bb to ---- by init stringa|512_mean 753 ns 753 ns 4
replace bb to ---- by init stringa|512_median 754 ns 754 ns 4
replace bb to ---- by init stringa|512_stddev 32.1 ns 32.1 ns 4
replace bb to ---- by init stringa|512_cv 4.27 % 4.27 % 4
replace bb to ---- by init stringa|1024_mean 1562 ns 1562 ns 4
replace bb to ---- by init stringa|1024_median 1553 ns 1553 ns 4
replace bb to ---- by init stringa|1024_stddev 59.7 ns 59.7 ns 4
replace bb to ---- by init stringa|1024_cv 3.82 % 3.82 % 4
replace bb to ---- by init stringa|2048_mean 3081 ns 3081 ns 4
replace bb to ---- by init stringa|2048_median 3085 ns 3085 ns 4
replace bb to ---- by init stringa|2048_stddev 25.1 ns 25.1 ns 4
replace bb to ---- by init stringa|2048_cv 0.81 % 0.81 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 123 ns 123 ns 4
replace bb to -- in std::string|64_median 123 ns 123 ns 4
replace bb to -- in std::string|64_stddev 2.79 ns 2.79 ns 4
replace bb to -- in std::string|64_cv 2.27 % 2.27 % 4
replace bb to -- in std::string|256_mean 418 ns 418 ns 4
replace bb to -- in std::string|256_median 415 ns 415 ns 4
replace bb to -- in std::string|256_stddev 6.95 ns 6.95 ns 4
replace bb to -- in std::string|256_cv 1.66 % 1.66 % 4
replace bb to -- in std::string|512_mean 747 ns 747 ns 4
replace bb to -- in std::string|512_median 747 ns 747 ns 4
replace bb to -- in std::string|512_stddev 8.33 ns 8.33 ns 4
replace bb to -- in std::string|512_cv 1.11 % 1.11 % 4
replace bb to -- in std::string|1024_mean 1473 ns 1473 ns 4
replace bb to -- in std::string|1024_median 1467 ns 1467 ns 4
replace bb to -- in std::string|1024_stddev 20.2 ns 20.2 ns 4
replace bb to -- in std::string|1024_cv 1.37 % 1.37 % 4
replace bb to -- in std::string|2048_mean 2945 ns 2945 ns 4
replace bb to -- in std::string|2048_median 2956 ns 2956 ns 4
replace bb to -- in std::string|2048_stddev 40.3 ns 40.3 ns 4
replace bb to -- in std::string|2048_cv 1.37 % 1.37 % 4
replace bb to -- in lstringa<8>|64_mean 98.7 ns 98.7 ns 4
replace bb to -- in lstringa<8>|64_median 98.4 ns 98.4 ns 4
replace bb to -- in lstringa<8>|64_stddev 1.13 ns 1.13 ns 4
replace bb to -- in lstringa<8>|64_cv 1.15 % 1.15 % 4
replace bb to -- in lstringa<8>|256_mean 296 ns 296 ns 4
replace bb to -- in lstringa<8>|256_median 298 ns 298 ns 4
replace bb to -- in lstringa<8>|256_stddev 5.89 ns 5.89 ns 4
replace bb to -- in lstringa<8>|256_cv 1.99 % 1.99 % 4
replace bb to -- in lstringa<8>|512_mean 544 ns 544 ns 4
replace bb to -- in lstringa<8>|512_median 545 ns 545 ns 4
replace bb to -- in lstringa<8>|512_stddev 6.95 ns 6.95 ns 4
replace bb to -- in lstringa<8>|512_cv 1.28 % 1.28 % 4
replace bb to -- in lstringa<8>|1024_mean 1135 ns 1135 ns 4
replace bb to -- in lstringa<8>|1024_median 1134 ns 1134 ns 4
replace bb to -- in lstringa<8>|1024_stddev 29.6 ns 29.6 ns 4
replace bb to -- in lstringa<8>|1024_cv 2.61 % 2.61 % 4
replace bb to -- in lstringa<8>|2048_mean 2152 ns 2152 ns 4
replace bb to -- in lstringa<8>|2048_median 2166 ns 2166 ns 4
replace bb to -- in lstringa<8>|2048_stddev 39.1 ns 39.1 ns 4
replace bb to -- in lstringa<8>|2048_cv 1.82 % 1.82 % 4
replace bb to -- by init stringa|64_mean 83.2 ns 83.2 ns 4
replace bb to -- by init stringa|64_median 82.8 ns 82.8 ns 4
replace bb to -- by init stringa|64_stddev 1.67 ns 1.67 ns 4
replace bb to -- by init stringa|64_cv 2.01 % 2.01 % 4
replace bb to -- by init stringa|256_mean 240 ns 240 ns 4
replace bb to -- by init stringa|256_median 239 ns 239 ns 4
replace bb to -- by init stringa|256_stddev 2.84 ns 2.84 ns 4
replace bb to -- by init stringa|256_cv 1.18 % 1.18 % 4
replace bb to -- by init stringa|512_mean 437 ns 437 ns 4
replace bb to -- by init stringa|512_median 436 ns 436 ns 4
replace bb to -- by init stringa|512_stddev 1.77 ns 1.77 ns 4
replace bb to -- by init stringa|512_cv 0.41 % 0.41 % 4
replace bb to -- by init stringa|1024_mean 904 ns 904 ns 4
replace bb to -- by init stringa|1024_median 907 ns 907 ns 4
replace bb to -- by init stringa|1024_stddev 12.2 ns 12.2 ns 4
replace bb to -- by init stringa|1024_cv 1.35 % 1.35 % 4
replace bb to -- by init stringa|2048_mean 1717 ns 1717 ns 4
replace bb to -- by init stringa|2048_median 1717 ns 1717 ns 4
replace bb to -- by init stringa|2048_stddev 1.39 ns 1.39 ns 4
replace bb to -- by init stringa|2048_cv 0.08 % 0.08 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3702256 ns 3702268 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 3696798 ns 3696808 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 97443 ns 97444 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 2.63 % 2.63 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3940489 ns 3940498 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3879010 ns 3879019 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 300320 ns 300321 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 7.62 % 7.62 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 3670874 ns 3670887 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 3678194 ns 3678207 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 64946 ns 64948 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 1.77 % 1.77 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 4098357 ns 4098381 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 4114704 ns 4114740 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 125788 ns 125783 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 3.07 % 3.07 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 731 ns 731 ns 4
Build func full name std::string;_median 730 ns 730 ns 4
Build func full name std::string;_stddev 21.4 ns 21.4 ns 4
Build func full name std::string;_cv 2.93 % 2.93 % 4
Build func full name std::string 1;_mean 819 ns 819 ns 4
Build func full name std::string 1;_median 816 ns 816 ns 4
Build func full name std::string 1;_stddev 10.3 ns 10.3 ns 4
Build func full name std::string 1;_cv 1.25 % 1.25 % 4
Build func full name std::stream;_mean 2638 ns 2638 ns 4
Build func full name std::stream;_median 2653 ns 2653 ns 4
Build func full name std::stream;_stddev 94.8 ns 94.8 ns 4
Build func full name std::stream;_cv 3.59 % 3.59 % 4
Build func full name stringa;_mean 526 ns 526 ns 4
Build func full name stringa;_median 525 ns 525 ns 4
Build func full name stringa;_stddev 10.4 ns 10.4 ns 4
Build func full name stringa;_cv 1.98 % 1.98 % 4
Build func full name stringa 1;_mean 667 ns 667 ns 4
Build func full name stringa 1;_median 666 ns 666 ns 4
Build func full name stringa 1;_stddev 5.13 ns 5.13 ns 4
Build func full name stringa 1;_cv 0.77 % 0.77 % 4