mirror of https://github.com/orefkov/simstr.git
784 lines
117 KiB
Plaintext
784 lines
117 KiB
Plaintext
Run on (32 X 2513.96 MHz CPU s)
|
|
Chrome 136.0.7103.114 webasm
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
Benchmark Time CPU Iterations
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string e;_mean 3.47 ns 3.47 ns 10
|
|
std::string e;_median 3.46 ns 3.46 ns 10
|
|
std::string e;_stddev 0.077 ns 0.077 ns 10
|
|
std::string e;_cv 2.22 % 2.22 % 10
|
|
std::string_view e;_mean 3.68 ns 3.68 ns 10
|
|
std::string_view e;_median 3.68 ns 3.68 ns 10
|
|
std::string_view e;_stddev 0.025 ns 0.025 ns 10
|
|
std::string_view e;_cv 0.67 % 0.67 % 10
|
|
ssa e;_mean 2.14 ns 2.14 ns 10
|
|
ssa e;_median 2.14 ns 2.14 ns 10
|
|
ssa e;_stddev 0.022 ns 0.022 ns 10
|
|
ssa e;_cv 1.01 % 1.01 % 10
|
|
stringa e;_mean 3.66 ns 3.66 ns 10
|
|
stringa e;_median 3.66 ns 3.66 ns 10
|
|
stringa e;_stddev 0.070 ns 0.070 ns 10
|
|
stringa e;_cv 1.91 % 1.91 % 10
|
|
lstringa<20> e;_mean 3.10 ns 3.10 ns 10
|
|
lstringa<20> e;_median 3.05 ns 3.05 ns 10
|
|
lstringa<20> e;_stddev 0.112 ns 0.112 ns 10
|
|
lstringa<20> e;_cv 3.63 % 3.63 % 10
|
|
lstringa<40> e;_mean 3.10 ns 3.10 ns 10
|
|
lstringa<40> e;_median 3.10 ns 3.10 ns 10
|
|
lstringa<40> e;_stddev 0.080 ns 0.080 ns 10
|
|
lstringa<40> e;_cv 2.56 % 2.56 % 10
|
|
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string e = "Test text";_mean 4.95 ns 4.95 ns 10
|
|
std::string e = "Test text";_median 4.93 ns 4.93 ns 10
|
|
std::string e = "Test text";_stddev 0.074 ns 0.074 ns 10
|
|
std::string e = "Test text";_cv 1.50 % 1.50 % 10
|
|
std::string_view e = "Test text";_mean 2.22 ns 2.22 ns 10
|
|
std::string_view e = "Test text";_median 2.22 ns 2.22 ns 10
|
|
std::string_view e = "Test text";_stddev 0.024 ns 0.024 ns 10
|
|
std::string_view e = "Test text";_cv 1.10 % 1.10 % 10
|
|
ssa e = "Test text";_mean 2.18 ns 2.18 ns 10
|
|
ssa e = "Test text";_median 2.18 ns 2.18 ns 10
|
|
ssa e = "Test text";_stddev 0.021 ns 0.021 ns 10
|
|
ssa e = "Test text";_cv 0.99 % 0.99 % 10
|
|
stringa e = "Test text";_mean 4.69 ns 4.69 ns 10
|
|
stringa e = "Test text";_median 4.67 ns 4.67 ns 10
|
|
stringa e = "Test text";_stddev 0.087 ns 0.087 ns 10
|
|
stringa e = "Test text";_cv 1.85 % 1.85 % 10
|
|
lstringa<20> e = "Test text";_mean 6.54 ns 6.54 ns 10
|
|
lstringa<20> e = "Test text";_median 6.54 ns 6.54 ns 10
|
|
lstringa<20> e = "Test text";_stddev 0.109 ns 0.109 ns 10
|
|
lstringa<20> e = "Test text";_cv 1.67 % 1.67 % 10
|
|
lstringa<40> e = "Test text";_mean 4.02 ns 4.02 ns 10
|
|
lstringa<40> e = "Test text";_median 4.01 ns 4.01 ns 10
|
|
lstringa<40> e = "Test text";_stddev 0.090 ns 0.090 ns 10
|
|
lstringa<40> e = "Test text";_cv 2.24 % 2.24 % 10
|
|
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string e = "123456789012345678901234567890";_mean 56.3 ns 56.3 ns 10
|
|
std::string e = "123456789012345678901234567890";_median 55.8 ns 55.8 ns 10
|
|
std::string e = "123456789012345678901234567890";_stddev 2.07 ns 2.07 ns 10
|
|
std::string e = "123456789012345678901234567890";_cv 3.67 % 3.67 % 10
|
|
std::string_view e = "123456789012345678901234567890";_mean 5.05 ns 5.05 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_median 5.06 ns 5.06 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_stddev 0.026 ns 0.026 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_cv 0.52 % 0.52 % 10
|
|
ssa e = "123456789012345678901234567890";_mean 2.18 ns 2.18 ns 10
|
|
ssa e = "123456789012345678901234567890";_median 2.17 ns 2.17 ns 10
|
|
ssa e = "123456789012345678901234567890";_stddev 0.031 ns 0.031 ns 10
|
|
ssa e = "123456789012345678901234567890";_cv 1.40 % 1.40 % 10
|
|
stringa e = "123456789012345678901234567890";_mean 5.33 ns 5.33 ns 10
|
|
stringa e = "123456789012345678901234567890";_median 5.32 ns 5.32 ns 10
|
|
stringa e = "123456789012345678901234567890";_stddev 0.033 ns 0.033 ns 10
|
|
stringa e = "123456789012345678901234567890";_cv 0.63 % 0.63 % 10
|
|
lstringa<20> e = "123456789012345678901234567890";_mean 59.7 ns 59.7 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_median 59.2 ns 59.2 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_stddev 1.30 ns 1.30 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_cv 2.18 % 2.18 % 10
|
|
lstringa<40> e = "123456789012345678901234567890";_mean 6.28 ns 6.28 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_median 6.20 ns 6.20 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_stddev 0.202 ns 0.202 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_cv 3.21 % 3.21 % 10
|
|
----- Create copy of Str with 9 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string e = "Test text"; auto c{e};_mean 5.67 ns 5.67 ns 10
|
|
std::string e = "Test text"; auto c{e};_median 5.66 ns 5.66 ns 10
|
|
std::string e = "Test text"; auto c{e};_stddev 0.127 ns 0.127 ns 10
|
|
std::string e = "Test text"; auto c{e};_cv 2.24 % 2.24 % 10
|
|
std::string_view e = "Test text"; auto c{e};_mean 5.04 ns 5.04 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_median 5.03 ns 5.03 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_stddev 0.009 ns 0.009 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_cv 0.18 % 0.18 % 10
|
|
ssa e = "Test text"; auto c{e};_mean 5.02 ns 5.02 ns 10
|
|
ssa e = "Test text"; auto c{e};_median 5.02 ns 5.02 ns 10
|
|
ssa e = "Test text"; auto c{e};_stddev 0.015 ns 0.015 ns 10
|
|
ssa e = "Test text"; auto c{e};_cv 0.31 % 0.31 % 10
|
|
stringa e = "Test text"; auto c{e};_mean 4.81 ns 4.81 ns 10
|
|
stringa e = "Test text"; auto c{e};_median 4.80 ns 4.80 ns 10
|
|
stringa e = "Test text"; auto c{e};_stddev 0.075 ns 0.075 ns 10
|
|
stringa e = "Test text"; auto c{e};_cv 1.55 % 1.55 % 10
|
|
lstringa<20> e = "Test text"; auto c{e};_mean 15.8 ns 15.8 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_median 15.5 ns 15.5 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_stddev 0.819 ns 0.819 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_cv 5.19 % 5.19 % 10
|
|
lstringa<40> e = "Test text"; auto c{e};_mean 15.7 ns 15.7 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_median 15.7 ns 15.7 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_stddev 0.536 ns 0.536 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_cv 3.41 % 3.41 % 10
|
|
----- Create copy of Str with 30 symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_mean 116 ns 116 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_median 113 ns 113 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 5.88 ns 5.88 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_cv 5.06 % 5.06 % 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 5.04 ns 5.04 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 5.03 ns 5.03 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.038 ns 0.038 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 0.75 % 0.75 % 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_mean 2.20 ns 2.20 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_median 2.19 ns 2.19 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.038 ns 0.038 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.73 % 1.73 % 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_mean 5.36 ns 5.36 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_median 5.36 ns 5.36 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.068 ns 0.068 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_cv 1.28 % 1.28 % 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 67.1 ns 67.1 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 67.0 ns 67.0 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 1.65 ns 1.65 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.46 % 2.46 % 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 15.5 ns 15.5 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 15.5 ns 15.5 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.607 ns 0.607 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 3.90 % 3.90 % 10
|
|
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string::find;_mean 141 ns 141 ns 10
|
|
std::string::find;_median 138 ns 138 ns 10
|
|
std::string::find;_stddev 7.07 ns 7.07 ns 10
|
|
std::string::find;_cv 5.00 % 5.00 % 10
|
|
std::string_view::find;_mean 134 ns 134 ns 10
|
|
std::string_view::find;_median 133 ns 133 ns 10
|
|
std::string_view::find;_stddev 4.94 ns 4.94 ns 10
|
|
std::string_view::find;_cv 3.68 % 3.68 % 10
|
|
ssa::find;_mean 101 ns 101 ns 10
|
|
ssa::find;_median 102 ns 102 ns 10
|
|
ssa::find;_stddev 4.82 ns 4.82 ns 10
|
|
ssa::find;_cv 4.75 % 4.75 % 10
|
|
stringa::find;_mean 102 ns 102 ns 10
|
|
stringa::find;_median 101 ns 101 ns 10
|
|
stringa::find;_stddev 2.09 ns 2.09 ns 10
|
|
stringa::find;_cv 2.06 % 2.06 % 10
|
|
lstringa<20>::find;_mean 100 ns 100 ns 10
|
|
lstringa<20>::find;_median 100 ns 100 ns 10
|
|
lstringa<20>::find;_stddev 2.47 ns 2.47 ns 10
|
|
lstringa<20>::find;_cv 2.46 % 2.46 % 10
|
|
lstringa<40>::find;_mean 102 ns 102 ns 10
|
|
lstringa<40>::find;_median 102 ns 102 ns 10
|
|
lstringa<40>::find;_stddev 2.47 ns 2.47 ns 10
|
|
lstringa<40>::find;_cv 2.42 % 2.42 % 10
|
|
------- Copy not literal Str with N symbols ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string copy{str_with_len_N};/15_mean 117 ns 117 ns 10
|
|
std::string copy{str_with_len_N};/15_median 118 ns 118 ns 10
|
|
std::string copy{str_with_len_N};/15_stddev 2.87 ns 2.87 ns 10
|
|
std::string copy{str_with_len_N};/15_cv 2.45 % 2.45 % 10
|
|
std::string copy{str_with_len_N};/16_mean 120 ns 120 ns 10
|
|
std::string copy{str_with_len_N};/16_median 119 ns 119 ns 10
|
|
std::string copy{str_with_len_N};/16_stddev 4.25 ns 4.25 ns 10
|
|
std::string copy{str_with_len_N};/16_cv 3.54 % 3.54 % 10
|
|
std::string copy{str_with_len_N};/23_mean 119 ns 119 ns 10
|
|
std::string copy{str_with_len_N};/23_median 119 ns 119 ns 10
|
|
std::string copy{str_with_len_N};/23_stddev 4.81 ns 4.81 ns 10
|
|
std::string copy{str_with_len_N};/23_cv 4.03 % 4.03 % 10
|
|
std::string copy{str_with_len_N};/24_mean 120 ns 120 ns 10
|
|
std::string copy{str_with_len_N};/24_median 117 ns 117 ns 10
|
|
std::string copy{str_with_len_N};/24_stddev 6.96 ns 6.96 ns 10
|
|
std::string copy{str_with_len_N};/24_cv 5.78 % 5.78 % 10
|
|
std::string copy{str_with_len_N};/32_mean 124 ns 124 ns 10
|
|
std::string copy{str_with_len_N};/32_median 125 ns 125 ns 10
|
|
std::string copy{str_with_len_N};/32_stddev 4.17 ns 4.17 ns 10
|
|
std::string copy{str_with_len_N};/32_cv 3.37 % 3.37 % 10
|
|
std::string copy{str_with_len_N};/64_mean 125 ns 125 ns 10
|
|
std::string copy{str_with_len_N};/64_median 125 ns 125 ns 10
|
|
std::string copy{str_with_len_N};/64_stddev 5.21 ns 5.21 ns 10
|
|
std::string copy{str_with_len_N};/64_cv 4.16 % 4.16 % 10
|
|
std::string copy{str_with_len_N};/128_mean 122 ns 122 ns 10
|
|
std::string copy{str_with_len_N};/128_median 121 ns 121 ns 10
|
|
std::string copy{str_with_len_N};/128_stddev 5.21 ns 5.21 ns 10
|
|
std::string copy{str_with_len_N};/128_cv 4.27 % 4.27 % 10
|
|
std::string copy{str_with_len_N};/256_mean 146 ns 146 ns 10
|
|
std::string copy{str_with_len_N};/256_median 152 ns 152 ns 10
|
|
std::string copy{str_with_len_N};/256_stddev 17.4 ns 17.4 ns 10
|
|
std::string copy{str_with_len_N};/256_cv 11.94 % 11.94 % 10
|
|
std::string copy{str_with_len_N};/512_mean 163 ns 163 ns 10
|
|
std::string copy{str_with_len_N};/512_median 168 ns 168 ns 10
|
|
std::string copy{str_with_len_N};/512_stddev 37.9 ns 37.9 ns 10
|
|
std::string copy{str_with_len_N};/512_cv 23.21 % 23.21 % 10
|
|
std::string copy{str_with_len_N};/1024_mean 148 ns 148 ns 10
|
|
std::string copy{str_with_len_N};/1024_median 142 ns 142 ns 10
|
|
std::string copy{str_with_len_N};/1024_stddev 23.5 ns 23.5 ns 10
|
|
std::string copy{str_with_len_N};/1024_cv 15.86 % 15.86 % 10
|
|
std::string copy{str_with_len_N};/2048_mean 165 ns 165 ns 10
|
|
std::string copy{str_with_len_N};/2048_median 165 ns 165 ns 10
|
|
std::string copy{str_with_len_N};/2048_stddev 8.09 ns 8.09 ns 10
|
|
std::string copy{str_with_len_N};/2048_cv 4.92 % 4.92 % 10
|
|
std::string copy{str_with_len_N};/4096_mean 204 ns 204 ns 10
|
|
std::string copy{str_with_len_N};/4096_median 203 ns 203 ns 10
|
|
std::string copy{str_with_len_N};/4096_stddev 9.70 ns 9.70 ns 10
|
|
std::string copy{str_with_len_N};/4096_cv 4.76 % 4.76 % 10
|
|
stringa copy{str_with_len_N};/15_mean 4.84 ns 4.84 ns 10
|
|
stringa copy{str_with_len_N};/15_median 4.80 ns 4.80 ns 10
|
|
stringa copy{str_with_len_N};/15_stddev 0.112 ns 0.112 ns 10
|
|
stringa copy{str_with_len_N};/15_cv 2.31 % 2.31 % 10
|
|
stringa copy{str_with_len_N};/16_mean 10.3 ns 10.3 ns 10
|
|
stringa copy{str_with_len_N};/16_median 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/16_stddev 0.343 ns 0.343 ns 10
|
|
stringa copy{str_with_len_N};/16_cv 3.35 % 3.35 % 10
|
|
stringa copy{str_with_len_N};/23_mean 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/23_median 10.2 ns 10.2 ns 10
|
|
stringa copy{str_with_len_N};/23_stddev 0.210 ns 0.210 ns 10
|
|
stringa copy{str_with_len_N};/23_cv 2.07 % 2.07 % 10
|
|
stringa copy{str_with_len_N};/24_mean 10.2 ns 10.2 ns 10
|
|
stringa copy{str_with_len_N};/24_median 10.2 ns 10.2 ns 10
|
|
stringa copy{str_with_len_N};/24_stddev 0.244 ns 0.244 ns 10
|
|
stringa copy{str_with_len_N};/24_cv 2.40 % 2.40 % 10
|
|
stringa copy{str_with_len_N};/32_mean 10.2 ns 10.2 ns 10
|
|
stringa copy{str_with_len_N};/32_median 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/32_stddev 0.203 ns 0.204 ns 10
|
|
stringa copy{str_with_len_N};/32_cv 2.00 % 2.00 % 10
|
|
stringa copy{str_with_len_N};/64_mean 10.0 ns 10.0 ns 10
|
|
stringa copy{str_with_len_N};/64_median 10.0 ns 10.0 ns 10
|
|
stringa copy{str_with_len_N};/64_stddev 0.134 ns 0.134 ns 10
|
|
stringa copy{str_with_len_N};/64_cv 1.34 % 1.34 % 10
|
|
stringa copy{str_with_len_N};/128_mean 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/128_median 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/128_stddev 0.171 ns 0.171 ns 10
|
|
stringa copy{str_with_len_N};/128_cv 1.70 % 1.71 % 10
|
|
stringa copy{str_with_len_N};/256_mean 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/256_median 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/256_stddev 0.138 ns 0.138 ns 10
|
|
stringa copy{str_with_len_N};/256_cv 1.37 % 1.37 % 10
|
|
stringa copy{str_with_len_N};/512_mean 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/512_median 10.0 ns 10.0 ns 10
|
|
stringa copy{str_with_len_N};/512_stddev 0.187 ns 0.187 ns 10
|
|
stringa copy{str_with_len_N};/512_cv 1.85 % 1.85 % 10
|
|
stringa copy{str_with_len_N};/1024_mean 10.0 ns 10.0 ns 10
|
|
stringa copy{str_with_len_N};/1024_median 9.97 ns 9.97 ns 10
|
|
stringa copy{str_with_len_N};/1024_stddev 0.168 ns 0.168 ns 10
|
|
stringa copy{str_with_len_N};/1024_cv 1.68 % 1.68 % 10
|
|
stringa copy{str_with_len_N};/2048_mean 10.0 ns 10.0 ns 10
|
|
stringa copy{str_with_len_N};/2048_median 10.0 ns 10.0 ns 10
|
|
stringa copy{str_with_len_N};/2048_stddev 0.121 ns 0.121 ns 10
|
|
stringa copy{str_with_len_N};/2048_cv 1.21 % 1.21 % 10
|
|
stringa copy{str_with_len_N};/4096_mean 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/4096_median 10.1 ns 10.1 ns 10
|
|
stringa copy{str_with_len_N};/4096_stddev 0.091 ns 0.091 ns 10
|
|
stringa copy{str_with_len_N};/4096_cv 0.90 % 0.90 % 10
|
|
lstringa<16> copy{str_with_len_N};/15_mean 15.7 ns 15.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_median 15.8 ns 15.8 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_stddev 0.435 ns 0.435 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_cv 2.78 % 2.78 % 10
|
|
lstringa<16> copy{str_with_len_N};/16_mean 16.1 ns 16.1 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_median 16.1 ns 16.1 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_stddev 0.768 ns 0.768 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_cv 4.76 % 4.76 % 10
|
|
lstringa<16> copy{str_with_len_N};/23_mean 75.4 ns 75.4 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_median 75.3 ns 75.3 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_stddev 3.08 ns 3.08 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_cv 4.08 % 4.08 % 10
|
|
lstringa<16> copy{str_with_len_N};/24_mean 76.2 ns 76.2 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_median 75.6 ns 75.6 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_stddev 4.31 ns 4.31 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_cv 5.66 % 5.66 % 10
|
|
lstringa<16> copy{str_with_len_N};/32_mean 82.1 ns 82.1 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_median 82.8 ns 82.8 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_stddev 5.50 ns 5.50 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_cv 6.70 % 6.70 % 10
|
|
lstringa<16> copy{str_with_len_N};/64_mean 78.1 ns 78.1 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_median 78.0 ns 78.0 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_stddev 2.56 ns 2.56 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_cv 3.27 % 3.27 % 10
|
|
lstringa<16> copy{str_with_len_N};/128_mean 79.2 ns 79.2 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_median 77.8 ns 77.8 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_stddev 3.51 ns 3.51 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_cv 4.44 % 4.44 % 10
|
|
lstringa<16> copy{str_with_len_N};/256_mean 103 ns 103 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_median 110 ns 110 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_stddev 16.2 ns 16.2 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_cv 15.73 % 15.73 % 10
|
|
lstringa<16> copy{str_with_len_N};/512_mean 121 ns 121 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_median 120 ns 120 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_stddev 39.3 ns 39.3 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_cv 32.53 % 32.53 % 10
|
|
lstringa<16> copy{str_with_len_N};/1024_mean 107 ns 107 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_median 103 ns 103 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_stddev 25.3 ns 25.3 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_cv 23.61 % 23.61 % 10
|
|
lstringa<16> copy{str_with_len_N};/2048_mean 123 ns 123 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_median 122 ns 122 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_stddev 7.32 ns 7.32 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_cv 5.96 % 5.96 % 10
|
|
lstringa<16> copy{str_with_len_N};/4096_mean 160 ns 160 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_median 161 ns 161 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_stddev 13.4 ns 13.4 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_cv 8.38 % 8.38 % 10
|
|
lstringa<512> copy{str_with_len_N};/15_mean 15.3 ns 15.3 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_median 15.2 ns 15.2 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_stddev 0.277 ns 0.277 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_cv 1.82 % 1.82 % 10
|
|
lstringa<512> copy{str_with_len_N};/16_mean 15.1 ns 15.1 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_median 15.2 ns 15.2 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_stddev 0.358 ns 0.358 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_cv 2.37 % 2.37 % 10
|
|
lstringa<512> copy{str_with_len_N};/23_mean 15.6 ns 15.6 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_median 15.6 ns 15.6 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_stddev 0.607 ns 0.607 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_cv 3.89 % 3.89 % 10
|
|
lstringa<512> copy{str_with_len_N};/24_mean 15.3 ns 15.3 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_median 15.3 ns 15.3 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_stddev 0.619 ns 0.619 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_cv 4.05 % 4.05 % 10
|
|
lstringa<512> copy{str_with_len_N};/32_mean 17.2 ns 17.2 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_median 17.1 ns 17.1 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_stddev 0.672 ns 0.672 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_cv 3.90 % 3.90 % 10
|
|
lstringa<512> copy{str_with_len_N};/64_mean 18.3 ns 18.3 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_median 18.1 ns 18.1 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_stddev 0.938 ns 0.938 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_cv 5.14 % 5.14 % 10
|
|
lstringa<512> copy{str_with_len_N};/128_mean 19.1 ns 19.1 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_median 19.1 ns 19.1 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_stddev 0.733 ns 0.733 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_cv 3.84 % 3.84 % 10
|
|
lstringa<512> copy{str_with_len_N};/256_mean 32.3 ns 32.3 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_median 32.3 ns 32.3 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_stddev 0.534 ns 0.534 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_cv 1.65 % 1.65 % 10
|
|
lstringa<512> copy{str_with_len_N};/512_mean 33.8 ns 33.8 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_median 33.7 ns 33.7 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_stddev 0.661 ns 0.661 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_cv 1.95 % 1.95 % 10
|
|
lstringa<512> copy{str_with_len_N};/1024_mean 106 ns 106 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_median 101 ns 101 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_stddev 26.1 ns 26.1 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_cv 24.65 % 24.65 % 10
|
|
lstringa<512> copy{str_with_len_N};/2048_mean 119 ns 119 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_median 119 ns 119 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_stddev 6.93 ns 6.93 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_cv 5.81 % 5.81 % 10
|
|
lstringa<512> copy{str_with_len_N};/4096_mean 162 ns 162 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_median 163 ns 163 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_stddev 10.0 ns 10.0 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_cv 6.19 % 6.19 % 10
|
|
----- Convert to int '1234567' ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_mean 205 ns 205 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 206 ns 206 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 6.93 ns 6.93 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 3.39 % 3.39 % 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10); ERROR OCCURRED: 'not implemented'
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 55.2 ns 55.2 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 54.5 ns 54.5 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 1.79 ns 1.79 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.25 % 3.25 % 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 51.0 ns 51.0 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 51.1 ns 51.1 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 1.67 ns 1.67 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.27 % 3.27 % 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 52.1 ns 52.1 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 51.3 ns 51.3 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 1.94 ns 1.94 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 3.73 % 3.73 % 10
|
|
----- Convert to unsigned 'abcDef' ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_mean 149 ns 149 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 149 ns 149 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 3.19 ns 3.19 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 2.14 % 2.14 % 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16); ERROR OCCURRED: 'not implemented'
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 51.8 ns 51.8 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 51.5 ns 51.5 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.900 ns 0.900 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.74 % 1.74 % 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 50.0 ns 50.0 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 50.1 ns 50.1 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.773 ns 0.773 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.55 % 1.55 % 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 51.4 ns 51.4 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 50.8 ns 50.8 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 1.46 ns 1.46 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.84 % 2.84 % 10
|
|
----- Convert to int ' 1234567' ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_mean 216 ns 216 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 215 ns 215 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 9.26 ns 9.26 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 4.28 % 4.28 % 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 74.8 ns 74.8 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 75.4 ns 75.4 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 2.69 ns 2.69 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 3.60 % 3.60 % 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 51.3 ns 51.3 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 51.3 ns 51.3 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.921 ns 0.921 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.79 % 1.79 % 10
|
|
-- Append const literal of 16 bytes 64 times, 1024 total length --/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_mean 11603 ns 11603 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_median 11482 ns 11482 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 292 ns 292 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 2.51 % 2.51 % 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_mean 1138 ns 1138 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_median 1122 ns 1122 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_stddev 58.6 ns 58.6 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_cv 5.15 % 5.15 % 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 1204 ns 1204 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 1191 ns 1191 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 54.3 ns 54.3 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 4.51 % 4.51 % 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 873 ns 873 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 871 ns 871 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 60.7 ns 60.7 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 6.95 % 6.95 % 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 640 ns 640 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 638 ns 638 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 38.9 ns 38.9 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 6.08 % 6.08 % 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 498 ns 498 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 497 ns 497 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 9.13 ns 9.13 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 1.83 % 1.83 % 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 1000000000
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_mean 11698 ns 11698 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 11738 ns 11738 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 210 ns 210 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 1.80 % 1.80 % 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 4015 ns 4015 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 4012 ns 4012 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 170 ns 170 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 4.23 % 4.23 % 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 1435 ns 1435 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 1436 ns 1436 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 35.8 ns 35.8 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.49 % 2.49 % 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 1128 ns 1128 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 1147 ns 1147 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 69.6 ns 69.6 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 6.17 % 6.17 % 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 858 ns 858 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 846 ns 846 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 40.9 ns 40.9 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 4.76 % 4.76 % 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 730 ns 730 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 724 ns 724 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 22.2 ns 22.2 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.03 % 3.03 % 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 1000000000
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_mean 581542 ns 581546 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 576314 ns 576319 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 14331 ns 14332 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 2.46 % 2.46 % 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 207680 ns 207682 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 209032 ns 209032 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 7880 ns 7881 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.79 % 3.79 % 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 52577 ns 52578 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 51856 ns 51856 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1859 ns 1859 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 3.53 % 3.53 % 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 49889 ns 49889 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 49640 ns 49640 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 922 ns 922 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.85 % 1.85 % 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 50097 ns 50097 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 50166 ns 50166 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 997 ns 997 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.99 % 1.99 % 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 49930 ns 49930 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 49358 ns 49359 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 1206 ns 1206 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.42 % 2.42 % 10
|
|
-- Append 2 string of 16 bytes 32 times, 1024 total length --/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::stringstream str; ... str << str_var1 << str_var2;_mean 11739 ns 11739 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_median 11709 ns 11709 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_stddev 342 ns 342 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_cv 2.91 % 2.91 % 10
|
|
std::string str; ... str += str_var1 + str_var2;_mean 4587 ns 4587 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_median 4642 ns 4642 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_stddev 172 ns 172 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_cv 3.75 % 3.75 % 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_mean 1593 ns 1593 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_median 1590 ns 1590 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 43.9 ns 43.9 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_cv 2.75 % 2.75 % 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_mean 1343 ns 1343 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_median 1326 ns 1326 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 62.5 ns 62.5 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_cv 4.65 % 4.65 % 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_mean 1057 ns 1057 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_median 1058 ns 1058 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 38.9 ns 38.9 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_cv 3.68 % 3.68 % 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 929 ns 929 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_median 925 ns 925 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 22.0 ns 21.9 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 2.36 % 2.36 % 10
|
|
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::stringstream str; str << "test = " << k << " times";_mean 19990 ns 19990 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_median 19963 ns 19963 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_stddev 939 ns 939 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_cv 4.70 % 4.70 % 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_mean 3781 ns 3781 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_median 3755 ns 3755 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_stddev 158 ns 158 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_cv 4.19 % 4.19 % 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 8018 ns 8018 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 7947 ns 7947 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 213 ns 213 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 2.66 % 2.66 % 10
|
|
std::string str = std::format("test = {} times", k);_mean 5058 ns 5058 ns 10
|
|
std::string str = std::format("test = {} times", k);_median 5013 ns 5013 ns 10
|
|
std::string str = std::format("test = {} times", k);_stddev 252 ns 252 ns 10
|
|
std::string str = std::format("test = {} times", k);_cv 4.98 % 4.98 % 10
|
|
lstringa<8> str; str.format("test = {} times", k);_mean 7141 ns 7141 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_median 7164 ns 7164 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_stddev 186 ns 186 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_cv 2.60 % 2.60 % 10
|
|
lstringa<32> str; str.format("test = {} times", k);_mean 5041 ns 5041 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_median 4992 ns 4992 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_stddev 144 ns 144 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_cv 2.86 % 2.86 % 10
|
|
lstringa<8> str = "test = " + k + " times";_mean 1865 ns 1865 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_median 1834 ns 1834 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_stddev 81.0 ns 81.1 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_cv 4.35 % 4.35 % 10
|
|
lstringa<32> str = "test = " + k + " times";_mean 1202 ns 1202 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_median 1208 ns 1208 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_stddev 33.4 ns 33.4 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_cv 2.78 % 2.78 % 10
|
|
stringa str = "test = " + k + " times";_mean 1715 ns 1715 ns 10
|
|
stringa str = "test = " + k + " times";_median 1691 ns 1691 ns 10
|
|
stringa str = "test = " + k + " times";_stddev 87.3 ns 87.3 ns 10
|
|
stringa str = "test = " + k + " times";_cv 5.09 % 5.09 % 10
|
|
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string::find + substr + std::strtol_mean 1618 ns 1618 ns 10
|
|
std::string::find + substr + std::strtol_median 1612 ns 1612 ns 10
|
|
std::string::find + substr + std::strtol_stddev 62.7 ns 62.7 ns 10
|
|
std::string::find + substr + std::strtol_cv 3.87 % 3.87 % 10
|
|
ssa::splitter + ssa::as_int_mean 655 ns 655 ns 10
|
|
ssa::splitter + ssa::as_int_median 657 ns 657 ns 10
|
|
ssa::splitter + ssa::as_int_stddev 18.0 ns 18.0 ns 10
|
|
ssa::splitter + ssa::as_int_cv 2.75 % 2.75 % 10
|
|
ssa::splitf + functor_mean 899 ns 899 ns 10
|
|
ssa::splitf + functor_median 894 ns 894 ns 10
|
|
ssa::splitf + functor_stddev 33.7 ns 33.7 ns 10
|
|
ssa::splitf + functor_cv 3.75 % 3.75 % 10
|
|
-- Replace symbols in text ~400 symbols --/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
Naive (and wrong) replace symbols with std::string find + replace_mean 6193 ns 6193 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_median 6168 ns 6168 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_stddev 264 ns 264 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_cv 4.26 % 4.26 % 10
|
|
replace symbols with std::string find_first_of + replace_mean 9978 ns 9978 ns 10
|
|
replace symbols with std::string find_first_of + replace_median 9940 ns 9940 ns 10
|
|
replace symbols with std::string find_first_of + replace_stddev 147 ns 147 ns 10
|
|
replace symbols with std::string find_first_of + replace_cv 1.48 % 1.48 % 10
|
|
replace symbols with std::string_view find_first_of + copy_mean 10198 ns 10198 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_median 10229 ns 10229 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_stddev 361 ns 361 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_cv 3.54 % 3.54 % 10
|
|
replace runtime symbols with string expressions and without remembering all search results_mean 5706 ns 5706 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_median 5705 ns 5705 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_stddev 208 ns 208 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_cv 3.65 % 3.65 % 10
|
|
replace runtime symbols with simstr and memorization of all search results_mean 5029 ns 5029 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_median 5010 ns 5010 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_stddev 172 ns 172 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_cv 3.41 % 3.41 % 10
|
|
replace const symbols with string expressions and without remembering all search results_mean 4946 ns 4946 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_median 4876 ns 4876 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_stddev 239 ns 239 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_cv 4.84 % 4.84 % 10
|
|
replace const symbols with string expressions and memorization of all search results_mean 4198 ns 4198 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_median 4225 ns 4225 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_stddev 117 ns 117 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_cv 2.78 % 2.78 % 10
|
|
-- Replace symbols in text ~40 symbols --/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_mean 1016 ns 1016 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_median 1026 ns 1026 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 47.9 ns 47.9 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_cv 4.71 % 4.71 % 10
|
|
Short replace symbols with std::string find_first_of + replace_mean 1431 ns 1431 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_median 1441 ns 1441 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_stddev 65.0 ns 65.0 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_cv 4.54 % 4.54 % 10
|
|
Short replace symbols with std::string_view find_first_of + copy_mean 1417 ns 1417 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_median 1410 ns 1410 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_stddev 50.9 ns 50.9 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_cv 3.59 % 3.59 % 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_mean 795 ns 795 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_median 800 ns 800 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_stddev 30.4 ns 30.5 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_cv 3.83 % 3.83 % 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_mean 847 ns 847 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_median 844 ns 844 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_stddev 15.6 ns 15.6 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_cv 1.84 % 1.84 % 10
|
|
Short replace const symbols with string expressions and without remembering all search results_mean 626 ns 626 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_median 624 ns 624 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_stddev 22.5 ns 22.5 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_cv 3.60 % 3.60 % 10
|
|
Short replace const symbols with string expressions and memorization of all search results_mean 706 ns 706 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_median 696 ns 696 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_stddev 33.5 ns 33.5 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_cv 4.75 % 4.75 % 10
|
|
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
replace bb to ---- in std::string|64_mean 832 ns 832 ns 10
|
|
replace bb to ---- in std::string|64_median 840 ns 840 ns 10
|
|
replace bb to ---- in std::string|64_stddev 48.0 ns 48.0 ns 10
|
|
replace bb to ---- in std::string|64_cv 5.77 % 5.77 % 10
|
|
replace bb to ---- in std::string|256_mean 2559 ns 2559 ns 10
|
|
replace bb to ---- in std::string|256_median 2526 ns 2526 ns 10
|
|
replace bb to ---- in std::string|256_stddev 150 ns 150 ns 10
|
|
replace bb to ---- in std::string|256_cv 5.88 % 5.88 % 10
|
|
replace bb to ---- in std::string|512_mean 4466 ns 4466 ns 10
|
|
replace bb to ---- in std::string|512_median 4489 ns 4489 ns 10
|
|
replace bb to ---- in std::string|512_stddev 88.8 ns 88.8 ns 10
|
|
replace bb to ---- in std::string|512_cv 1.99 % 1.99 % 10
|
|
replace bb to ---- in std::string|1024_mean 8916 ns 8916 ns 10
|
|
replace bb to ---- in std::string|1024_median 8819 ns 8819 ns 10
|
|
replace bb to ---- in std::string|1024_stddev 415 ns 415 ns 10
|
|
replace bb to ---- in std::string|1024_cv 4.65 % 4.65 % 10
|
|
replace bb to ---- in std::string|2048_mean 19324 ns 19324 ns 10
|
|
replace bb to ---- in std::string|2048_median 19249 ns 19249 ns 10
|
|
replace bb to ---- in std::string|2048_stddev 511 ns 511 ns 10
|
|
replace bb to ---- in std::string|2048_cv 2.65 % 2.65 % 10
|
|
replace bb to ---- in lstringa<8>|64_mean 749 ns 749 ns 10
|
|
replace bb to ---- in lstringa<8>|64_median 752 ns 752 ns 10
|
|
replace bb to ---- in lstringa<8>|64_stddev 17.0 ns 17.0 ns 10
|
|
replace bb to ---- in lstringa<8>|64_cv 2.28 % 2.28 % 10
|
|
replace bb to ---- in lstringa<8>|256_mean 2053 ns 2053 ns 10
|
|
replace bb to ---- in lstringa<8>|256_median 2088 ns 2088 ns 10
|
|
replace bb to ---- in lstringa<8>|256_stddev 98.5 ns 98.5 ns 10
|
|
replace bb to ---- in lstringa<8>|256_cv 4.80 % 4.80 % 10
|
|
replace bb to ---- in lstringa<8>|512_mean 3754 ns 3754 ns 10
|
|
replace bb to ---- in lstringa<8>|512_median 3695 ns 3695 ns 10
|
|
replace bb to ---- in lstringa<8>|512_stddev 162 ns 162 ns 10
|
|
replace bb to ---- in lstringa<8>|512_cv 4.32 % 4.32 % 10
|
|
replace bb to ---- in lstringa<8>|1024_mean 6775 ns 6775 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_median 6776 ns 6776 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_stddev 196 ns 196 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_cv 2.89 % 2.89 % 10
|
|
replace bb to ---- in lstringa<8>|2048_mean 13478 ns 13478 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_median 13420 ns 13421 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_stddev 436 ns 436 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_cv 3.24 % 3.24 % 10
|
|
replace bb to ---- by init stringa|64_mean 503 ns 503 ns 10
|
|
replace bb to ---- by init stringa|64_median 504 ns 504 ns 10
|
|
replace bb to ---- by init stringa|64_stddev 19.5 ns 19.5 ns 10
|
|
replace bb to ---- by init stringa|64_cv 3.86 % 3.86 % 10
|
|
replace bb to ---- by init stringa|256_mean 1848 ns 1848 ns 10
|
|
replace bb to ---- by init stringa|256_median 1828 ns 1828 ns 10
|
|
replace bb to ---- by init stringa|256_stddev 80.6 ns 80.6 ns 10
|
|
replace bb to ---- by init stringa|256_cv 4.36 % 4.36 % 10
|
|
replace bb to ---- by init stringa|512_mean 3537 ns 3537 ns 10
|
|
replace bb to ---- by init stringa|512_median 3552 ns 3552 ns 10
|
|
replace bb to ---- by init stringa|512_stddev 85.6 ns 85.6 ns 10
|
|
replace bb to ---- by init stringa|512_cv 2.42 % 2.42 % 10
|
|
replace bb to ---- by init stringa|1024_mean 6923 ns 6923 ns 10
|
|
replace bb to ---- by init stringa|1024_median 6991 ns 6991 ns 10
|
|
replace bb to ---- by init stringa|1024_stddev 177 ns 177 ns 10
|
|
replace bb to ---- by init stringa|1024_cv 2.55 % 2.55 % 10
|
|
replace bb to ---- by init stringa|2048_mean 13739 ns 13739 ns 10
|
|
replace bb to ---- by init stringa|2048_median 13659 ns 13660 ns 10
|
|
replace bb to ---- by init stringa|2048_stddev 473 ns 473 ns 10
|
|
replace bb to ---- by init stringa|2048_cv 3.44 % 3.44 % 10
|
|
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
replace bb to -- in std::string|64_mean 570 ns 570 ns 10
|
|
replace bb to -- in std::string|64_median 565 ns 565 ns 10
|
|
replace bb to -- in std::string|64_stddev 20.7 ns 20.7 ns 10
|
|
replace bb to -- in std::string|64_cv 3.63 % 3.63 % 10
|
|
replace bb to -- in std::string|256_mean 1885 ns 1885 ns 10
|
|
replace bb to -- in std::string|256_median 1910 ns 1910 ns 10
|
|
replace bb to -- in std::string|256_stddev 84.9 ns 84.8 ns 10
|
|
replace bb to -- in std::string|256_cv 4.50 % 4.50 % 10
|
|
replace bb to -- in std::string|512_mean 3523 ns 3523 ns 10
|
|
replace bb to -- in std::string|512_median 3551 ns 3551 ns 10
|
|
replace bb to -- in std::string|512_stddev 110 ns 110 ns 10
|
|
replace bb to -- in std::string|512_cv 3.13 % 3.13 % 10
|
|
replace bb to -- in std::string|1024_mean 6916 ns 6916 ns 10
|
|
replace bb to -- in std::string|1024_median 6933 ns 6933 ns 10
|
|
replace bb to -- in std::string|1024_stddev 153 ns 153 ns 10
|
|
replace bb to -- in std::string|1024_cv 2.21 % 2.21 % 10
|
|
replace bb to -- in std::string|2048_mean 13510 ns 13510 ns 10
|
|
replace bb to -- in std::string|2048_median 13336 ns 13336 ns 10
|
|
replace bb to -- in std::string|2048_stddev 539 ns 539 ns 10
|
|
replace bb to -- in std::string|2048_cv 3.99 % 3.99 % 10
|
|
replace bb to -- in lstringa<8>|64_mean 482 ns 482 ns 10
|
|
replace bb to -- in lstringa<8>|64_median 481 ns 481 ns 10
|
|
replace bb to -- in lstringa<8>|64_stddev 9.24 ns 9.24 ns 10
|
|
replace bb to -- in lstringa<8>|64_cv 1.92 % 1.92 % 10
|
|
replace bb to -- in lstringa<8>|256_mean 1565 ns 1565 ns 10
|
|
replace bb to -- in lstringa<8>|256_median 1571 ns 1571 ns 10
|
|
replace bb to -- in lstringa<8>|256_stddev 44.1 ns 44.1 ns 10
|
|
replace bb to -- in lstringa<8>|256_cv 2.82 % 2.82 % 10
|
|
replace bb to -- in lstringa<8>|512_mean 2921 ns 2921 ns 10
|
|
replace bb to -- in lstringa<8>|512_median 2922 ns 2922 ns 10
|
|
replace bb to -- in lstringa<8>|512_stddev 85.4 ns 85.4 ns 10
|
|
replace bb to -- in lstringa<8>|512_cv 2.92 % 2.92 % 10
|
|
replace bb to -- in lstringa<8>|1024_mean 5594 ns 5594 ns 10
|
|
replace bb to -- in lstringa<8>|1024_median 5521 ns 5521 ns 10
|
|
replace bb to -- in lstringa<8>|1024_stddev 211 ns 211 ns 10
|
|
replace bb to -- in lstringa<8>|1024_cv 3.78 % 3.78 % 10
|
|
replace bb to -- in lstringa<8>|2048_mean 10928 ns 10928 ns 10
|
|
replace bb to -- in lstringa<8>|2048_median 10821 ns 10821 ns 10
|
|
replace bb to -- in lstringa<8>|2048_stddev 362 ns 362 ns 10
|
|
replace bb to -- in lstringa<8>|2048_cv 3.32 % 3.32 % 10
|
|
replace bb to -- by init stringa|64_mean 366 ns 366 ns 10
|
|
replace bb to -- by init stringa|64_median 366 ns 366 ns 10
|
|
replace bb to -- by init stringa|64_stddev 7.95 ns 7.95 ns 10
|
|
replace bb to -- by init stringa|64_cv 2.17 % 2.17 % 10
|
|
replace bb to -- by init stringa|256_mean 1224 ns 1224 ns 10
|
|
replace bb to -- by init stringa|256_median 1222 ns 1222 ns 10
|
|
replace bb to -- by init stringa|256_stddev 47.7 ns 47.7 ns 10
|
|
replace bb to -- by init stringa|256_cv 3.90 % 3.90 % 10
|
|
replace bb to -- by init stringa|512_mean 2221 ns 2221 ns 10
|
|
replace bb to -- by init stringa|512_median 2224 ns 2224 ns 10
|
|
replace bb to -- by init stringa|512_stddev 51.5 ns 51.5 ns 10
|
|
replace bb to -- by init stringa|512_cv 2.32 % 2.32 % 10
|
|
replace bb to -- by init stringa|1024_mean 4235 ns 4235 ns 10
|
|
replace bb to -- by init stringa|1024_median 4272 ns 4272 ns 10
|
|
replace bb to -- by init stringa|1024_stddev 139 ns 139 ns 10
|
|
replace bb to -- by init stringa|1024_cv 3.29 % 3.29 % 10
|
|
replace bb to -- by init stringa|2048_mean 8496 ns 8496 ns 10
|
|
replace bb to -- by init stringa|2048_median 8383 ns 8383 ns 10
|
|
replace bb to -- by init stringa|2048_stddev 251 ns 251 ns 10
|
|
replace bb to -- by init stringa|2048_cv 2.95 % 2.95 % 10
|
|
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
hashStrMapA<size_t> emplace & find stringa;_mean 5327536 ns 5327558 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_median 5331817 ns 5331835 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_stddev 108137 ns 108137 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_cv 2.03 % 2.03 % 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 6172235 ns 6172321 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_median 6158878 ns 6158954 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 213624 ns 213652 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 3.46 % 3.46 % 10
|
|
hashStrMapA<size_t> emplace & find ssa;_mean 5318092 ns 5318133 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_median 5302064 ns 5302156 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_stddev 102639 ns 102632 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_cv 1.93 % 1.93 % 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 7002408 ns 7002477 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6998707 ns 6998736 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 160708 ns 160734 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 1000000000
|
|
Build func full name std::string;_mean 5576 ns 5576 ns 10
|
|
Build func full name std::string;_median 5532 ns 5532 ns 10
|
|
Build func full name std::string;_stddev 298 ns 298 ns 10
|
|
Build func full name std::string;_cv 5.35 % 5.35 % 10
|
|
Build func full name std::string 1;_mean 5877 ns 5877 ns 10
|
|
Build func full name std::string 1;_median 5896 ns 5896 ns 10
|
|
Build func full name std::string 1;_stddev 247 ns 247 ns 10
|
|
Build func full name std::string 1;_cv 4.20 % 4.20 % 10
|
|
Build func full name std::stream;_mean 16604 ns 16604 ns 10
|
|
Build func full name std::stream;_median 16552 ns 16552 ns 10
|
|
Build func full name std::stream;_stddev 530 ns 530 ns 10
|
|
Build func full name std::stream;_cv 3.19 % 3.19 % 10
|
|
Build func full name stringa;_mean 2780 ns 2780 ns 10
|
|
Build func full name stringa;_median 2749 ns 2749 ns 10
|
|
Build func full name stringa;_stddev 87.2 ns 87.2 ns 10
|
|
Build func full name stringa;_cv 3.13 % 3.14 % 10
|
|
Build func full name stringa 1;_mean 3249 ns 3249 ns 10
|
|
Build func full name stringa 1;_median 3205 ns 3205 ns 10
|
|
Build func full name stringa 1;_stddev 137 ns 137 ns 10
|
|
Build func full name stringa 1;_cv 4.22 % 4.22 % 10
|