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

879 lines
130 KiB
Plaintext

2026-01-21T07:11:34+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 207 ns 207 ns 10
Concat std::string and number by std to std::string_median 205 ns 205 ns 10
Concat std::string and number by std to std::string_stddev 7.79 ns 7.79 ns 10
Concat std::string and number by std to std::string_cv 3.77 % 3.77 % 10
Concat std::string and number by StrExpr to std::string_mean 102 ns 102 ns 10
Concat std::string and number by StrExpr to std::string_median 101 ns 101 ns 10
Concat std::string and number by StrExpr to std::string_stddev 2.95 ns 2.95 ns 10
Concat std::string and number by StrExpr to std::string_cv 2.90 % 2.90 % 10
Concat stringa and number by StrExpr to simstr::stringa_mean 70.4 ns 70.4 ns 10
Concat stringa and number by StrExpr to simstr::stringa_median 69.3 ns 69.3 ns 10
Concat stringa and number by StrExpr to simstr::stringa_stddev 3.12 ns 3.12 ns 10
Concat stringa and number by StrExpr to simstr::stringa_cv 4.43 % 4.43 % 10
----- Concatenate string + Hex Number + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string and hex number by std to std::string_mean 668 ns 668 ns 10
Concat std::string and hex number by std to std::string_median 665 ns 665 ns 10
Concat std::string and hex number by std to std::string_stddev 21.8 ns 21.8 ns 10
Concat std::string and hex number by std to std::string_cv 3.27 % 3.27 % 10
Concat std::string and hex number by StrExpr to std::string_mean 65.9 ns 65.9 ns 10
Concat std::string and hex number by StrExpr to std::string_median 65.3 ns 65.3 ns 10
Concat std::string and hex number by StrExpr to std::string_stddev 2.24 ns 2.24 ns 10
Concat std::string and hex number by StrExpr to std::string_cv 3.39 % 3.39 % 10
Concat stringa and hex number by StrExpr to simstr::stringa_mean 68.2 ns 68.2 ns 10
Concat stringa and hex number by StrExpr to simstr::stringa_median 67.9 ns 67.9 ns 10
Concat stringa and hex number by StrExpr to simstr::stringa_stddev 1.59 ns 1.59 ns 10
Concat stringa and hex number by StrExpr to simstr::stringa_cv 2.33 % 2.33 % 10
----- Concatenate string + "Literal" ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat std::string by std to std::string_mean 44.7 ns 44.7 ns 10
Concat std::string by std to std::string_median 43.5 ns 43.5 ns 10
Concat std::string by std to std::string_stddev 2.51 ns 2.51 ns 10
Concat std::string by std to std::string_cv 5.61 % 5.61 % 10
Concat std::string by StrExpr to std::string_mean 35.9 ns 35.9 ns 10
Concat std::string by StrExpr to std::string_median 35.8 ns 35.8 ns 10
Concat std::string by StrExpr to std::string_stddev 1.12 ns 1.12 ns 10
Concat std::string by StrExpr to std::string_cv 3.12 % 3.12 % 10
Concat stringa by StrExpr to stringa_mean 25.9 ns 25.9 ns 10
Concat stringa by StrExpr to stringa_median 25.7 ns 25.7 ns 10
Concat stringa by StrExpr to stringa_stddev 0.700 ns 0.700 ns 10
Concat stringa by StrExpr to stringa_cv 2.71 % 2.71 % 10
----- Find three concatenated string in string_view -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Find concat three std::string_mean 130 ns 130 ns 10
Find concat three std::string_median 128 ns 128 ns 10
Find concat three std::string_stddev 4.71 ns 4.71 ns 10
Find concat three std::string_cv 3.62 % 3.62 % 10
Find concat three strexpr_mean 39.8 ns 39.8 ns 10
Find concat three strexpr_median 39.1 ns 39.1 ns 10
Find concat three strexpr_stddev 2.02 ns 2.02 ns 10
Find concat three strexpr_cv 5.08 % 5.08 % 10
Find concat three simstr_mean 20.2 ns 20.2 ns 10
Find concat three simstr_median 20.2 ns 20.2 ns 10
Find concat three simstr_stddev 0.739 ns 0.739 ns 10
Find concat three simstr_cv 3.66 % 3.66 % 10
----- Build Type Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
BuildTypeNameStr 0/0_mean 10.7 ns 10.7 ns 10
BuildTypeNameStr 0/0_median 10.6 ns 10.6 ns 10
BuildTypeNameStr 0/0_stddev 0.506 ns 0.506 ns 10
BuildTypeNameStr 0/0_cv 4.74 % 4.74 % 10
BuildTypeNameExp 0/0_mean 6.63 ns 6.63 ns 10
BuildTypeNameExp 0/0_median 6.61 ns 6.61 ns 10
BuildTypeNameExp 0/0_stddev 0.061 ns 0.061 ns 10
BuildTypeNameExp 0/0_cv 0.92 % 0.92 % 10
BuildTypeNameSim 0/0_mean 5.23 ns 5.23 ns 10
BuildTypeNameSim 0/0_median 5.16 ns 5.16 ns 10
BuildTypeNameSim 0/0_stddev 0.156 ns 0.156 ns 10
BuildTypeNameSim 0/0_cv 2.98 % 2.98 % 10
BuildTypeNameStr 10/10_mean 91.9 ns 91.9 ns 10
BuildTypeNameStr 10/10_median 91.8 ns 91.8 ns 10
BuildTypeNameStr 10/10_stddev 7.70 ns 7.70 ns 10
BuildTypeNameStr 10/10_cv 8.38 % 8.38 % 10
BuildTypeNameExp 10/10_mean 25.3 ns 25.3 ns 10
BuildTypeNameExp 10/10_median 24.6 ns 24.6 ns 10
BuildTypeNameExp 10/10_stddev 1.31 ns 1.31 ns 10
BuildTypeNameExp 10/10_cv 5.17 % 5.17 % 10
BuildTypeNameSim 10/10_mean 22.7 ns 22.7 ns 10
BuildTypeNameSim 10/10_median 22.5 ns 22.5 ns 10
BuildTypeNameSim 10/10_stddev 0.865 ns 0.865 ns 10
BuildTypeNameSim 10/10_cv 3.81 % 3.81 % 10
----- Replace string by copy -----/repeats:1 0.000 ns 0.000 ns 1000000000000
Concat with replace str_mean 242 ns 242 ns 10
Concat with replace str_median 240 ns 240 ns 10
Concat with replace str_stddev 10.6 ns 10.6 ns 10
Concat with replace str_cv 4.39 % 4.39 % 10
Concat with replace exp_mean 135 ns 135 ns 10
Concat with replace exp_median 132 ns 132 ns 10
Concat with replace exp_stddev 8.05 ns 8.05 ns 10
Concat with replace exp_cv 5.95 % 5.95 % 10
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e;_mean 1.12 ns 1.12 ns 10
std::string e;_median 1.12 ns 1.12 ns 10
std::string e;_stddev 0.032 ns 0.032 ns 10
std::string e;_cv 2.87 % 2.87 % 10
std::string_view e;_mean 0.737 ns 0.737 ns 10
std::string_view e;_median 0.735 ns 0.735 ns 10
std::string_view e;_stddev 0.012 ns 0.012 ns 10
std::string_view e;_cv 1.59 % 1.59 % 10
ssa e;_mean 0.182 ns 0.182 ns 10
ssa e;_median 0.182 ns 0.182 ns 10
ssa e;_stddev 0.002 ns 0.002 ns 10
ssa e;_cv 1.19 % 1.19 % 10
stringa e;_mean 0.751 ns 0.751 ns 10
stringa e;_median 0.735 ns 0.735 ns 10
stringa e;_stddev 0.030 ns 0.030 ns 10
stringa e;_cv 3.95 % 3.95 % 10
lstringa<20> e;_mean 1.12 ns 1.12 ns 10
lstringa<20> e;_median 1.12 ns 1.12 ns 10
lstringa<20> e;_stddev 0.023 ns 0.023 ns 10
lstringa<20> e;_cv 2.10 % 2.10 % 10
lstringa<40> e;_mean 1.11 ns 1.11 ns 10
lstringa<40> e;_median 1.10 ns 1.10 ns 10
lstringa<40> e;_stddev 0.011 ns 0.011 ns 10
lstringa<40> e;_cv 1.01 % 1.01 % 10
----- 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 10
std::string e = "Test text";_median 1.83 ns 1.83 ns 10
std::string e = "Test text";_stddev 0.097 ns 0.097 ns 10
std::string e = "Test text";_cv 5.21 % 5.21 % 10
std::string_view e = "Test text";_mean 0.730 ns 0.730 ns 10
std::string_view e = "Test text";_median 0.729 ns 0.729 ns 10
std::string_view e = "Test text";_stddev 0.006 ns 0.006 ns 10
std::string_view e = "Test text";_cv 0.89 % 0.89 % 10
ssa e = "Test text";_mean 0.736 ns 0.736 ns 10
ssa e = "Test text";_median 0.733 ns 0.733 ns 10
ssa e = "Test text";_stddev 0.016 ns 0.016 ns 10
ssa e = "Test text";_cv 2.14 % 2.14 % 10
stringa e = "Test text";_mean 1.12 ns 1.12 ns 10
stringa e = "Test text";_median 1.11 ns 1.11 ns 10
stringa e = "Test text";_stddev 0.028 ns 0.028 ns 10
stringa e = "Test text";_cv 2.53 % 2.53 % 10
lstringa<20> e = "Test text";_mean 1.87 ns 1.87 ns 10
lstringa<20> e = "Test text";_median 1.85 ns 1.85 ns 10
lstringa<20> e = "Test text";_stddev 0.074 ns 0.074 ns 10
lstringa<20> e = "Test text";_cv 3.93 % 3.93 % 10
lstringa<40> e = "Test text";_mean 1.89 ns 1.89 ns 10
lstringa<40> e = "Test text";_median 1.89 ns 1.89 ns 10
lstringa<40> e = "Test text";_stddev 0.056 ns 0.056 ns 10
lstringa<40> e = "Test text";_cv 2.95 % 2.95 % 10
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890";_mean 19.3 ns 19.3 ns 10
std::string e = "123456789012345678901234567890";_median 19.1 ns 19.1 ns 10
std::string e = "123456789012345678901234567890";_stddev 0.662 ns 0.662 ns 10
std::string e = "123456789012345678901234567890";_cv 3.44 % 3.44 % 10
std::string_view e = "123456789012345678901234567890";_mean 0.744 ns 0.744 ns 10
std::string_view e = "123456789012345678901234567890";_median 0.737 ns 0.737 ns 10
std::string_view e = "123456789012345678901234567890";_stddev 0.021 ns 0.021 ns 10
std::string_view e = "123456789012345678901234567890";_cv 2.80 % 2.80 % 10
ssa e = "123456789012345678901234567890";_mean 0.735 ns 0.735 ns 10
ssa e = "123456789012345678901234567890";_median 0.734 ns 0.734 ns 10
ssa e = "123456789012345678901234567890";_stddev 0.011 ns 0.011 ns 10
ssa e = "123456789012345678901234567890";_cv 1.50 % 1.50 % 10
stringa e = "123456789012345678901234567890";_mean 1.12 ns 1.12 ns 10
stringa e = "123456789012345678901234567890";_median 1.09 ns 1.09 ns 10
stringa e = "123456789012345678901234567890";_stddev 0.042 ns 0.042 ns 10
stringa e = "123456789012345678901234567890";_cv 3.73 % 3.73 % 10
lstringa<20> e = "123456789012345678901234567890";_mean 20.0 ns 20.0 ns 10
lstringa<20> e = "123456789012345678901234567890";_median 20.1 ns 20.1 ns 10
lstringa<20> e = "123456789012345678901234567890";_stddev 0.301 ns 0.301 ns 10
lstringa<20> e = "123456789012345678901234567890";_cv 1.50 % 1.50 % 10
lstringa<40> e = "123456789012345678901234567890";_mean 1.84 ns 1.84 ns 10
lstringa<40> e = "123456789012345678901234567890";_median 1.83 ns 1.83 ns 10
lstringa<40> e = "123456789012345678901234567890";_stddev 0.034 ns 0.034 ns 10
lstringa<40> e = "123456789012345678901234567890";_cv 1.83 % 1.83 % 10
----- 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.80 ns 4.80 ns 10
std::string e = "Test text"; auto c{e};_median 4.79 ns 4.79 ns 10
std::string e = "Test text"; auto c{e};_stddev 0.056 ns 0.056 ns 10
std::string e = "Test text"; auto c{e};_cv 1.16 % 1.16 % 10
std::string_view e = "Test text"; auto c{e};_mean 0.373 ns 0.373 ns 10
std::string_view e = "Test text"; auto c{e};_median 0.373 ns 0.373 ns 10
std::string_view e = "Test text"; auto c{e};_stddev 0.004 ns 0.004 ns 10
std::string_view e = "Test text"; auto c{e};_cv 1.21 % 1.21 % 10
ssa e = "Test text"; auto c{e};_mean 0.376 ns 0.376 ns 10
ssa e = "Test text"; auto c{e};_median 0.371 ns 0.371 ns 10
ssa e = "Test text"; auto c{e};_stddev 0.021 ns 0.021 ns 10
ssa e = "Test text"; auto c{e};_cv 5.50 % 5.50 % 10
stringa e = "Test text"; auto c{e};_mean 1.37 ns 1.37 ns 10
stringa e = "Test text"; auto c{e};_median 1.31 ns 1.31 ns 10
stringa e = "Test text"; auto c{e};_stddev 0.102 ns 0.102 ns 10
stringa e = "Test text"; auto c{e};_cv 7.45 % 7.45 % 10
lstringa<20> e = "Test text"; auto c{e};_mean 4.43 ns 4.43 ns 10
lstringa<20> e = "Test text"; auto c{e};_median 4.40 ns 4.40 ns 10
lstringa<20> e = "Test text"; auto c{e};_stddev 0.101 ns 0.101 ns 10
lstringa<20> e = "Test text"; auto c{e};_cv 2.27 % 2.27 % 10
lstringa<40> e = "Test text"; auto c{e};_mean 4.49 ns 4.49 ns 10
lstringa<40> e = "Test text"; auto c{e};_median 4.48 ns 4.48 ns 10
lstringa<40> e = "Test text"; auto c{e};_stddev 0.127 ns 0.127 ns 10
lstringa<40> e = "Test text"; auto c{e};_cv 2.84 % 2.84 % 10
----- Create copy of Str with 30 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string e = "123456789012345678901234567890"; auto c{e};_mean 24.3 ns 24.3 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_median 24.1 ns 24.1 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.599 ns 0.599 ns 10
std::string e = "123456789012345678901234567890"; auto c{e};_cv 2.46 % 2.46 % 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.724 ns 0.724 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.724 ns 0.724 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.007 ns 0.007 ns 10
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 0.91 % 0.91 % 10
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.752 ns 0.752 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.751 ns 0.751 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.024 ns 0.024 ns 10
ssa e = "123456789012345678901234567890"; auto c{e};_cv 3.21 % 3.21 % 10
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.11 ns 1.11 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.11 ns 1.11 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.028 ns 0.028 ns 10
stringa e = "123456789012345678901234567890"; auto c{e};_cv 2.48 % 2.48 % 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 20.1 ns 20.1 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 20.0 ns 20.0 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.428 ns 0.428 ns 10
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.13 % 2.13 % 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.52 ns 4.52 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.49 ns 4.49 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.115 ns 0.115 ns 10
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 2.54 % 2.54 % 10
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find;_mean 7.33 ns 7.33 ns 10
std::string::find;_median 7.15 ns 7.15 ns 10
std::string::find;_stddev 0.514 ns 0.513 ns 10
std::string::find;_cv 7.00 % 7.00 % 10
std::string_view::find;_mean 6.78 ns 6.78 ns 10
std::string_view::find;_median 6.74 ns 6.74 ns 10
std::string_view::find;_stddev 0.241 ns 0.241 ns 10
std::string_view::find;_cv 3.56 % 3.56 % 10
ssa::find;_mean 6.32 ns 6.32 ns 10
ssa::find;_median 6.27 ns 6.27 ns 10
ssa::find;_stddev 0.136 ns 0.136 ns 10
ssa::find;_cv 2.16 % 2.16 % 10
stringa::find;_mean 6.77 ns 6.77 ns 10
stringa::find;_median 6.75 ns 6.75 ns 10
stringa::find;_stddev 0.152 ns 0.152 ns 10
stringa::find;_cv 2.25 % 2.25 % 10
lstringa<20>::find;_mean 6.33 ns 6.33 ns 10
lstringa<20>::find;_median 6.26 ns 6.26 ns 10
lstringa<20>::find;_stddev 0.205 ns 0.205 ns 10
lstringa<20>::find;_cv 3.24 % 3.24 % 10
lstringa<40>::find;_mean 6.43 ns 6.43 ns 10
lstringa<40>::find;_median 6.36 ns 6.36 ns 10
lstringa<40>::find;_stddev 0.307 ns 0.307 ns 10
lstringa<40>::find;_cv 4.77 % 4.77 % 10
------- Copy not literal Str with N symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string copy{str_with_len_N};/15_mean 5.20 ns 5.20 ns 10
std::string copy{str_with_len_N};/15_median 5.18 ns 5.18 ns 10
std::string copy{str_with_len_N};/15_stddev 0.124 ns 0.124 ns 10
std::string copy{str_with_len_N};/15_cv 2.39 % 2.39 % 10
std::string copy{str_with_len_N};/16_mean 23.6 ns 23.6 ns 10
std::string copy{str_with_len_N};/16_median 23.7 ns 23.7 ns 10
std::string copy{str_with_len_N};/16_stddev 0.628 ns 0.628 ns 10
std::string copy{str_with_len_N};/16_cv 2.66 % 2.66 % 10
std::string copy{str_with_len_N};/23_mean 23.0 ns 23.0 ns 10
std::string copy{str_with_len_N};/23_median 23.0 ns 23.0 ns 10
std::string copy{str_with_len_N};/23_stddev 0.156 ns 0.156 ns 10
std::string copy{str_with_len_N};/23_cv 0.68 % 0.68 % 10
std::string copy{str_with_len_N};/24_mean 23.1 ns 23.1 ns 10
std::string copy{str_with_len_N};/24_median 23.1 ns 23.1 ns 10
std::string copy{str_with_len_N};/24_stddev 0.362 ns 0.362 ns 10
std::string copy{str_with_len_N};/24_cv 1.57 % 1.57 % 10
std::string copy{str_with_len_N};/32_mean 23.4 ns 23.4 ns 10
std::string copy{str_with_len_N};/32_median 23.3 ns 23.3 ns 10
std::string copy{str_with_len_N};/32_stddev 0.533 ns 0.533 ns 10
std::string copy{str_with_len_N};/32_cv 2.28 % 2.28 % 10
std::string copy{str_with_len_N};/64_mean 24.0 ns 24.0 ns 10
std::string copy{str_with_len_N};/64_median 23.9 ns 23.9 ns 10
std::string copy{str_with_len_N};/64_stddev 1.21 ns 1.21 ns 10
std::string copy{str_with_len_N};/64_cv 5.03 % 5.03 % 10
std::string copy{str_with_len_N};/128_mean 24.5 ns 24.5 ns 10
std::string copy{str_with_len_N};/128_median 24.4 ns 24.4 ns 10
std::string copy{str_with_len_N};/128_stddev 0.331 ns 0.331 ns 10
std::string copy{str_with_len_N};/128_cv 1.35 % 1.35 % 10
std::string copy{str_with_len_N};/256_mean 25.1 ns 25.1 ns 10
std::string copy{str_with_len_N};/256_median 24.8 ns 24.8 ns 10
std::string copy{str_with_len_N};/256_stddev 0.922 ns 0.922 ns 10
std::string copy{str_with_len_N};/256_cv 3.67 % 3.67 % 10
std::string copy{str_with_len_N};/512_mean 29.0 ns 29.0 ns 10
std::string copy{str_with_len_N};/512_median 29.0 ns 29.0 ns 10
std::string copy{str_with_len_N};/512_stddev 0.576 ns 0.576 ns 10
std::string copy{str_with_len_N};/512_cv 1.99 % 1.99 % 10
std::string copy{str_with_len_N};/1024_mean 44.3 ns 44.3 ns 10
std::string copy{str_with_len_N};/1024_median 44.1 ns 44.1 ns 10
std::string copy{str_with_len_N};/1024_stddev 0.821 ns 0.821 ns 10
std::string copy{str_with_len_N};/1024_cv 1.86 % 1.86 % 10
std::string copy{str_with_len_N};/2048_mean 130 ns 130 ns 10
std::string copy{str_with_len_N};/2048_median 131 ns 131 ns 10
std::string copy{str_with_len_N};/2048_stddev 8.66 ns 8.66 ns 10
std::string copy{str_with_len_N};/2048_cv 6.66 % 6.66 % 10
std::string copy{str_with_len_N};/4096_mean 157 ns 157 ns 10
std::string copy{str_with_len_N};/4096_median 158 ns 158 ns 10
std::string copy{str_with_len_N};/4096_stddev 10.6 ns 10.6 ns 10
std::string copy{str_with_len_N};/4096_cv 6.77 % 6.77 % 10
stringa copy{str_with_len_N};/15_mean 1.14 ns 1.14 ns 10
stringa copy{str_with_len_N};/15_median 1.13 ns 1.13 ns 10
stringa copy{str_with_len_N};/15_stddev 0.042 ns 0.042 ns 10
stringa copy{str_with_len_N};/15_cv 3.67 % 3.67 % 10
stringa copy{str_with_len_N};/16_mean 1.10 ns 1.10 ns 10
stringa copy{str_with_len_N};/16_median 1.10 ns 1.10 ns 10
stringa copy{str_with_len_N};/16_stddev 0.017 ns 0.017 ns 10
stringa copy{str_with_len_N};/16_cv 1.50 % 1.50 % 10
stringa copy{str_with_len_N};/23_mean 1.11 ns 1.11 ns 10
stringa copy{str_with_len_N};/23_median 1.11 ns 1.11 ns 10
stringa copy{str_with_len_N};/23_stddev 0.016 ns 0.016 ns 10
stringa copy{str_with_len_N};/23_cv 1.44 % 1.44 % 10
stringa copy{str_with_len_N};/24_mean 16.2 ns 16.2 ns 10
stringa copy{str_with_len_N};/24_median 16.2 ns 16.2 ns 10
stringa copy{str_with_len_N};/24_stddev 0.215 ns 0.215 ns 10
stringa copy{str_with_len_N};/24_cv 1.33 % 1.33 % 10
stringa copy{str_with_len_N};/32_mean 16.3 ns 16.3 ns 10
stringa copy{str_with_len_N};/32_median 16.2 ns 16.2 ns 10
stringa copy{str_with_len_N};/32_stddev 0.264 ns 0.264 ns 10
stringa copy{str_with_len_N};/32_cv 1.62 % 1.62 % 10
stringa copy{str_with_len_N};/64_mean 16.5 ns 16.5 ns 10
stringa copy{str_with_len_N};/64_median 16.5 ns 16.5 ns 10
stringa copy{str_with_len_N};/64_stddev 0.299 ns 0.299 ns 10
stringa copy{str_with_len_N};/64_cv 1.81 % 1.81 % 10
stringa copy{str_with_len_N};/128_mean 16.4 ns 16.4 ns 10
stringa copy{str_with_len_N};/128_median 16.5 ns 16.5 ns 10
stringa copy{str_with_len_N};/128_stddev 0.327 ns 0.327 ns 10
stringa copy{str_with_len_N};/128_cv 1.99 % 1.99 % 10
stringa copy{str_with_len_N};/256_mean 16.2 ns 16.2 ns 10
stringa copy{str_with_len_N};/256_median 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/256_stddev 0.261 ns 0.261 ns 10
stringa copy{str_with_len_N};/256_cv 1.61 % 1.61 % 10
stringa copy{str_with_len_N};/512_mean 16.3 ns 16.3 ns 10
stringa copy{str_with_len_N};/512_median 16.2 ns 16.2 ns 10
stringa copy{str_with_len_N};/512_stddev 0.272 ns 0.272 ns 10
stringa copy{str_with_len_N};/512_cv 1.67 % 1.67 % 10
stringa copy{str_with_len_N};/1024_mean 16.3 ns 16.3 ns 10
stringa copy{str_with_len_N};/1024_median 16.1 ns 16.1 ns 10
stringa copy{str_with_len_N};/1024_stddev 0.357 ns 0.357 ns 10
stringa copy{str_with_len_N};/1024_cv 2.19 % 2.19 % 10
stringa copy{str_with_len_N};/2048_mean 16.4 ns 16.4 ns 10
stringa copy{str_with_len_N};/2048_median 16.2 ns 16.2 ns 10
stringa copy{str_with_len_N};/2048_stddev 0.371 ns 0.371 ns 10
stringa copy{str_with_len_N};/2048_cv 2.26 % 2.26 % 10
stringa copy{str_with_len_N};/4096_mean 16.5 ns 16.5 ns 10
stringa copy{str_with_len_N};/4096_median 16.4 ns 16.4 ns 10
stringa copy{str_with_len_N};/4096_stddev 0.427 ns 0.427 ns 10
stringa copy{str_with_len_N};/4096_cv 2.59 % 2.59 % 10
lstringa<16> copy{str_with_len_N};/15_mean 4.51 ns 4.51 ns 10
lstringa<16> copy{str_with_len_N};/15_median 4.49 ns 4.49 ns 10
lstringa<16> copy{str_with_len_N};/15_stddev 0.147 ns 0.147 ns 10
lstringa<16> copy{str_with_len_N};/15_cv 3.26 % 3.26 % 10
lstringa<16> copy{str_with_len_N};/16_mean 4.50 ns 4.50 ns 10
lstringa<16> copy{str_with_len_N};/16_median 4.46 ns 4.46 ns 10
lstringa<16> copy{str_with_len_N};/16_stddev 0.131 ns 0.131 ns 10
lstringa<16> copy{str_with_len_N};/16_cv 2.91 % 2.91 % 10
lstringa<16> copy{str_with_len_N};/23_mean 4.56 ns 4.56 ns 10
lstringa<16> copy{str_with_len_N};/23_median 4.57 ns 4.57 ns 10
lstringa<16> copy{str_with_len_N};/23_stddev 0.126 ns 0.126 ns 10
lstringa<16> copy{str_with_len_N};/23_cv 2.77 % 2.77 % 10
lstringa<16> copy{str_with_len_N};/24_mean 24.2 ns 24.2 ns 10
lstringa<16> copy{str_with_len_N};/24_median 24.0 ns 24.0 ns 10
lstringa<16> copy{str_with_len_N};/24_stddev 0.622 ns 0.622 ns 10
lstringa<16> copy{str_with_len_N};/24_cv 2.57 % 2.57 % 10
lstringa<16> copy{str_with_len_N};/32_mean 23.7 ns 23.7 ns 10
lstringa<16> copy{str_with_len_N};/32_median 23.6 ns 23.6 ns 10
lstringa<16> copy{str_with_len_N};/32_stddev 0.525 ns 0.525 ns 10
lstringa<16> copy{str_with_len_N};/32_cv 2.22 % 2.22 % 10
lstringa<16> copy{str_with_len_N};/64_mean 25.4 ns 25.4 ns 10
lstringa<16> copy{str_with_len_N};/64_median 25.2 ns 25.2 ns 10
lstringa<16> copy{str_with_len_N};/64_stddev 0.675 ns 0.675 ns 10
lstringa<16> copy{str_with_len_N};/64_cv 2.65 % 2.65 % 10
lstringa<16> copy{str_with_len_N};/128_mean 26.8 ns 26.8 ns 10
lstringa<16> copy{str_with_len_N};/128_median 26.6 ns 26.6 ns 10
lstringa<16> copy{str_with_len_N};/128_stddev 0.702 ns 0.702 ns 10
lstringa<16> copy{str_with_len_N};/128_cv 2.62 % 2.62 % 10
lstringa<16> copy{str_with_len_N};/256_mean 27.8 ns 27.8 ns 10
lstringa<16> copy{str_with_len_N};/256_median 27.7 ns 27.7 ns 10
lstringa<16> copy{str_with_len_N};/256_stddev 1.06 ns 1.06 ns 10
lstringa<16> copy{str_with_len_N};/256_cv 3.79 % 3.79 % 10
lstringa<16> copy{str_with_len_N};/512_mean 31.9 ns 31.9 ns 10
lstringa<16> copy{str_with_len_N};/512_median 31.2 ns 31.2 ns 10
lstringa<16> copy{str_with_len_N};/512_stddev 1.63 ns 1.63 ns 10
lstringa<16> copy{str_with_len_N};/512_cv 5.11 % 5.11 % 10
lstringa<16> copy{str_with_len_N};/1024_mean 96.9 ns 96.9 ns 10
lstringa<16> copy{str_with_len_N};/1024_median 97.0 ns 97.0 ns 10
lstringa<16> copy{str_with_len_N};/1024_stddev 12.0 ns 12.0 ns 10
lstringa<16> copy{str_with_len_N};/1024_cv 12.35 % 12.35 % 10
lstringa<16> copy{str_with_len_N};/2048_mean 117 ns 117 ns 10
lstringa<16> copy{str_with_len_N};/2048_median 118 ns 118 ns 10
lstringa<16> copy{str_with_len_N};/2048_stddev 9.38 ns 9.38 ns 10
lstringa<16> copy{str_with_len_N};/2048_cv 8.05 % 8.05 % 10
lstringa<16> copy{str_with_len_N};/4096_mean 130 ns 130 ns 10
lstringa<16> copy{str_with_len_N};/4096_median 129 ns 129 ns 10
lstringa<16> copy{str_with_len_N};/4096_stddev 7.81 ns 7.81 ns 10
lstringa<16> copy{str_with_len_N};/4096_cv 6.02 % 6.02 % 10
lstringa<512> copy{str_with_len_N};/15_mean 5.23 ns 5.23 ns 10
lstringa<512> copy{str_with_len_N};/15_median 5.21 ns 5.21 ns 10
lstringa<512> copy{str_with_len_N};/15_stddev 0.125 ns 0.125 ns 10
lstringa<512> copy{str_with_len_N};/15_cv 2.39 % 2.39 % 10
lstringa<512> copy{str_with_len_N};/16_mean 11.5 ns 11.5 ns 10
lstringa<512> copy{str_with_len_N};/16_median 11.5 ns 11.5 ns 10
lstringa<512> copy{str_with_len_N};/16_stddev 0.133 ns 0.133 ns 10
lstringa<512> copy{str_with_len_N};/16_cv 1.15 % 1.15 % 10
lstringa<512> copy{str_with_len_N};/23_mean 11.7 ns 11.7 ns 10
lstringa<512> copy{str_with_len_N};/23_median 11.6 ns 11.6 ns 10
lstringa<512> copy{str_with_len_N};/23_stddev 0.425 ns 0.425 ns 10
lstringa<512> copy{str_with_len_N};/23_cv 3.62 % 3.62 % 10
lstringa<512> copy{str_with_len_N};/24_mean 11.6 ns 11.6 ns 10
lstringa<512> copy{str_with_len_N};/24_median 11.7 ns 11.7 ns 10
lstringa<512> copy{str_with_len_N};/24_stddev 0.208 ns 0.208 ns 10
lstringa<512> copy{str_with_len_N};/24_cv 1.79 % 1.79 % 10
lstringa<512> copy{str_with_len_N};/32_mean 20.0 ns 20.0 ns 10
lstringa<512> copy{str_with_len_N};/32_median 19.9 ns 19.9 ns 10
lstringa<512> copy{str_with_len_N};/32_stddev 0.297 ns 0.297 ns 10
lstringa<512> copy{str_with_len_N};/32_cv 1.48 % 1.48 % 10
lstringa<512> copy{str_with_len_N};/64_mean 20.8 ns 20.8 ns 10
lstringa<512> copy{str_with_len_N};/64_median 20.7 ns 20.7 ns 10
lstringa<512> copy{str_with_len_N};/64_stddev 0.253 ns 0.253 ns 10
lstringa<512> copy{str_with_len_N};/64_cv 1.22 % 1.22 % 10
lstringa<512> copy{str_with_len_N};/128_mean 23.4 ns 23.4 ns 10
lstringa<512> copy{str_with_len_N};/128_median 23.1 ns 23.1 ns 10
lstringa<512> copy{str_with_len_N};/128_stddev 0.736 ns 0.736 ns 10
lstringa<512> copy{str_with_len_N};/128_cv 3.14 % 3.14 % 10
lstringa<512> copy{str_with_len_N};/256_mean 18.1 ns 18.1 ns 10
lstringa<512> copy{str_with_len_N};/256_median 18.2 ns 18.2 ns 10
lstringa<512> copy{str_with_len_N};/256_stddev 0.391 ns 0.391 ns 10
lstringa<512> copy{str_with_len_N};/256_cv 2.16 % 2.16 % 10
lstringa<512> copy{str_with_len_N};/512_mean 20.6 ns 20.6 ns 10
lstringa<512> copy{str_with_len_N};/512_median 20.6 ns 20.6 ns 10
lstringa<512> copy{str_with_len_N};/512_stddev 0.288 ns 0.288 ns 10
lstringa<512> copy{str_with_len_N};/512_cv 1.39 % 1.39 % 10
lstringa<512> copy{str_with_len_N};/1024_mean 96.9 ns 96.9 ns 10
lstringa<512> copy{str_with_len_N};/1024_median 95.5 ns 95.5 ns 10
lstringa<512> copy{str_with_len_N};/1024_stddev 11.7 ns 11.7 ns 10
lstringa<512> copy{str_with_len_N};/1024_cv 12.11 % 12.11 % 10
lstringa<512> copy{str_with_len_N};/2048_mean 118 ns 118 ns 10
lstringa<512> copy{str_with_len_N};/2048_median 121 ns 121 ns 10
lstringa<512> copy{str_with_len_N};/2048_stddev 13.4 ns 13.4 ns 10
lstringa<512> copy{str_with_len_N};/2048_cv 11.31 % 11.31 % 10
lstringa<512> copy{str_with_len_N};/4096_mean 134 ns 134 ns 10
lstringa<512> copy{str_with_len_N};/4096_median 133 ns 133 ns 10
lstringa<512> copy{str_with_len_N};/4096_stddev 11.5 ns 11.5 ns 10
lstringa<512> copy{str_with_len_N};/4096_cv 8.58 % 8.58 % 10
----- Convert to int '1234567' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_mean 27.4 ns 27.4 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 27.4 ns 27.4 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.497 ns 0.497 ns 10
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 1.81 % 1.81 % 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 12.5 ns 12.5 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 12.6 ns 12.6 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.308 ns 0.308 ns 10
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 2.46 % 2.46 % 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.24 ns 8.24 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 8.16 ns 8.16 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.298 ns 0.298 ns 10
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.62 % 3.62 % 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 7.94 ns 7.94 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 7.86 ns 7.86 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.327 ns 0.327 ns 10
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 4.12 % 4.12 % 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 8.34 ns 8.34 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 8.14 ns 8.14 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.501 ns 0.501 ns 10
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 6.01 % 6.01 % 10
----- Convert to unsigned 'abcDef' ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_mean 23.7 ns 23.7 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 23.6 ns 23.6 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.678 ns 0.678 ns 10
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 2.86 % 2.86 % 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 9.81 ns 9.81 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 9.67 ns 9.67 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.410 ns 0.410 ns 10
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 4.18 % 4.18 % 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.30 ns 8.30 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.31 ns 8.31 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.239 ns 0.239 ns 10
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.88 % 2.88 % 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.86 ns 7.86 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.88 ns 7.88 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.104 ns 0.104 ns 10
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.32 % 1.32 % 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.11 ns 8.11 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.11 ns 8.11 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.057 ns 0.057 ns 10
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 0.71 % 0.71 % 10
----- 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 29.3 ns 29.3 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 29.0 ns 29.0 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 1.04 ns 1.04 ns 10
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 3.54 % 3.54 % 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 15.1 ns 15.1 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 15.0 ns 15.0 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.585 ns 0.585 ns 10
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 3.88 % 3.88 % 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 10.8 ns 10.8 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 10.7 ns 10.7 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.242 ns 0.242 ns 10
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 2.25 % 2.25 % 10
----- 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 65.1 ns 65.1 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 64.8 ns 64.8 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 2.37 ns 2.37 ns 10
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 3.64 % 3.64 % 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 24.4 ns 24.4 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 24.3 ns 24.3 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 1.03 ns 1.03 ns 10
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 4.20 % 4.20 % 10
ssa s = "1234.567e10"; double res = *s.to_double()_mean 24.7 ns 24.7 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_median 24.2 ns 24.2 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.927 ns 0.927 ns 10
ssa s = "1234.567e10"; double res = *s.to_double()_cv 3.76 % 3.76 % 10
-- 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 1395 ns 1395 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_median 1401 ns 1401 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 46.8 ns 46.8 ns 10
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 3.35 % 3.35 % 10
std::string str; ... str += "abbaabbaabbaabba";_mean 377 ns 377 ns 10
std::string str; ... str += "abbaabbaabbaabba";_median 381 ns 381 ns 10
std::string str; ... str += "abbaabbaabbaabba";_stddev 20.6 ns 20.6 ns 10
std::string str; ... str += "abbaabbaabbaabba";_cv 5.45 % 5.45 % 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 407 ns 407 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 401 ns 401 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 28.3 ns 28.3 ns 10
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 6.96 % 6.96 % 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 267 ns 267 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 268 ns 268 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 13.6 ns 13.6 ns 10
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 5.09 % 5.09 % 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 240 ns 240 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 232 ns 232 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 15.7 ns 15.7 ns 10
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 6.55 % 6.55 % 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 142 ns 142 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 140 ns 140 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 6.01 ns 6.01 ns 10
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 4.24 % 4.24 % 10
-- 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 1404 ns 1404 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 1381 ns 1381 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 56.4 ns 56.4 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 4.02 % 4.02 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1265 ns 1265 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1258 ns 1258 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 41.9 ns 41.9 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 3.31 % 3.31 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 442 ns 442 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 445 ns 445 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 22.2 ns 22.2 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.03 % 5.03 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 376 ns 376 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 367 ns 367 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 19.4 ns 19.4 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.15 % 5.15 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 316 ns 316 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 309 ns 309 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 15.6 ns 15.6 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.93 % 4.93 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 247 ns 247 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 246 ns 246 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 5.64 ns 5.64 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.28 % 2.28 % 10
-- 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 75371 ns 75372 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 75158 ns 75158 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 1425 ns 1425 ns 10
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.89 % 1.89 % 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 73091 ns 73091 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 72172 ns 72172 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1892 ns 1892 ns 10
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.59 % 2.59 % 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 20644 ns 20645 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 20542 ns 20542 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 581 ns 581 ns 10
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.81 % 2.81 % 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17277 ns 17278 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17153 ns 17154 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 267 ns 267 ns 10
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.55 % 1.55 % 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17504 ns 17504 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17286 ns 17286 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 614 ns 614 ns 10
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.51 % 3.51 % 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17482 ns 17482 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17354 ns 17354 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 463 ns 463 ns 10
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.65 % 2.65 % 10
-- 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 1414 ns 1414 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_median 1404 ns 1404 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_stddev 37.7 ns 37.7 ns 10
std::stringstream str; ... str << str_var1 << str_var2;_cv 2.66 % 2.66 % 10
std::string str; ... str += str_var1 + str_var2;_mean 1409 ns 1409 ns 10
std::string str; ... str += str_var1 + str_var2;_median 1404 ns 1404 ns 10
std::string str; ... str += str_var1 + str_var2;_stddev 33.7 ns 33.7 ns 10
std::string str; ... str += str_var1 + str_var2;_cv 2.39 % 2.39 % 10
lstringa<16> str; ... str += str_var1 + str_var2;_mean 544 ns 544 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_median 536 ns 536 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 37.1 ns 37.1 ns 10
lstringa<16> str; ... str += str_var1 + str_var2;_cv 6.82 % 6.82 % 10
lstringa<128> str; ... str += str_var1 + str_var2;_mean 433 ns 433 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_median 427 ns 427 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 14.5 ns 14.5 ns 10
lstringa<128> str; ... str += str_var1 + str_var2;_cv 3.34 % 3.34 % 10
lstringa<512> str; ... str += str_var1 + str_var2;_mean 417 ns 417 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_median 403 ns 403 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 34.3 ns 34.3 ns 10
lstringa<512> str; ... str += str_var1 + str_var2;_cv 8.23 % 8.23 % 10
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 316 ns 316 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_median 313 ns 313 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 6.83 ns 6.83 ns 10
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 2.16 % 2.16 % 10
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::stringstream str; str << "test = " << k << " times";_mean 2998 ns 2998 ns 10
std::stringstream str; str << "test = " << k << " times";_median 2967 ns 2967 ns 10
std::stringstream str; str << "test = " << k << " times";_stddev 81.6 ns 81.6 ns 10
std::stringstream str; str << "test = " << k << " times";_cv 2.72 % 2.72 % 10
std::string str = "test = " + std::to_string(k) + " times";_mean 456 ns 456 ns 10
std::string str = "test = " + std::to_string(k) + " times";_median 454 ns 454 ns 10
std::string str = "test = " + std::to_string(k) + " times";_stddev 19.8 ns 19.8 ns 10
std::string str = "test = " + std::to_string(k) + " times";_cv 4.34 % 4.34 % 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 1527 ns 1527 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 1514 ns 1514 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 90.1 ns 90.1 ns 10
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 5.90 % 5.90 % 10
std::string str = std::format("test = {} times", k);_mean 1266 ns 1266 ns 10
std::string str = std::format("test = {} times", k);_median 1265 ns 1265 ns 10
std::string str = std::format("test = {} times", k);_stddev 42.0 ns 42.0 ns 10
std::string str = std::format("test = {} times", k);_cv 3.32 % 3.32 % 10
lstringa<8> str; str.format("test = {} times", k);_mean 1633 ns 1633 ns 10
lstringa<8> str; str.format("test = {} times", k);_median 1607 ns 1607 ns 10
lstringa<8> str; str.format("test = {} times", k);_stddev 70.5 ns 70.5 ns 10
lstringa<8> str; str.format("test = {} times", k);_cv 4.31 % 4.31 % 10
lstringa<32> str; str.format("test = {} times", k);_mean 1117 ns 1117 ns 10
lstringa<32> str; str.format("test = {} times", k);_median 1107 ns 1107 ns 10
lstringa<32> str; str.format("test = {} times", k);_stddev 44.8 ns 44.8 ns 10
lstringa<32> str; str.format("test = {} times", k);_cv 4.01 % 4.01 % 10
lstringa<8> str = "test = " + k + " times";_mean 313 ns 313 ns 10
lstringa<8> str = "test = " + k + " times";_median 307 ns 307 ns 10
lstringa<8> str = "test = " + k + " times";_stddev 16.3 ns 16.3 ns 10
lstringa<8> str = "test = " + k + " times";_cv 5.19 % 5.19 % 10
lstringa<32> str = "test = " + k + " times";_mean 153 ns 153 ns 10
lstringa<32> str = "test = " + k + " times";_median 153 ns 153 ns 10
lstringa<32> str = "test = " + k + " times";_stddev 5.19 ns 5.19 ns 10
lstringa<32> str = "test = " + k + " times";_cv 3.40 % 3.40 % 10
stringa str = "test = " + k + " times";_mean 162 ns 162 ns 10
stringa str = "test = " + k + " times";_median 160 ns 160 ns 10
stringa str = "test = " + k + " times";_stddev 5.01 ns 5.01 ns 10
stringa str = "test = " + k + " times";_cv 3.10 % 3.10 % 10
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
std::string::find + substr + std::strtol_mean 273 ns 273 ns 10
std::string::find + substr + std::strtol_median 270 ns 270 ns 10
std::string::find + substr + std::strtol_stddev 9.80 ns 9.80 ns 10
std::string::find + substr + std::strtol_cv 3.59 % 3.59 % 10
ssa::splitter + ssa::as_int_mean 135 ns 135 ns 10
ssa::splitter + ssa::as_int_median 134 ns 134 ns 10
ssa::splitter + ssa::as_int_stddev 3.01 ns 3.01 ns 10
ssa::splitter + ssa::as_int_cv 2.23 % 2.23 % 10
ssa::splitf + functor_mean 131 ns 131 ns 10
ssa::splitf + functor_median 131 ns 131 ns 10
ssa::splitf + functor_stddev 2.28 ns 2.28 ns 10
ssa::splitf + functor_cv 1.74 % 1.74 % 10
-- 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 852 ns 852 ns 10
Naive (and wrong) replace symbols with std::string find + replace_median 850 ns 850 ns 10
Naive (and wrong) replace symbols with std::string find + replace_stddev 20.9 ns 20.9 ns 10
Naive (and wrong) replace symbols with std::string find + replace_cv 2.45 % 2.45 % 10
replace symbols with std::string find_first_of + replace_mean 2378 ns 2378 ns 10
replace symbols with std::string find_first_of + replace_median 2379 ns 2379 ns 10
replace symbols with std::string find_first_of + replace_stddev 38.1 ns 38.1 ns 10
replace symbols with std::string find_first_of + replace_cv 1.60 % 1.60 % 10
replace symbols with std::string_view find_first_of + copy_mean 1037 ns 1037 ns 10
replace symbols with std::string_view find_first_of + copy_median 1021 ns 1021 ns 10
replace symbols with std::string_view find_first_of + copy_stddev 35.1 ns 35.1 ns 10
replace symbols with std::string_view find_first_of + copy_cv 3.38 % 3.38 % 10
replace runtime symbols with string expressions and without remembering all search results_mean 1465 ns 1465 ns 10
replace runtime symbols with string expressions and without remembering all search results_median 1452 ns 1452 ns 10
replace runtime symbols with string expressions and without remembering all search results_stddev 43.1 ns 43.1 ns 10
replace runtime symbols with string expressions and without remembering all search results_cv 2.95 % 2.95 % 10
replace runtime symbols with simstr and memorization of all search results_mean 1035 ns 1035 ns 10
replace runtime symbols with simstr and memorization of all search results_median 1039 ns 1039 ns 10
replace runtime symbols with simstr and memorization of all search results_stddev 13.7 ns 13.7 ns 10
replace runtime symbols with simstr and memorization of all search results_cv 1.32 % 1.32 % 10
replace const symbols with string expressions and without remembering all search results_mean 1231 ns 1231 ns 10
replace const symbols with string expressions and without remembering all search results_median 1217 ns 1217 ns 10
replace const symbols with string expressions and without remembering all search results_stddev 51.2 ns 51.2 ns 10
replace const symbols with string expressions and without remembering all search results_cv 4.16 % 4.16 % 10
replace const symbols with string expressions and memorization of all search results_mean 919 ns 919 ns 10
replace const symbols with string expressions and memorization of all search results_median 918 ns 918 ns 10
replace const symbols with string expressions and memorization of all search results_stddev 54.4 ns 54.5 ns 10
replace const symbols with string expressions and memorization of all search results_cv 5.93 % 5.93 % 10
-- 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 159 ns 159 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_median 158 ns 158 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 4.68 ns 4.68 ns 10
Short Naive (and wrong) replace symbols with std::string find + replace_cv 2.94 % 2.94 % 10
Short replace symbols with std::string find_first_of + replace_mean 319 ns 319 ns 10
Short replace symbols with std::string find_first_of + replace_median 318 ns 318 ns 10
Short replace symbols with std::string find_first_of + replace_stddev 6.49 ns 6.49 ns 10
Short replace symbols with std::string find_first_of + replace_cv 2.03 % 2.03 % 10
Short replace symbols with std::string_view find_first_of + copy_mean 166 ns 166 ns 10
Short replace symbols with std::string_view find_first_of + copy_median 165 ns 165 ns 10
Short replace symbols with std::string_view find_first_of + copy_stddev 6.26 ns 6.26 ns 10
Short replace symbols with std::string_view find_first_of + copy_cv 3.77 % 3.77 % 10
Short replace runtime symbols with string expressions and without remembering all search results_mean 196 ns 196 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_median 194 ns 194 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_stddev 6.79 ns 6.79 ns 10
Short replace runtime symbols with string expressions and without remembering all search results_cv 3.46 % 3.46 % 10
Short replace runtime symbols with simstr and memorization of all search results_mean 211 ns 211 ns 10
Short replace runtime symbols with simstr and memorization of all search results_median 211 ns 211 ns 10
Short replace runtime symbols with simstr and memorization of all search results_stddev 8.49 ns 8.49 ns 10
Short replace runtime symbols with simstr and memorization of all search results_cv 4.03 % 4.03 % 10
Short replace const symbols with string expressions and without remembering all search results_mean 153 ns 153 ns 10
Short replace const symbols with string expressions and without remembering all search results_median 151 ns 151 ns 10
Short replace const symbols with string expressions and without remembering all search results_stddev 4.63 ns 4.63 ns 10
Short replace const symbols with string expressions and without remembering all search results_cv 3.04 % 3.04 % 10
Short replace const symbols with string expressions and memorization of all search results_mean 146 ns 146 ns 10
Short replace const symbols with string expressions and memorization of all search results_median 144 ns 144 ns 10
Short replace const symbols with string expressions and memorization of all search results_stddev 4.77 ns 4.77 ns 10
Short replace const symbols with string expressions and memorization of all search results_cv 3.26 % 3.26 % 10
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to ---- in std::string|64_mean 172 ns 172 ns 10
replace bb to ---- in std::string|64_median 170 ns 170 ns 10
replace bb to ---- in std::string|64_stddev 9.48 ns 9.48 ns 10
replace bb to ---- in std::string|64_cv 5.52 % 5.52 % 10
replace bb to ---- in std::string|256_mean 510 ns 510 ns 10
replace bb to ---- in std::string|256_median 509 ns 509 ns 10
replace bb to ---- in std::string|256_stddev 18.2 ns 18.2 ns 10
replace bb to ---- in std::string|256_cv 3.57 % 3.57 % 10
replace bb to ---- in std::string|512_mean 989 ns 989 ns 10
replace bb to ---- in std::string|512_median 975 ns 975 ns 10
replace bb to ---- in std::string|512_stddev 34.2 ns 34.2 ns 10
replace bb to ---- in std::string|512_cv 3.46 % 3.46 % 10
replace bb to ---- in std::string|1024_mean 2308 ns 2308 ns 10
replace bb to ---- in std::string|1024_median 2290 ns 2290 ns 10
replace bb to ---- in std::string|1024_stddev 157 ns 157 ns 10
replace bb to ---- in std::string|1024_cv 6.79 % 6.79 % 10
replace bb to ---- in std::string|2048_mean 5824 ns 5824 ns 10
replace bb to ---- in std::string|2048_median 5566 ns 5566 ns 10
replace bb to ---- in std::string|2048_stddev 463 ns 463 ns 10
replace bb to ---- in std::string|2048_cv 7.94 % 7.94 % 10
replace bb to ---- in lstringa<8>|64_mean 161 ns 161 ns 10
replace bb to ---- in lstringa<8>|64_median 162 ns 162 ns 10
replace bb to ---- in lstringa<8>|64_stddev 7.73 ns 7.73 ns 10
replace bb to ---- in lstringa<8>|64_cv 4.78 % 4.78 % 10
replace bb to ---- in lstringa<8>|256_mean 462 ns 462 ns 10
replace bb to ---- in lstringa<8>|256_median 461 ns 461 ns 10
replace bb to ---- in lstringa<8>|256_stddev 12.7 ns 12.7 ns 10
replace bb to ---- in lstringa<8>|256_cv 2.75 % 2.75 % 10
replace bb to ---- in lstringa<8>|512_mean 882 ns 882 ns 10
replace bb to ---- in lstringa<8>|512_median 876 ns 876 ns 10
replace bb to ---- in lstringa<8>|512_stddev 33.2 ns 33.2 ns 10
replace bb to ---- in lstringa<8>|512_cv 3.77 % 3.77 % 10
replace bb to ---- in lstringa<8>|1024_mean 1827 ns 1827 ns 10
replace bb to ---- in lstringa<8>|1024_median 1824 ns 1824 ns 10
replace bb to ---- in lstringa<8>|1024_stddev 87.4 ns 87.4 ns 10
replace bb to ---- in lstringa<8>|1024_cv 4.78 % 4.78 % 10
replace bb to ---- in lstringa<8>|2048_mean 3363 ns 3363 ns 10
replace bb to ---- in lstringa<8>|2048_median 3353 ns 3353 ns 10
replace bb to ---- in lstringa<8>|2048_stddev 123 ns 123 ns 10
replace bb to ---- in lstringa<8>|2048_cv 3.65 % 3.65 % 10
replace bb to ---- by init stringa|64_mean 104 ns 104 ns 10
replace bb to ---- by init stringa|64_median 103 ns 103 ns 10
replace bb to ---- by init stringa|64_stddev 3.90 ns 3.90 ns 10
replace bb to ---- by init stringa|64_cv 3.75 % 3.75 % 10
replace bb to ---- by init stringa|256_mean 299 ns 299 ns 10
replace bb to ---- by init stringa|256_median 299 ns 299 ns 10
replace bb to ---- by init stringa|256_stddev 10.9 ns 10.9 ns 10
replace bb to ---- by init stringa|256_cv 3.65 % 3.65 % 10
replace bb to ---- by init stringa|512_mean 733 ns 733 ns 10
replace bb to ---- by init stringa|512_median 732 ns 732 ns 10
replace bb to ---- by init stringa|512_stddev 19.5 ns 19.5 ns 10
replace bb to ---- by init stringa|512_cv 2.66 % 2.66 % 10
replace bb to ---- by init stringa|1024_mean 1625 ns 1625 ns 10
replace bb to ---- by init stringa|1024_median 1616 ns 1616 ns 10
replace bb to ---- by init stringa|1024_stddev 31.3 ns 31.3 ns 10
replace bb to ---- by init stringa|1024_cv 1.92 % 1.92 % 10
replace bb to ---- by init stringa|2048_mean 3339 ns 3339 ns 10
replace bb to ---- by init stringa|2048_median 3303 ns 3304 ns 10
replace bb to ---- by init stringa|2048_stddev 111 ns 111 ns 10
replace bb to ---- by init stringa|2048_cv 3.33 % 3.33 % 10
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
replace bb to -- in std::string|64_mean 115 ns 115 ns 10
replace bb to -- in std::string|64_median 114 ns 114 ns 10
replace bb to -- in std::string|64_stddev 3.33 ns 3.33 ns 10
replace bb to -- in std::string|64_cv 2.88 % 2.88 % 10
replace bb to -- in std::string|256_mean 367 ns 367 ns 10
replace bb to -- in std::string|256_median 361 ns 361 ns 10
replace bb to -- in std::string|256_stddev 14.7 ns 14.7 ns 10
replace bb to -- in std::string|256_cv 4.01 % 4.01 % 10
replace bb to -- in std::string|512_mean 733 ns 733 ns 10
replace bb to -- in std::string|512_median 728 ns 728 ns 10
replace bb to -- in std::string|512_stddev 15.0 ns 15.0 ns 10
replace bb to -- in std::string|512_cv 2.04 % 2.04 % 10
replace bb to -- in std::string|1024_mean 1409 ns 1409 ns 10
replace bb to -- in std::string|1024_median 1378 ns 1378 ns 10
replace bb to -- in std::string|1024_stddev 79.1 ns 79.1 ns 10
replace bb to -- in std::string|1024_cv 5.61 % 5.61 % 10
replace bb to -- in std::string|2048_mean 2902 ns 2902 ns 10
replace bb to -- in std::string|2048_median 2875 ns 2875 ns 10
replace bb to -- in std::string|2048_stddev 125 ns 125 ns 10
replace bb to -- in std::string|2048_cv 4.32 % 4.32 % 10
replace bb to -- in lstringa<8>|64_mean 103 ns 103 ns 10
replace bb to -- in lstringa<8>|64_median 105 ns 105 ns 10
replace bb to -- in lstringa<8>|64_stddev 4.91 ns 4.91 ns 10
replace bb to -- in lstringa<8>|64_cv 4.76 % 4.76 % 10
replace bb to -- in lstringa<8>|256_mean 299 ns 299 ns 10
replace bb to -- in lstringa<8>|256_median 297 ns 297 ns 10
replace bb to -- in lstringa<8>|256_stddev 9.27 ns 9.27 ns 10
replace bb to -- in lstringa<8>|256_cv 3.10 % 3.10 % 10
replace bb to -- in lstringa<8>|512_mean 548 ns 548 ns 10
replace bb to -- in lstringa<8>|512_median 540 ns 540 ns 10
replace bb to -- in lstringa<8>|512_stddev 16.4 ns 16.4 ns 10
replace bb to -- in lstringa<8>|512_cv 3.00 % 3.00 % 10
replace bb to -- in lstringa<8>|1024_mean 1133 ns 1133 ns 10
replace bb to -- in lstringa<8>|1024_median 1117 ns 1117 ns 10
replace bb to -- in lstringa<8>|1024_stddev 48.3 ns 48.3 ns 10
replace bb to -- in lstringa<8>|1024_cv 4.26 % 4.26 % 10
replace bb to -- in lstringa<8>|2048_mean 2150 ns 2150 ns 10
replace bb to -- in lstringa<8>|2048_median 2140 ns 2140 ns 10
replace bb to -- in lstringa<8>|2048_stddev 62.9 ns 62.9 ns 10
replace bb to -- in lstringa<8>|2048_cv 2.93 % 2.93 % 10
replace bb to -- by init stringa|64_mean 93.9 ns 93.9 ns 10
replace bb to -- by init stringa|64_median 93.1 ns 93.1 ns 10
replace bb to -- by init stringa|64_stddev 2.83 ns 2.83 ns 10
replace bb to -- by init stringa|64_cv 3.01 % 3.01 % 10
replace bb to -- by init stringa|256_mean 275 ns 275 ns 10
replace bb to -- by init stringa|256_median 278 ns 278 ns 10
replace bb to -- by init stringa|256_stddev 5.58 ns 5.58 ns 10
replace bb to -- by init stringa|256_cv 2.03 % 2.03 % 10
replace bb to -- by init stringa|512_mean 498 ns 498 ns 10
replace bb to -- by init stringa|512_median 496 ns 496 ns 10
replace bb to -- by init stringa|512_stddev 9.03 ns 9.03 ns 10
replace bb to -- by init stringa|512_cv 1.81 % 1.81 % 10
replace bb to -- by init stringa|1024_mean 1033 ns 1033 ns 10
replace bb to -- by init stringa|1024_median 1031 ns 1031 ns 10
replace bb to -- by init stringa|1024_stddev 17.6 ns 17.6 ns 10
replace bb to -- by init stringa|1024_cv 1.70 % 1.70 % 10
replace bb to -- by init stringa|2048_mean 1981 ns 1981 ns 10
replace bb to -- by init stringa|2048_median 1976 ns 1976 ns 10
replace bb to -- by init stringa|2048_stddev 41.8 ns 41.8 ns 10
replace bb to -- by init stringa|2048_cv 2.11 % 2.11 % 10
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
hashStrMapA<size_t> emplace & find stringa;_mean 3750693 ns 3750707 ns 10
hashStrMapA<size_t> emplace & find stringa;_median 3737012 ns 3737025 ns 10
hashStrMapA<size_t> emplace & find stringa;_stddev 75686 ns 75686 ns 10
hashStrMapA<size_t> emplace & find stringa;_cv 2.02 % 2.02 % 10
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3625926 ns 3625926 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3622724 ns 3622735 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 84320 ns 84319 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 2.33 % 2.33 % 10
hashStrMapA<size_t> emplace & find ssa;_mean 3687972 ns 3687966 ns 10
hashStrMapA<size_t> emplace & find ssa;_median 3673688 ns 3673702 ns 10
hashStrMapA<size_t> emplace & find ssa;_stddev 47692 ns 47693 ns 10
hashStrMapA<size_t> emplace & find ssa;_cv 1.29 % 1.29 % 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 3937773 ns 3937779 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 3921638 ns 3921649 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 90680 ns 90669 ns 10
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 2.30 % 2.30 % 10
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
Build func full name std::string;_mean 966 ns 966 ns 10
Build func full name std::string;_median 965 ns 965 ns 10
Build func full name std::string;_stddev 18.9 ns 18.9 ns 10
Build func full name std::string;_cv 1.96 % 1.96 % 10
Build func full name std::string 1;_mean 1010 ns 1010 ns 10
Build func full name std::string 1;_median 1001 ns 1001 ns 10
Build func full name std::string 1;_stddev 28.9 ns 28.9 ns 10
Build func full name std::string 1;_cv 2.86 % 2.86 % 10
Build func full name std::stream;_mean 2613 ns 2613 ns 10
Build func full name std::stream;_median 2577 ns 2578 ns 10
Build func full name std::stream;_stddev 69.2 ns 69.2 ns 10
Build func full name std::stream;_cv 2.65 % 2.65 % 10
Build func full name stringa;_mean 465 ns 465 ns 10
Build func full name stringa;_median 460 ns 460 ns 10
Build func full name stringa;_stddev 16.9 ns 16.9 ns 10
Build func full name stringa;_cv 3.64 % 3.64 % 10
Build func full name stringa 1;_mean 682 ns 682 ns 10
Build func full name stringa 1;_median 677 ns 677 ns 10
Build func full name stringa 1;_stddev 17.3 ns 17.3 ns 10
Build func full name stringa 1;_cv 2.54 % 2.54 % 10