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

932 lines
138 KiB
Plaintext

Benchmarks of simstr, version 1.6.4
Sources: https://github.com/orefkov/simstr
Results: https://orefkov.github.io/simstr/results.html
2026-02-04T16:14:00+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.00, 0.00, 0.00
***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 201 ns 201 ns 4
Concat std::string and number by std to std::string_median 199 ns 199 ns 4
Concat std::string and number by std to std::string_stddev 7.26 ns 7.26 ns 4
Concat std::string and number by std to std::string_cv 3.62 % 3.62 % 4
Concat std::string and number by StrExpr to std::string_mean 100 ns 100 ns 4
Concat std::string and number by StrExpr to std::string_median 94.2 ns 94.2 ns 4
Concat std::string and number by StrExpr to std::string_stddev 13.1 ns 13.1 ns 4
Concat std::string and number by StrExpr to std::string_cv 13.10 % 13.10 % 4
Concat stringa and number by StrExpr to simstr::stringa_mean 77.9 ns 77.9 ns 4
Concat stringa and number by StrExpr to simstr::stringa_median 78.3 ns 78.3 ns 4
Concat stringa and number by StrExpr to simstr::stringa_stddev 6.99 ns 6.99 ns 4
Concat stringa and number by StrExpr to simstr::stringa_cv 8.97 % 8.97 % 4
Concat stringa and number by e_concat to simstr::stringa_mean 79.0 ns 79.0 ns 4
Concat stringa and number by e_concat to simstr::stringa_median 75.8 ns 75.8 ns 4
Concat stringa and number by e_concat to simstr::stringa_stddev 6.87 ns 6.87 ns 4
Concat stringa and number by e_concat to simstr::stringa_cv 8.70 % 8.70 % 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 691 ns 691 ns 4
Concat std::string and format hex number and literal to std::string_median 676 ns 676 ns 4
Concat std::string and format hex number and literal to std::string_stddev 49.5 ns 49.5 ns 4
Concat std::string and format hex number and literal to std::string_cv 7.16 % 7.16 % 4
std::format std::string and hex number by literal to std::string_mean 995 ns 995 ns 4
std::format std::string and hex number by literal to std::string_median 964 ns 964 ns 4
std::format std::string and hex number by literal to std::string_stddev 130 ns 130 ns 4
std::format std::string and hex number by literal to std::string_cv 13.08 % 13.08 % 4
Concat std::string and std::to_chars and string to std::string_mean 175 ns 175 ns 4
Concat std::string and std::to_chars and string to std::string_median 176 ns 176 ns 4
Concat std::string and std::to_chars and string to std::string_stddev 3.22 ns 3.22 ns 4
Concat std::string and std::to_chars and string to std::string_cv 1.84 % 1.84 % 4
Concat std::string and hex number and literal by StrExpr to std::string_mean 126 ns 126 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_median 124 ns 124 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_stddev 5.99 ns 5.99 ns 4
Concat std::string and hex number and literal by StrExpr to std::string_cv 4.75 % 4.75 % 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_mean 119 ns 119 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_median 120 ns 120 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_stddev 1.61 ns 1.61 ns 4
Concat stringa and hex number and literal by StrExpr to simstr::stringa_cv 1.35 % 1.35 % 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_mean 131 ns 131 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_median 126 ns 126 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_stddev 10.1 ns 10.1 ns 4
Concat stringa and hex number and literal by e_concat to simstr::stringa_cv 7.71 % 7.71 % 4
Subst stringa and hex number by e_subst literal to simstr::stringa_mean 164 ns 164 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_median 164 ns 164 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_stddev 2.00 ns 2.00 ns 4
Subst stringa and hex number by e_subst literal to simstr::stringa_cv 1.22 % 1.22 % 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_mean 277 ns 277 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_median 274 ns 274 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_stddev 10.4 ns 10.4 ns 4
Subst stringa and hex number by e_vsubst stra to simstr::stringa_cv 3.75 % 3.75 % 4
----- format/vformat and subst/vsubst octal number ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
"art "_ss + i / 0x8a010_fmt + " end"_mean 96.6 ns 96.6 ns 4
"art "_ss + i / 0x8a010_fmt + " end"_median 96.2 ns 96.2 ns 4
"art "_ss + i / 0x8a010_fmt + " end"_stddev 7.79 ns 7.79 ns 4
"art "_ss + i / 0x8a010_fmt + " end"_cv 8.06 % 8.06 % 4
e_subst("art {} end", i / 0x8a010_fmt)_mean 145 ns 145 ns 4
e_subst("art {} end", i / 0x8a010_fmt)_median 145 ns 145 ns 4
e_subst("art {} end", i / 0x8a010_fmt)_stddev 8.28 ns 8.28 ns 4
e_subst("art {} end", i / 0x8a010_fmt)_cv 5.73 % 5.73 % 4
e_vsubst(pattern, i / 0x8a010_fmt)_mean 327 ns 327 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_median 327 ns 327 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_stddev 17.8 ns 17.8 ns 4
e_vsubst(pattern, i / 0x8a010_fmt)_cv 5.43 % 5.43 % 4
std::format("art {:#010o} end", i)_mean 1204 ns 1204 ns 4
std::format("art {:#010o} end", i)_median 1211 ns 1211 ns 4
std::format("art {:#010o} end", i)_stddev 29.0 ns 29.0 ns 4
std::format("art {:#010o} end", i)_cv 2.41 % 2.41 % 4
std::vformat(pattern, std::make_format_args(i))_mean 1091 ns 1091 ns 4
std::vformat(pattern, std::make_format_args(i))_median 1104 ns 1104 ns 4
std::vformat(pattern, std::make_format_args(i))_stddev 27.5 ns 27.5 ns 4
std::vformat(pattern, std::make_format_args(i))_cv 2.52 % 2.52 % 4
strm << "art 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_mean 2084 ns 2084 ns 4
strm << "art 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_median 2079 ns 2079 ns 4
strm << "art 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_stddev 58.5 ns 58.5 ns 4
strm << "art 0" << std::oct << std::setw(9) << std::setfill('0') << i << " end"_cv 2.81 % 2.81 % 4
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 43.5 ns 43.5 ns 4
Concat std::string by std to std::string_median 43.5 ns 43.5 ns 4
Concat std::string by std to std::string_stddev 0.763 ns 0.763 ns 4
Concat std::string by std to std::string_cv 1.76 % 1.76 % 4
Concat std::string by StrExpr to std::string_mean 29.4 ns 29.4 ns 4
Concat std::string by StrExpr to std::string_median 29.5 ns 29.5 ns 4
Concat std::string by StrExpr to std::string_stddev 0.740 ns 0.740 ns 4
Concat std::string by StrExpr to std::string_cv 2.52 % 2.52 % 4
Concat stringa by StrExpr to stringa_mean 33.0 ns 33.0 ns 4
Concat stringa by StrExpr to stringa_median 33.9 ns 33.9 ns 4
Concat stringa by StrExpr to stringa_stddev 3.22 ns 3.22 ns 4
Concat stringa by StrExpr to stringa_cv 9.75 % 9.75 % 4
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 194 ns 194 ns 4
Find concat three std::string_median 191 ns 191 ns 4
Find concat three std::string_stddev 19.8 ns 19.8 ns 4
Find concat three std::string_cv 10.22 % 10.22 % 4
Find concat three strexpr_mean 69.7 ns 69.7 ns 4
Find concat three strexpr_median 69.0 ns 69.0 ns 4
Find concat three strexpr_stddev 2.66 ns 2.66 ns 4
Find concat three strexpr_cv 3.81 % 3.81 % 4
Find concat three simstr_mean 44.2 ns 44.2 ns 4
Find concat three simstr_median 44.2 ns 44.2 ns 4
Find concat three simstr_stddev 0.637 ns 0.637 ns 4
Find concat three simstr_cv 1.44 % 1.44 % 4
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 10.3 ns 10.3 ns 4
BuildTypeNameStr 0/0_median 10.3 ns 10.3 ns 4
BuildTypeNameStr 0/0_stddev 0.209 ns 0.209 ns 4
BuildTypeNameStr 0/0_cv 2.03 % 2.03 % 4
BuildTypeNameExp 0/0_mean 6.71 ns 6.71 ns 4
BuildTypeNameExp 0/0_median 6.71 ns 6.71 ns 4
BuildTypeNameExp 0/0_stddev 0.028 ns 0.028 ns 4
BuildTypeNameExp 0/0_cv 0.41 % 0.41 % 4
BuildTypeNameSim 0/0_mean 5.47 ns 5.47 ns 4
BuildTypeNameSim 0/0_median 5.44 ns 5.44 ns 4
BuildTypeNameSim 0/0_stddev 0.483 ns 0.483 ns 4
BuildTypeNameSim 0/0_cv 8.83 % 8.83 % 4
BuildTypeNameStr 10/10_mean 83.0 ns 83.0 ns 4
BuildTypeNameStr 10/10_median 83.1 ns 83.1 ns 4
BuildTypeNameStr 10/10_stddev 0.474 ns 0.474 ns 4
BuildTypeNameStr 10/10_cv 0.57 % 0.57 % 4
BuildTypeNameExp 10/10_mean 24.5 ns 24.5 ns 4
BuildTypeNameExp 10/10_median 24.4 ns 24.4 ns 4
BuildTypeNameExp 10/10_stddev 0.431 ns 0.431 ns 4
BuildTypeNameExp 10/10_cv 1.76 % 1.76 % 4
BuildTypeNameSim 10/10_mean 25.3 ns 25.3 ns 4
BuildTypeNameSim 10/10_median 25.3 ns 25.3 ns 4
BuildTypeNameSim 10/10_stddev 0.570 ns 0.570 ns 4
BuildTypeNameSim 10/10_cv 2.25 % 2.25 % 4
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 403 ns 403 ns 4
Concat with replace str_median 395 ns 395 ns 4
Concat with replace str_stddev 35.8 ns 35.8 ns 4
Concat with replace str_cv 8.88 % 8.88 % 4
Concat with replace exp_mean 175 ns 175 ns 4
Concat with replace exp_median 174 ns 174 ns 4
Concat with replace exp_stddev 6.82 ns 6.82 ns 4
Concat with replace exp_cv 3.89 % 3.89 % 4
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.10 ns 1.10 ns 4
std::string e;_median 1.10 ns 1.10 ns 4
std::string e;_stddev 0.011 ns 0.011 ns 4
std::string e;_cv 1.01 % 1.01 % 4
std::string_view e;_mean 0.748 ns 0.748 ns 4
std::string_view e;_median 0.747 ns 0.747 ns 4
std::string_view e;_stddev 0.026 ns 0.026 ns 4
std::string_view e;_cv 3.50 % 3.50 % 4
ssa e;_mean 0.180 ns 0.180 ns 4
ssa e;_median 0.179 ns 0.179 ns 4
ssa e;_stddev 0.001 ns 0.001 ns 4
ssa e;_cv 0.49 % 0.49 % 4
stringa e;_mean 0.744 ns 0.744 ns 4
stringa e;_median 0.741 ns 0.741 ns 4
stringa e;_stddev 0.013 ns 0.013 ns 4
stringa e;_cv 1.71 % 1.71 % 4
lstringa<20> e;_mean 1.11 ns 1.11 ns 4
lstringa<20> e;_median 1.11 ns 1.11 ns 4
lstringa<20> e;_stddev 0.009 ns 0.009 ns 4
lstringa<20> e;_cv 0.79 % 0.79 % 4
lstringa<40> e;_mean 1.11 ns 1.11 ns 4
lstringa<40> e;_median 1.11 ns 1.11 ns 4
lstringa<40> e;_stddev 0.010 ns 0.010 ns 4
lstringa<40> e;_cv 0.91 % 0.91 % 4
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "Test text";_mean 1.84 ns 1.84 ns 4
std::string e = "Test text";_median 1.83 ns 1.83 ns 4
std::string e = "Test text";_stddev 0.045 ns 0.045 ns 4
std::string e = "Test text";_cv 2.45 % 2.45 % 4
std::string_view e = "Test text";_mean 0.750 ns 0.750 ns 4
std::string_view e = "Test text";_median 0.757 ns 0.757 ns 4
std::string_view e = "Test text";_stddev 0.031 ns 0.031 ns 4
std::string_view e = "Test text";_cv 4.12 % 4.12 % 4
ssa e = "Test text";_mean 0.732 ns 0.732 ns 4
ssa e = "Test text";_median 0.731 ns 0.731 ns 4
ssa e = "Test text";_stddev 0.010 ns 0.010 ns 4
ssa e = "Test text";_cv 1.36 % 1.36 % 4
stringa e = "Test text";_mean 1.11 ns 1.11 ns 4
stringa e = "Test text";_median 1.11 ns 1.11 ns 4
stringa e = "Test text";_stddev 0.022 ns 0.022 ns 4
stringa e = "Test text";_cv 2.00 % 2.00 % 4
lstringa<20> e = "Test text";_mean 1.82 ns 1.82 ns 4
lstringa<20> e = "Test text";_median 1.82 ns 1.82 ns 4
lstringa<20> e = "Test text";_stddev 0.020 ns 0.020 ns 4
lstringa<20> e = "Test text";_cv 1.10 % 1.10 % 4
lstringa<40> e = "Test text";_mean 1.84 ns 1.84 ns 4
lstringa<40> e = "Test text";_median 1.82 ns 1.82 ns 4
lstringa<40> e = "Test text";_stddev 0.047 ns 0.047 ns 4
lstringa<40> e = "Test text";_cv 2.57 % 2.57 % 4
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 18.7 ns 18.7 ns 4
std::string e = "123456789012345678901234567890";_median 18.7 ns 18.7 ns 4
std::string e = "123456789012345678901234567890";_stddev 0.169 ns 0.169 ns 4
std::string e = "123456789012345678901234567890";_cv 0.90 % 0.90 % 4
std::string_view e = "123456789012345678901234567890";_mean 0.745 ns 0.745 ns 4
std::string_view e = "123456789012345678901234567890";_median 0.743 ns 0.743 ns 4
std::string_view e = "123456789012345678901234567890";_stddev 0.009 ns 0.009 ns 4
std::string_view e = "123456789012345678901234567890";_cv 1.22 % 1.22 % 4
ssa e = "123456789012345678901234567890";_mean 0.782 ns 0.782 ns 4
ssa e = "123456789012345678901234567890";_median 0.773 ns 0.773 ns 4
ssa e = "123456789012345678901234567890";_stddev 0.038 ns 0.038 ns 4
ssa e = "123456789012345678901234567890";_cv 4.84 % 4.84 % 4
stringa e = "123456789012345678901234567890";_mean 1.14 ns 1.14 ns 4
stringa e = "123456789012345678901234567890";_median 1.13 ns 1.13 ns 4
stringa e = "123456789012345678901234567890";_stddev 0.038 ns 0.038 ns 4
stringa e = "123456789012345678901234567890";_cv 3.32 % 3.32 % 4
lstringa<20> e = "123456789012345678901234567890";_mean 20.0 ns 20.0 ns 4
lstringa<20> e = "123456789012345678901234567890";_median 19.9 ns 19.9 ns 4
lstringa<20> e = "123456789012345678901234567890";_stddev 0.345 ns 0.345 ns 4
lstringa<20> e = "123456789012345678901234567890";_cv 1.73 % 1.73 % 4
lstringa<40> e = "123456789012345678901234567890";_mean 1.92 ns 1.92 ns 4
lstringa<40> e = "123456789012345678901234567890";_median 1.89 ns 1.89 ns 4
lstringa<40> e = "123456789012345678901234567890";_stddev 0.108 ns 0.108 ns 4
lstringa<40> e = "123456789012345678901234567890";_cv 5.64 % 5.64 % 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.89 ns 4.89 ns 4
std::string e = "Test text"; auto c{e};_median 4.90 ns 4.90 ns 4
std::string e = "Test text"; auto c{e};_stddev 0.162 ns 0.162 ns 4
std::string e = "Test text"; auto c{e};_cv 3.31 % 3.31 % 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.373 ns 0.373 ns 4
std::string_view e = "Test text"; auto c{e};_stddev 0.016 ns 0.016 ns 4
std::string_view e = "Test text"; auto c{e};_cv 4.24 % 4.24 % 4
ssa e = "Test text"; auto c{e};_mean 0.368 ns 0.368 ns 4
ssa e = "Test text"; auto c{e};_median 0.369 ns 0.369 ns 4
ssa e = "Test text"; auto c{e};_stddev 0.005 ns 0.005 ns 4
ssa e = "Test text"; auto c{e};_cv 1.42 % 1.42 % 4
stringa e = "Test text"; auto c{e};_mean 1.32 ns 1.32 ns 4
stringa e = "Test text"; auto c{e};_median 1.32 ns 1.32 ns 4
stringa e = "Test text"; auto c{e};_stddev 0.040 ns 0.040 ns 4
stringa e = "Test text"; auto c{e};_cv 2.99 % 2.99 % 4
lstringa<20> e = "Test text"; auto c{e};_mean 4.43 ns 4.43 ns 4
lstringa<20> e = "Test text"; auto c{e};_median 4.44 ns 4.44 ns 4
lstringa<20> e = "Test text"; auto c{e};_stddev 0.071 ns 0.071 ns 4
lstringa<20> e = "Test text"; auto c{e};_cv 1.61 % 1.61 % 4
lstringa<40> e = "Test text"; auto c{e};_mean 4.57 ns 4.57 ns 4
lstringa<40> e = "Test text"; auto c{e};_median 4.55 ns 4.55 ns 4
lstringa<40> e = "Test text"; auto c{e};_stddev 0.152 ns 0.152 ns 4
lstringa<40> e = "Test text"; auto c{e};_cv 3.34 % 3.34 % 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 23.8 ns 23.8 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_median 23.9 ns 23.9 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.401 ns 0.401 ns 4
std::string e = "123456789012345678901234567890"; auto c{e};_cv 1.68 % 1.68 % 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.726 ns 0.726 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.722 ns 0.722 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.013 ns 0.013 ns 4
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.76 % 1.76 % 4
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.734 ns 0.734 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.735 ns 0.735 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.009 ns 0.009 ns 4
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.18 % 1.18 % 4
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.15 ns 1.15 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.12 ns 1.12 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.078 ns 0.078 ns 4
stringa e = "123456789012345678901234567890"; auto c{e};_cv 6.77 % 6.77 % 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 21.3 ns 21.3 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 21.2 ns 21.2 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.688 ns 0.688 ns 4
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 3.23 % 3.23 % 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 5.18 ns 5.18 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 5.08 ns 5.08 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.278 ns 0.278 ns 4
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 5.37 % 5.37 % 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.65 ns 6.65 ns 4
std::string::find;_median 6.65 ns 6.65 ns 4
std::string::find;_stddev 0.092 ns 0.092 ns 4
std::string::find;_cv 1.39 % 1.39 % 4
std::string_view::find;_mean 6.63 ns 6.63 ns 4
std::string_view::find;_median 6.64 ns 6.64 ns 4
std::string_view::find;_stddev 0.076 ns 0.076 ns 4
std::string_view::find;_cv 1.14 % 1.14 % 4
ssa::find;_mean 6.33 ns 6.33 ns 4
ssa::find;_median 6.31 ns 6.31 ns 4
ssa::find;_stddev 0.168 ns 0.168 ns 4
ssa::find;_cv 2.65 % 2.65 % 4
stringa::find;_mean 6.65 ns 6.65 ns 4
stringa::find;_median 6.65 ns 6.65 ns 4
stringa::find;_stddev 0.052 ns 0.052 ns 4
stringa::find;_cv 0.78 % 0.78 % 4
lstringa<20>::find;_mean 6.67 ns 6.67 ns 4
lstringa<20>::find;_median 6.41 ns 6.41 ns 4
lstringa<20>::find;_stddev 0.601 ns 0.601 ns 4
lstringa<20>::find;_cv 9.01 % 9.01 % 4
lstringa<40>::find;_mean 6.44 ns 6.44 ns 4
lstringa<40>::find;_median 6.39 ns 6.39 ns 4
lstringa<40>::find;_stddev 0.170 ns 0.170 ns 4
lstringa<40>::find;_cv 2.64 % 2.64 % 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.83 ns 4.83 ns 4
std::string copy{str_with_len_N};/15_median 4.82 ns 4.82 ns 4
std::string copy{str_with_len_N};/15_stddev 0.074 ns 0.074 ns 4
std::string copy{str_with_len_N};/15_cv 1.54 % 1.54 % 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.8 ns 23.8 ns 4
std::string copy{str_with_len_N};/16_stddev 0.626 ns 0.626 ns 4
std::string copy{str_with_len_N};/16_cv 2.65 % 2.65 % 4
std::string copy{str_with_len_N};/23_mean 26.3 ns 26.3 ns 4
std::string copy{str_with_len_N};/23_median 27.1 ns 27.1 ns 4
std::string copy{str_with_len_N};/23_stddev 2.75 ns 2.75 ns 4
std::string copy{str_with_len_N};/23_cv 10.46 % 10.46 % 4
std::string copy{str_with_len_N};/24_mean 25.2 ns 25.2 ns 4
std::string copy{str_with_len_N};/24_median 24.4 ns 24.4 ns 4
std::string copy{str_with_len_N};/24_stddev 2.74 ns 2.74 ns 4
std::string copy{str_with_len_N};/24_cv 10.89 % 10.89 % 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 22.9 ns 22.9 ns 4
std::string copy{str_with_len_N};/32_stddev 0.431 ns 0.431 ns 4
std::string copy{str_with_len_N};/32_cv 1.87 % 1.87 % 4
std::string copy{str_with_len_N};/64_mean 24.4 ns 24.4 ns 4
std::string copy{str_with_len_N};/64_median 23.2 ns 23.2 ns 4
std::string copy{str_with_len_N};/64_stddev 2.89 ns 2.89 ns 4
std::string copy{str_with_len_N};/64_cv 11.86 % 11.86 % 4
std::string copy{str_with_len_N};/128_mean 24.7 ns 24.7 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.278 ns 0.278 ns 4
std::string copy{str_with_len_N};/128_cv 1.13 % 1.13 % 4
std::string copy{str_with_len_N};/256_mean 25.5 ns 25.5 ns 4
std::string copy{str_with_len_N};/256_median 25.5 ns 25.5 ns 4
std::string copy{str_with_len_N};/256_stddev 0.525 ns 0.525 ns 4
std::string copy{str_with_len_N};/256_cv 2.06 % 2.06 % 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.182 ns 0.182 ns 4
std::string copy{str_with_len_N};/512_cv 0.63 % 0.63 % 4
std::string copy{str_with_len_N};/1024_mean 45.8 ns 45.8 ns 4
std::string copy{str_with_len_N};/1024_median 46.0 ns 46.0 ns 4
std::string copy{str_with_len_N};/1024_stddev 0.721 ns 0.721 ns 4
std::string copy{str_with_len_N};/1024_cv 1.57 % 1.57 % 4
std::string copy{str_with_len_N};/2048_mean 71.1 ns 71.1 ns 4
std::string copy{str_with_len_N};/2048_median 72.6 ns 72.6 ns 4
std::string copy{str_with_len_N};/2048_stddev 7.51 ns 7.51 ns 4
std::string copy{str_with_len_N};/2048_cv 10.57 % 10.57 % 4
std::string copy{str_with_len_N};/4096_mean 121 ns 121 ns 4
std::string copy{str_with_len_N};/4096_median 118 ns 118 ns 4
std::string copy{str_with_len_N};/4096_stddev 10.6 ns 10.6 ns 4
std::string copy{str_with_len_N};/4096_cv 8.71 % 8.71 % 4
stringa copy{str_with_len_N};/15_mean 1.30 ns 1.30 ns 4
stringa copy{str_with_len_N};/15_median 1.31 ns 1.31 ns 4
stringa copy{str_with_len_N};/15_stddev 0.031 ns 0.031 ns 4
stringa copy{str_with_len_N};/15_cv 2.39 % 2.39 % 4
stringa copy{str_with_len_N};/16_mean 1.29 ns 1.29 ns 4
stringa copy{str_with_len_N};/16_median 1.29 ns 1.29 ns 4
stringa copy{str_with_len_N};/16_stddev 0.010 ns 0.010 ns 4
stringa copy{str_with_len_N};/16_cv 0.81 % 0.81 % 4
stringa copy{str_with_len_N};/23_mean 1.28 ns 1.28 ns 4
stringa copy{str_with_len_N};/23_median 1.28 ns 1.28 ns 4
stringa copy{str_with_len_N};/23_stddev 0.006 ns 0.006 ns 4
stringa copy{str_with_len_N};/23_cv 0.47 % 0.46 % 4
stringa copy{str_with_len_N};/24_mean 15.9 ns 15.9 ns 4
stringa copy{str_with_len_N};/24_median 15.9 ns 15.9 ns 4
stringa copy{str_with_len_N};/24_stddev 0.091 ns 0.091 ns 4
stringa copy{str_with_len_N};/24_cv 0.57 % 0.57 % 4
stringa copy{str_with_len_N};/32_mean 16.1 ns 16.1 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.181 ns 0.181 ns 4
stringa copy{str_with_len_N};/32_cv 1.13 % 1.13 % 4
stringa copy{str_with_len_N};/64_mean 15.9 ns 15.9 ns 4
stringa copy{str_with_len_N};/64_median 15.9 ns 15.9 ns 4
stringa copy{str_with_len_N};/64_stddev 0.029 ns 0.029 ns 4
stringa copy{str_with_len_N};/64_cv 0.18 % 0.18 % 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.0 ns 16.0 ns 4
stringa copy{str_with_len_N};/128_stddev 0.076 ns 0.076 ns 4
stringa copy{str_with_len_N};/128_cv 0.47 % 0.47 % 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.162 ns 0.162 ns 4
stringa copy{str_with_len_N};/256_cv 1.01 % 1.01 % 4
stringa copy{str_with_len_N};/512_mean 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/512_median 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/512_stddev 0.145 ns 0.145 ns 4
stringa copy{str_with_len_N};/512_cv 0.90 % 0.90 % 4
stringa copy{str_with_len_N};/1024_mean 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/1024_median 16.1 ns 16.1 ns 4
stringa copy{str_with_len_N};/1024_stddev 0.220 ns 0.220 ns 4
stringa copy{str_with_len_N};/1024_cv 1.36 % 1.36 % 4
stringa copy{str_with_len_N};/2048_mean 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/2048_median 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/2048_stddev 0.240 ns 0.240 ns 4
stringa copy{str_with_len_N};/2048_cv 1.48 % 1.48 % 4
stringa copy{str_with_len_N};/4096_mean 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/4096_median 16.2 ns 16.2 ns 4
stringa copy{str_with_len_N};/4096_stddev 0.155 ns 0.155 ns 4
stringa copy{str_with_len_N};/4096_cv 0.96 % 0.96 % 4
lstringa<16> copy{str_with_len_N};/15_mean 4.43 ns 4.43 ns 4
lstringa<16> copy{str_with_len_N};/15_median 4.39 ns 4.39 ns 4
lstringa<16> copy{str_with_len_N};/15_stddev 0.123 ns 0.123 ns 4
lstringa<16> copy{str_with_len_N};/15_cv 2.77 % 2.77 % 4
lstringa<16> copy{str_with_len_N};/16_mean 4.88 ns 4.88 ns 4
lstringa<16> copy{str_with_len_N};/16_median 4.92 ns 4.92 ns 4
lstringa<16> copy{str_with_len_N};/16_stddev 0.323 ns 0.323 ns 4
lstringa<16> copy{str_with_len_N};/16_cv 6.62 % 6.62 % 4
lstringa<16> copy{str_with_len_N};/23_mean 5.22 ns 5.22 ns 4
lstringa<16> copy{str_with_len_N};/23_median 5.19 ns 5.19 ns 4
lstringa<16> copy{str_with_len_N};/23_stddev 0.863 ns 0.863 ns 4
lstringa<16> copy{str_with_len_N};/23_cv 16.53 % 16.53 % 4
lstringa<16> copy{str_with_len_N};/24_mean 24.4 ns 24.4 ns 4
lstringa<16> copy{str_with_len_N};/24_median 24.4 ns 24.4 ns 4
lstringa<16> copy{str_with_len_N};/24_stddev 0.440 ns 0.440 ns 4
lstringa<16> copy{str_with_len_N};/24_cv 1.81 % 1.81 % 4
lstringa<16> copy{str_with_len_N};/32_mean 24.1 ns 24.1 ns 4
lstringa<16> copy{str_with_len_N};/32_median 23.7 ns 23.7 ns 4
lstringa<16> copy{str_with_len_N};/32_stddev 1.38 ns 1.38 ns 4
lstringa<16> copy{str_with_len_N};/32_cv 5.71 % 5.71 % 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.2 ns 25.2 ns 4
lstringa<16> copy{str_with_len_N};/64_stddev 0.678 ns 0.678 ns 4
lstringa<16> copy{str_with_len_N};/64_cv 2.67 % 2.67 % 4
lstringa<16> copy{str_with_len_N};/128_mean 25.6 ns 25.6 ns 4
lstringa<16> copy{str_with_len_N};/128_median 25.8 ns 25.8 ns 4
lstringa<16> copy{str_with_len_N};/128_stddev 0.675 ns 0.675 ns 4
lstringa<16> copy{str_with_len_N};/128_cv 2.64 % 2.64 % 4
lstringa<16> copy{str_with_len_N};/256_mean 29.7 ns 29.7 ns 4
lstringa<16> copy{str_with_len_N};/256_median 29.8 ns 29.8 ns 4
lstringa<16> copy{str_with_len_N};/256_stddev 1.45 ns 1.45 ns 4
lstringa<16> copy{str_with_len_N};/256_cv 4.89 % 4.89 % 4
lstringa<16> copy{str_with_len_N};/512_mean 34.0 ns 34.0 ns 4
lstringa<16> copy{str_with_len_N};/512_median 32.6 ns 32.6 ns 4
lstringa<16> copy{str_with_len_N};/512_stddev 4.46 ns 4.46 ns 4
lstringa<16> copy{str_with_len_N};/512_cv 13.11 % 13.11 % 4
lstringa<16> copy{str_with_len_N};/1024_mean 53.7 ns 53.7 ns 4
lstringa<16> copy{str_with_len_N};/1024_median 53.9 ns 53.9 ns 4
lstringa<16> copy{str_with_len_N};/1024_stddev 0.505 ns 0.505 ns 4
lstringa<16> copy{str_with_len_N};/1024_cv 0.94 % 0.94 % 4
lstringa<16> copy{str_with_len_N};/2048_mean 66.7 ns 66.7 ns 4
lstringa<16> copy{str_with_len_N};/2048_median 67.0 ns 67.0 ns 4
lstringa<16> copy{str_with_len_N};/2048_stddev 4.26 ns 4.26 ns 4
lstringa<16> copy{str_with_len_N};/2048_cv 6.40 % 6.40 % 4
lstringa<16> copy{str_with_len_N};/4096_mean 88.0 ns 88.0 ns 4
lstringa<16> copy{str_with_len_N};/4096_median 87.0 ns 87.0 ns 4
lstringa<16> copy{str_with_len_N};/4096_stddev 2.20 ns 2.20 ns 4
lstringa<16> copy{str_with_len_N};/4096_cv 2.49 % 2.49 % 4
lstringa<512> copy{str_with_len_N};/15_mean 5.14 ns 5.14 ns 4
lstringa<512> copy{str_with_len_N};/15_median 5.12 ns 5.12 ns 4
lstringa<512> copy{str_with_len_N};/15_stddev 0.076 ns 0.076 ns 4
lstringa<512> copy{str_with_len_N};/15_cv 1.49 % 1.49 % 4
lstringa<512> copy{str_with_len_N};/16_mean 5.18 ns 5.18 ns 4
lstringa<512> copy{str_with_len_N};/16_median 5.16 ns 5.16 ns 4
lstringa<512> copy{str_with_len_N};/16_stddev 0.062 ns 0.062 ns 4
lstringa<512> copy{str_with_len_N};/16_cv 1.20 % 1.20 % 4
lstringa<512> copy{str_with_len_N};/23_mean 5.43 ns 5.43 ns 4
lstringa<512> copy{str_with_len_N};/23_median 5.40 ns 5.40 ns 4
lstringa<512> copy{str_with_len_N};/23_stddev 0.292 ns 0.292 ns 4
lstringa<512> copy{str_with_len_N};/23_cv 5.39 % 5.39 % 4
lstringa<512> copy{str_with_len_N};/24_mean 5.23 ns 5.23 ns 4
lstringa<512> copy{str_with_len_N};/24_median 5.24 ns 5.24 ns 4
lstringa<512> copy{str_with_len_N};/24_stddev 0.059 ns 0.059 ns 4
lstringa<512> copy{str_with_len_N};/24_cv 1.13 % 1.13 % 4
lstringa<512> copy{str_with_len_N};/32_mean 4.77 ns 4.77 ns 4
lstringa<512> copy{str_with_len_N};/32_median 4.77 ns 4.77 ns 4
lstringa<512> copy{str_with_len_N};/32_stddev 0.123 ns 0.123 ns 4
lstringa<512> copy{str_with_len_N};/32_cv 2.58 % 2.58 % 4
lstringa<512> copy{str_with_len_N};/64_mean 6.29 ns 6.29 ns 4
lstringa<512> copy{str_with_len_N};/64_median 6.29 ns 6.29 ns 4
lstringa<512> copy{str_with_len_N};/64_stddev 0.127 ns 0.127 ns 4
lstringa<512> copy{str_with_len_N};/64_cv 2.03 % 2.03 % 4
lstringa<512> copy{str_with_len_N};/128_mean 7.26 ns 7.26 ns 4
lstringa<512> copy{str_with_len_N};/128_median 7.29 ns 7.29 ns 4
lstringa<512> copy{str_with_len_N};/128_stddev 0.310 ns 0.310 ns 4
lstringa<512> copy{str_with_len_N};/128_cv 4.27 % 4.27 % 4
lstringa<512> copy{str_with_len_N};/256_mean 7.80 ns 7.80 ns 4
lstringa<512> copy{str_with_len_N};/256_median 7.84 ns 7.84 ns 4
lstringa<512> copy{str_with_len_N};/256_stddev 0.214 ns 0.214 ns 4
lstringa<512> copy{str_with_len_N};/256_cv 2.74 % 2.74 % 4
lstringa<512> copy{str_with_len_N};/512_mean 10.4 ns 10.4 ns 4
lstringa<512> copy{str_with_len_N};/512_median 10.4 ns 10.4 ns 4
lstringa<512> copy{str_with_len_N};/512_stddev 0.172 ns 0.172 ns 4
lstringa<512> copy{str_with_len_N};/512_cv 1.65 % 1.65 % 4
lstringa<512> copy{str_with_len_N};/1024_mean 54.1 ns 54.1 ns 4
lstringa<512> copy{str_with_len_N};/1024_median 54.2 ns 54.2 ns 4
lstringa<512> copy{str_with_len_N};/1024_stddev 1.32 ns 1.32 ns 4
lstringa<512> copy{str_with_len_N};/1024_cv 2.43 % 2.43 % 4
lstringa<512> copy{str_with_len_N};/2048_mean 66.6 ns 66.6 ns 4
lstringa<512> copy{str_with_len_N};/2048_median 63.3 ns 63.3 ns 4
lstringa<512> copy{str_with_len_N};/2048_stddev 7.31 ns 7.31 ns 4
lstringa<512> copy{str_with_len_N};/2048_cv 10.97 % 10.97 % 4
lstringa<512> copy{str_with_len_N};/4096_mean 85.3 ns 85.3 ns 4
lstringa<512> copy{str_with_len_N};/4096_median 84.7 ns 84.7 ns 4
lstringa<512> copy{str_with_len_N};/4096_stddev 2.25 ns 2.25 ns 4
lstringa<512> copy{str_with_len_N};/4096_cv 2.64 % 2.64 % 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.8 ns 26.8 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 27.0 ns 27.0 ns 4
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.606 ns 0.606 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 11.3 ns 11.3 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 11.2 ns 11.2 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.252 ns 0.252 ns 4
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 2.23 % 2.23 % 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.07 ns 8.07 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 8.07 ns 8.07 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.095 ns 0.095 ns 4
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.18 % 1.18 % 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.02 ns 8.02 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 7.99 ns 7.99 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.170 ns 0.170 ns 4
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.12 % 2.12 % 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.16 ns 8.16 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 8.05 ns 8.05 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.387 ns 0.387 ns 4
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 4.75 % 4.75 % 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.5 ns 23.5 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 23.4 ns 23.4 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.447 ns 0.447 ns 4
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.90 % 1.90 % 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 10.0 ns 10.0 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 10.1 ns 10.1 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.250 ns 0.250 ns 4
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 2.49 % 2.49 % 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.15 ns 8.15 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.10 ns 8.10 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.298 ns 0.298 ns 4
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.66 % 3.66 % 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.03 ns 8.03 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.07 ns 8.07 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.111 ns 0.111 ns 4
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.39 % 1.39 % 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.86 ns 7.86 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.82 ns 7.82 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.292 ns 0.292 ns 4
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.71 % 3.71 % 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.2 ns 28.2 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 27.6 ns 27.6 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 1.34 ns 1.34 ns 4
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 4.77 % 4.77 % 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 15.3 ns 15.3 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 15.3 ns 15.3 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.607 ns 0.607 ns 4
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 3.96 % 3.96 % 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 13.7 ns 13.7 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 13.8 ns 13.8 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.253 ns 0.253 ns 4
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.85 % 1.85 % 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 67.9 ns 67.9 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 67.5 ns 67.5 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 3.99 ns 3.99 ns 4
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 5.88 % 5.88 % 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 26.1 ns 26.1 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 25.4 ns 25.4 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 2.88 ns 2.88 ns 4
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 11.04 % 11.04 % 4
ssa s = "1234.567e10"; double res = *s.to_double()_mean 24.9 ns 24.9 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_median 25.0 ns 25.0 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.363 ns 0.363 ns 4
ssa s = "1234.567e10"; double res = *s.to_double()_cv 1.46 % 1.46 % 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 1400 ns 1400 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_median 1400 ns 1400 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 38.7 ns 38.7 ns 4
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 2.76 % 2.76 % 4
std::string str; ... str += "abbaabbaabbaabba";_mean 339 ns 339 ns 4
std::string str; ... str += "abbaabbaabbaabba";_median 340 ns 340 ns 4
std::string str; ... str += "abbaabbaabbaabba";_stddev 7.76 ns 7.76 ns 4
std::string str; ... str += "abbaabbaabbaabba";_cv 2.29 % 2.29 % 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 357 ns 357 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 360 ns 360 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 9.38 ns 9.38 ns 4
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 2.63 % 2.63 % 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 238 ns 238 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 237 ns 237 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 3.94 ns 3.94 ns 4
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 1.66 % 1.66 % 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 211 ns 211 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 205 ns 205 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 14.0 ns 14.0 ns 4
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 6.65 % 6.65 % 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 141 ns 141 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 141 ns 141 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 2.69 ns 2.69 ns 4
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 1.91 % 1.91 % 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 1387 ns 1387 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 1390 ns 1390 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 35.2 ns 35.2 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 2.54 % 2.54 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1230 ns 1230 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1230 ns 1230 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 42.2 ns 42.2 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 3.43 % 3.43 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 388 ns 388 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 385 ns 385 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 11.0 ns 11.0 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.84 % 2.84 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 348 ns 348 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 342 ns 342 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 13.6 ns 13.6 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.91 % 3.91 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 303 ns 303 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 303 ns 303 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 14.6 ns 14.6 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.81 % 4.81 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 250 ns 250 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 252 ns 252 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 6.07 ns 6.07 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.42 % 2.42 % 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 110614 ns 110615 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 110190 ns 110191 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 2152 ns 2152 ns 4
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.95 % 1.95 % 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 72502 ns 72502 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 73060 ns 73060 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1314 ns 1314 ns 4
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.81 % 1.81 % 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 42661 ns 42661 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 42668 ns 42668 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 789 ns 789 ns 4
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.85 % 1.85 % 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 24880 ns 24880 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 24398 ns 24398 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1695 ns 1695 ns 4
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 6.81 % 6.81 % 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18255 ns 18255 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17111 ns 17111 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 2640 ns 2640 ns 4
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 14.46 % 14.46 % 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19723 ns 19723 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 20313 ns 20313 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 2091 ns 2091 ns 4
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 10.60 % 10.60 % 4
-- Append 2 string of 16 bytes 32 times, 1024 total length --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; ... str << str_var1 << str_var2;_mean 1684 ns 1684 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_median 1714 ns 1714 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_stddev 139 ns 139 ns 4
std::stringstream str; ... str << str_var1 << str_var2;_cv 8.28 % 8.28 % 4
std::string str; ... str += str_var1 + str_var2;_mean 1517 ns 1517 ns 4
std::string str; ... str += str_var1 + str_var2;_median 1498 ns 1498 ns 4
std::string str; ... str += str_var1 + str_var2;_stddev 61.2 ns 61.2 ns 4
std::string str; ... str += str_var1 + str_var2;_cv 4.04 % 4.04 % 4
lstringa<16> str; ... str += str_var1 + str_var2;_mean 500 ns 500 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_median 477 ns 477 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 50.9 ns 50.9 ns 4
lstringa<16> str; ... str += str_var1 + str_var2;_cv 10.17 % 10.17 % 4
lstringa<128> str; ... str += str_var1 + str_var2;_mean 421 ns 421 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_median 421 ns 421 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 22.9 ns 22.9 ns 4
lstringa<128> str; ... str += str_var1 + str_var2;_cv 5.45 % 5.45 % 4
lstringa<512> str; ... str += str_var1 + str_var2;_mean 373 ns 373 ns 4
lstringa<512> str; ... str += str_var1 + str_var2;_median 368 ns 368 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.33 % 3.33 % 4
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 305 ns 305 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_median 305 ns 305 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 3.45 ns 3.45 ns 4
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 1.13 % 1.13 % 4
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 3201 ns 3201 ns 4
std::stringstream str; str << "test = " << k << " times";_median 3192 ns 3192 ns 4
std::stringstream str; str << "test = " << k << " times";_stddev 107 ns 107 ns 4
std::stringstream str; str << "test = " << k << " times";_cv 3.34 % 3.34 % 4
std::string str = "test = " + std::to_string(k) + " times";_mean 440 ns 440 ns 4
std::string str = "test = " + std::to_string(k) + " times";_median 442 ns 442 ns 4
std::string str = "test = " + std::to_string(k) + " times";_stddev 8.66 ns 8.66 ns 4
std::string str = "test = " + std::to_string(k) + " times";_cv 1.97 % 1.97 % 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 1483 ns 1483 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 1486 ns 1486 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 9.75 ns 9.75 ns 4
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 0.66 % 0.66 % 4
std::string str = std::format("test = {} times", k);_mean 1356 ns 1356 ns 4
std::string str = std::format("test = {} times", k);_median 1345 ns 1345 ns 4
std::string str = std::format("test = {} times", k);_stddev 39.9 ns 39.9 ns 4
std::string str = std::format("test = {} times", k);_cv 2.94 % 2.94 % 4
lstringa<8> str; str.format("test = {} times", k);_mean 1740 ns 1740 ns 4
lstringa<8> str; str.format("test = {} times", k);_median 1748 ns 1748 ns 4
lstringa<8> str; str.format("test = {} times", k);_stddev 49.6 ns 49.6 ns 4
lstringa<8> str; str.format("test = {} times", k);_cv 2.85 % 2.85 % 4
lstringa<32> str; str.format("test = {} times", k);_mean 1116 ns 1116 ns 4
lstringa<32> str; str.format("test = {} times", k);_median 1116 ns 1116 ns 4
lstringa<32> str; str.format("test = {} times", k);_stddev 9.91 ns 9.91 ns 4
lstringa<32> str; str.format("test = {} times", k);_cv 0.89 % 0.89 % 4
lstringa<8> str = "test = " + k + " times";_mean 304 ns 304 ns 4
lstringa<8> str = "test = " + k + " times";_median 304 ns 304 ns 4
lstringa<8> str = "test = " + k + " times";_stddev 5.92 ns 5.92 ns 4
lstringa<8> str = "test = " + k + " times";_cv 1.95 % 1.95 % 4
lstringa<32> str = "test = " + k + " times";_mean 148 ns 148 ns 4
lstringa<32> str = "test = " + k + " times";_median 147 ns 147 ns 4
lstringa<32> str = "test = " + k + " times";_stddev 2.68 ns 2.68 ns 4
lstringa<32> str = "test = " + k + " times";_cv 1.81 % 1.81 % 4
stringa str = "test = " + k + " times";_mean 167 ns 167 ns 4
stringa str = "test = " + k + " times";_median 165 ns 165 ns 4
stringa str = "test = " + k + " times";_stddev 7.60 ns 7.60 ns 4
stringa str = "test = " + k + " times";_cv 4.56 % 4.56 % 4
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 280 ns 280 ns 4
std::string::find + substr + std::strtol_median 280 ns 280 ns 4
std::string::find + substr + std::strtol_stddev 5.77 ns 5.77 ns 4
std::string::find + substr + std::strtol_cv 2.06 % 2.06 % 4
ssa::splitter + ssa::as_int_mean 129 ns 129 ns 4
ssa::splitter + ssa::as_int_median 129 ns 129 ns 4
ssa::splitter + ssa::as_int_stddev 3.01 ns 3.01 ns 4
ssa::splitter + ssa::as_int_cv 2.33 % 2.33 % 4
ssa::splitf + functor_mean 128 ns 128 ns 4
ssa::splitf + functor_median 128 ns 128 ns 4
ssa::splitf + functor_stddev 1.92 ns 1.92 ns 4
ssa::splitf + functor_cv 1.50 % 1.50 % 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 838 ns 838 ns 4
Naive (and wrong) replace symbols with std::string find + replace_median 835 ns 835 ns 4
Naive (and wrong) replace symbols with std::string find + replace_stddev 7.50 ns 7.50 ns 4
Naive (and wrong) replace symbols with std::string find + replace_cv 0.89 % 0.89 % 4
replace symbols with std::string find_first_of + replace_mean 2528 ns 2528 ns 4
replace symbols with std::string find_first_of + replace_median 2485 ns 2485 ns 4
replace symbols with std::string find_first_of + replace_stddev 126 ns 126 ns 4
replace symbols with std::string find_first_of + replace_cv 4.97 % 4.97 % 4
replace symbols with std::string_view find_first_of + copy_mean 1218 ns 1218 ns 4
replace symbols with std::string_view find_first_of + copy_median 1225 ns 1225 ns 4
replace symbols with std::string_view find_first_of + copy_stddev 46.1 ns 46.1 ns 4
replace symbols with std::string_view find_first_of + copy_cv 3.78 % 3.78 % 4
replace runtime symbols with string expressions and without remembering all search results_mean 1686 ns 1686 ns 4
replace runtime symbols with string expressions and without remembering all search results_median 1624 ns 1624 ns 4
replace runtime symbols with string expressions and without remembering all search results_stddev 148 ns 148 ns 4
replace runtime symbols with string expressions and without remembering all search results_cv 8.79 % 8.79 % 4
replace runtime symbols with simstr and memorization of all search results_mean 1067 ns 1067 ns 4
replace runtime symbols with simstr and memorization of all search results_median 1068 ns 1068 ns 4
replace runtime symbols with simstr and memorization of all search results_stddev 21.5 ns 21.5 ns 4
replace runtime symbols with simstr and memorization of all search results_cv 2.01 % 2.01 % 4
replace const symbols with string expressions and without remembering all search results_mean 1276 ns 1276 ns 4
replace const symbols with string expressions and without remembering all search results_median 1233 ns 1233 ns 4
replace const symbols with string expressions and without remembering all search results_stddev 114 ns 114 ns 4
replace const symbols with string expressions and without remembering all search results_cv 8.92 % 8.92 % 4
replace const symbols with string expressions and memorization of all search results_mean 875 ns 875 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 23.8 ns 23.8 ns 4
replace const symbols with string expressions and memorization of all search results_cv 2.71 % 2.71 % 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 189 ns 189 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_median 190 ns 190 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 4.78 ns 4.78 ns 4
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.53 % 2.53 % 4
Short replace symbols with std::string find_first_of + replace_mean 351 ns 351 ns 4
Short replace symbols with std::string find_first_of + replace_median 354 ns 354 ns 4
Short replace symbols with std::string find_first_of + replace_stddev 7.55 ns 7.55 ns 4
Short replace symbols with std::string find_first_of + replace_cv 2.15 % 2.15 % 4
Short replace symbols with std::string_view find_first_of + copy_mean 204 ns 204 ns 4
Short replace symbols with std::string_view find_first_of + copy_median 204 ns 204 ns 4
Short replace symbols with std::string_view find_first_of + copy_stddev 2.22 ns 2.22 ns 4
Short replace symbols with std::string_view find_first_of + copy_cv 1.09 % 1.09 % 4
Short replace runtime symbols with string expressions and without remembering all search results_mean 208 ns 208 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_median 206 ns 206 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_stddev 7.59 ns 7.59 ns 4
Short replace runtime symbols with string expressions and without remembering all search results_cv 3.65 % 3.65 % 4
Short replace runtime symbols with simstr and memorization of all search results_mean 262 ns 262 ns 4
Short replace runtime symbols with simstr and memorization of all search results_median 263 ns 263 ns 4
Short replace runtime symbols with simstr and memorization of all search results_stddev 22.6 ns 22.6 ns 4
Short replace runtime symbols with simstr and memorization of all search results_cv 8.63 % 8.63 % 4
Short replace const symbols with string expressions and without remembering all search results_mean 194 ns 194 ns 4
Short replace const symbols with string expressions and without remembering all search results_median 195 ns 195 ns 4
Short replace const symbols with string expressions and without remembering all search results_stddev 14.2 ns 14.2 ns 4
Short replace const symbols with string expressions and without remembering all search results_cv 7.31 % 7.31 % 4
Short replace const symbols with string expressions and memorization of all search results_mean 176 ns 176 ns 4
Short replace const symbols with string expressions and memorization of all search results_median 176 ns 176 ns 4
Short replace const symbols with string expressions and memorization of all search results_stddev 3.86 ns 3.86 ns 4
Short replace const symbols with string expressions and memorization of all search results_cv 2.19 % 2.19 % 4
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 259 ns 259 ns 4
replace bb to ---- in std::string|64_median 257 ns 257 ns 4
replace bb to ---- in std::string|64_stddev 3.73 ns 3.73 ns 4
replace bb to ---- in std::string|64_cv 1.44 % 1.44 % 4
replace bb to ---- in std::string|256_mean 861 ns 861 ns 4
replace bb to ---- in std::string|256_median 859 ns 859 ns 4
replace bb to ---- in std::string|256_stddev 13.8 ns 13.8 ns 4
replace bb to ---- in std::string|256_cv 1.60 % 1.60 % 4
replace bb to ---- in std::string|512_mean 1615 ns 1615 ns 4
replace bb to ---- in std::string|512_median 1610 ns 1610 ns 4
replace bb to ---- in std::string|512_stddev 33.2 ns 33.2 ns 4
replace bb to ---- in std::string|512_cv 2.06 % 2.06 % 4
replace bb to ---- in std::string|1024_mean 3426 ns 3426 ns 4
replace bb to ---- in std::string|1024_median 3441 ns 3441 ns 4
replace bb to ---- in std::string|1024_stddev 49.4 ns 49.4 ns 4
replace bb to ---- in std::string|1024_cv 1.44 % 1.44 % 4
replace bb to ---- in std::string|2048_mean 8466 ns 8466 ns 4
replace bb to ---- in std::string|2048_median 8611 ns 8611 ns 4
replace bb to ---- in std::string|2048_stddev 419 ns 419 ns 4
replace bb to ---- in std::string|2048_cv 4.94 % 4.94 % 4
replace bb to ---- in lstringa<8>|64_mean 204 ns 204 ns 4
replace bb to ---- in lstringa<8>|64_median 206 ns 206 ns 4
replace bb to ---- in lstringa<8>|64_stddev 4.78 ns 4.78 ns 4
replace bb to ---- in lstringa<8>|64_cv 2.34 % 2.34 % 4
replace bb to ---- in lstringa<8>|256_mean 556 ns 556 ns 4
replace bb to ---- in lstringa<8>|256_median 555 ns 555 ns 4
replace bb to ---- in lstringa<8>|256_stddev 21.2 ns 21.2 ns 4
replace bb to ---- in lstringa<8>|256_cv 3.82 % 3.82 % 4
replace bb to ---- in lstringa<8>|512_mean 970 ns 970 ns 4
replace bb to ---- in lstringa<8>|512_median 970 ns 970 ns 4
replace bb to ---- in lstringa<8>|512_stddev 24.8 ns 24.8 ns 4
replace bb to ---- in lstringa<8>|512_cv 2.56 % 2.56 % 4
replace bb to ---- in lstringa<8>|1024_mean 1985 ns 1985 ns 4
replace bb to ---- in lstringa<8>|1024_median 1963 ns 1963 ns 4
replace bb to ---- in lstringa<8>|1024_stddev 186 ns 186 ns 4
replace bb to ---- in lstringa<8>|1024_cv 9.38 % 9.38 % 4
replace bb to ---- in lstringa<8>|2048_mean 3912 ns 3912 ns 4
replace bb to ---- in lstringa<8>|2048_median 3979 ns 3979 ns 4
replace bb to ---- in lstringa<8>|2048_stddev 334 ns 334 ns 4
replace bb to ---- in lstringa<8>|2048_cv 8.53 % 8.53 % 4
replace bb to ---- by init stringa|64_mean 119 ns 119 ns 4
replace bb to ---- by init stringa|64_median 119 ns 119 ns 4
replace bb to ---- by init stringa|64_stddev 2.17 ns 2.17 ns 4
replace bb to ---- by init stringa|64_cv 1.82 % 1.82 % 4
replace bb to ---- by init stringa|256_mean 335 ns 335 ns 4
replace bb to ---- by init stringa|256_median 331 ns 331 ns 4
replace bb to ---- by init stringa|256_stddev 14.8 ns 14.8 ns 4
replace bb to ---- by init stringa|256_cv 4.43 % 4.43 % 4
replace bb to ---- by init stringa|512_mean 761 ns 761 ns 4
replace bb to ---- by init stringa|512_median 764 ns 764 ns 4
replace bb to ---- by init stringa|512_stddev 9.46 ns 9.46 ns 4
replace bb to ---- by init stringa|512_cv 1.24 % 1.24 % 4
replace bb to ---- by init stringa|1024_mean 1682 ns 1682 ns 4
replace bb to ---- by init stringa|1024_median 1658 ns 1658 ns 4
replace bb to ---- by init stringa|1024_stddev 77.3 ns 77.3 ns 4
replace bb to ---- by init stringa|1024_cv 4.60 % 4.60 % 4
replace bb to ---- by init stringa|2048_mean 3300 ns 3300 ns 4
replace bb to ---- by init stringa|2048_median 3308 ns 3308 ns 4
replace bb to ---- by init stringa|2048_stddev 42.3 ns 42.3 ns 4
replace bb to ---- by init stringa|2048_cv 1.28 % 1.28 % 4
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 199 ns 199 ns 4
replace bb to -- in std::string|64_median 200 ns 200 ns 4
replace bb to -- in std::string|64_stddev 4.68 ns 4.68 ns 4
replace bb to -- in std::string|64_cv 2.35 % 2.35 % 4
replace bb to -- in std::string|256_mean 635 ns 635 ns 4
replace bb to -- in std::string|256_median 628 ns 628 ns 4
replace bb to -- in std::string|256_stddev 17.5 ns 17.5 ns 4
replace bb to -- in std::string|256_cv 2.76 % 2.76 % 4
replace bb to -- in std::string|512_mean 1408 ns 1408 ns 4
replace bb to -- in std::string|512_median 1403 ns 1403 ns 4
replace bb to -- in std::string|512_stddev 87.1 ns 87.1 ns 4
replace bb to -- in std::string|512_cv 6.19 % 6.19 % 4
replace bb to -- in std::string|1024_mean 2878 ns 2878 ns 4
replace bb to -- in std::string|1024_median 2843 ns 2843 ns 4
replace bb to -- in std::string|1024_stddev 284 ns 284 ns 4
replace bb to -- in std::string|1024_cv 9.87 % 9.87 % 4
replace bb to -- in std::string|2048_mean 4530 ns 4530 ns 4
replace bb to -- in std::string|2048_median 4518 ns 4518 ns 4
replace bb to -- in std::string|2048_stddev 230 ns 230 ns 4
replace bb to -- in std::string|2048_cv 5.07 % 5.07 % 4
replace bb to -- in lstringa<8>|64_mean 137 ns 137 ns 4
replace bb to -- in lstringa<8>|64_median 137 ns 137 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 1.86 % 1.86 % 4
replace bb to -- in lstringa<8>|256_mean 347 ns 347 ns 4
replace bb to -- in lstringa<8>|256_median 345 ns 345 ns 4
replace bb to -- in lstringa<8>|256_stddev 9.86 ns 9.86 ns 4
replace bb to -- in lstringa<8>|256_cv 2.84 % 2.84 % 4
replace bb to -- in lstringa<8>|512_mean 569 ns 569 ns 4
replace bb to -- in lstringa<8>|512_median 568 ns 568 ns 4
replace bb to -- in lstringa<8>|512_stddev 9.56 ns 9.56 ns 4
replace bb to -- in lstringa<8>|512_cv 1.68 % 1.68 % 4
replace bb to -- in lstringa<8>|1024_mean 1085 ns 1085 ns 4
replace bb to -- in lstringa<8>|1024_median 1069 ns 1069 ns 4
replace bb to -- in lstringa<8>|1024_stddev 47.7 ns 47.7 ns 4
replace bb to -- in lstringa<8>|1024_cv 4.40 % 4.40 % 4
replace bb to -- in lstringa<8>|2048_mean 2030 ns 2030 ns 4
replace bb to -- in lstringa<8>|2048_median 2025 ns 2025 ns 4
replace bb to -- in lstringa<8>|2048_stddev 50.8 ns 50.8 ns 4
replace bb to -- in lstringa<8>|2048_cv 2.50 % 2.50 % 4
replace bb to -- by init stringa|64_mean 107 ns 107 ns 4
replace bb to -- by init stringa|64_median 107 ns 107 ns 4
replace bb to -- by init stringa|64_stddev 0.854 ns 0.854 ns 4
replace bb to -- by init stringa|64_cv 0.80 % 0.80 % 4
replace bb to -- by init stringa|256_mean 289 ns 289 ns 4
replace bb to -- by init stringa|256_median 288 ns 288 ns 4
replace bb to -- by init stringa|256_stddev 7.41 ns 7.41 ns 4
replace bb to -- by init stringa|256_cv 2.57 % 2.57 % 4
replace bb to -- by init stringa|512_mean 523 ns 523 ns 4
replace bb to -- by init stringa|512_median 518 ns 518 ns 4
replace bb to -- by init stringa|512_stddev 16.4 ns 16.4 ns 4
replace bb to -- by init stringa|512_cv 3.13 % 3.13 % 4
replace bb to -- by init stringa|1024_mean 1033 ns 1033 ns 4
replace bb to -- by init stringa|1024_median 1016 ns 1016 ns 4
replace bb to -- by init stringa|1024_stddev 39.1 ns 39.1 ns 4
replace bb to -- by init stringa|1024_cv 3.79 % 3.79 % 4
replace bb to -- by init stringa|2048_mean 1962 ns 1962 ns 4
replace bb to -- by init stringa|2048_median 1904 ns 1904 ns 4
replace bb to -- by init stringa|2048_stddev 118 ns 118 ns 4
replace bb to -- by init stringa|2048_cv 6.02 % 6.02 % 4
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3722252 ns 3722266 ns 4
hashStrMapA<size_t> emplace & find stringa;_median 3715967 ns 3715981 ns 4
hashStrMapA<size_t> emplace & find stringa;_stddev 73617 ns 73617 ns 4
hashStrMapA<size_t> emplace & find stringa;_cv 1.98 % 1.98 % 4
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3459756 ns 3459769 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3450948 ns 3450961 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 48808 ns 48805 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 1.41 % 1.41 % 4
hashStrMapA<size_t> emplace & find ssa;_mean 3732175 ns 3732184 ns 4
hashStrMapA<size_t> emplace & find ssa;_median 3724329 ns 3724337 ns 4
hashStrMapA<size_t> emplace & find ssa;_stddev 33009 ns 33011 ns 4
hashStrMapA<size_t> emplace & find ssa;_cv 0.88 % 0.88 % 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 4165106 ns 4165116 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 4053998 ns 4054006 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 289772 ns 289775 ns 4
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 6.96 % 6.96 % 4
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 1064 ns 1064 ns 4
Build func full name std::string;_median 1061 ns 1061 ns 4
Build func full name std::string;_stddev 12.6 ns 12.6 ns 4
Build func full name std::string;_cv 1.18 % 1.18 % 4
Build func full name std::string 1;_mean 1133 ns 1133 ns 4
Build func full name std::string 1;_median 1137 ns 1137 ns 4
Build func full name std::string 1;_stddev 35.9 ns 35.9 ns 4
Build func full name std::string 1;_cv 3.17 % 3.17 % 4
Build func full name std::stream;_mean 2789 ns 2789 ns 4
Build func full name std::stream;_median 2800 ns 2800 ns 4
Build func full name std::stream;_stddev 141 ns 141 ns 4
Build func full name std::stream;_cv 5.05 % 5.05 % 4
Build func full name stringa;_mean 575 ns 575 ns 4
Build func full name stringa;_median 574 ns 574 ns 4
Build func full name stringa;_stddev 15.4 ns 15.4 ns 4
Build func full name stringa;_cv 2.68 % 2.68 % 4
Build func full name stringa 1;_mean 897 ns 897 ns 4
Build func full name stringa 1;_median 896 ns 896 ns 4
Build func full name stringa 1;_stddev 13.8 ns 13.8 ns 4
Build func full name stringa 1;_cv 1.54 % 1.54 % 4