mirror of https://github.com/orefkov/simstr.git
791 lines
117 KiB
Plaintext
791 lines
117 KiB
Plaintext
2025-11-26T18:59:15+03:00
|
|
Running benchStr.exe
|
|
Run on (32 X 2494 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)
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
Benchmark Time CPU Iterations
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e;_mean 1.11 ns 1.11 ns 10
|
|
std::string e;_median 1.11 ns 1.10 ns 10
|
|
std::string e;_stddev 0.029 ns 0.026 ns 10
|
|
std::string e;_cv 2.61 % 2.37 % 10
|
|
std::string_view e;_mean 0.368 ns 0.368 ns 10
|
|
std::string_view e;_median 0.365 ns 0.367 ns 10
|
|
std::string_view e;_stddev 0.012 ns 0.012 ns 10
|
|
std::string_view e;_cv 3.19 % 3.29 % 10
|
|
ssa e;_mean 0.361 ns 0.361 ns 10
|
|
ssa e;_median 0.360 ns 0.360 ns 10
|
|
ssa e;_stddev 0.006 ns 0.006 ns 10
|
|
ssa e;_cv 1.55 % 1.71 % 10
|
|
stringa e;_mean 0.736 ns 0.732 ns 10
|
|
stringa e;_median 0.736 ns 0.732 ns 10
|
|
stringa e;_stddev 0.011 ns 0.016 ns 10
|
|
stringa e;_cv 1.51 % 2.24 % 10
|
|
lstringa<20> e;_mean 1.12 ns 1.11 ns 10
|
|
lstringa<20> e;_median 1.12 ns 1.12 ns 10
|
|
lstringa<20> e;_stddev 0.016 ns 0.013 ns 10
|
|
lstringa<20> e;_cv 1.39 % 1.13 % 10
|
|
lstringa<40> e;_mean 1.13 ns 1.12 ns 10
|
|
lstringa<40> e;_median 1.14 ns 1.12 ns 10
|
|
lstringa<40> e;_stddev 0.027 ns 0.022 ns 10
|
|
lstringa<40> e;_cv 2.40 % 1.96 % 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.86 ns 10
|
|
std::string e = "Test text";_median 1.85 ns 1.84 ns 10
|
|
std::string e = "Test text";_stddev 0.065 ns 0.056 ns 10
|
|
std::string e = "Test text";_cv 3.47 % 3.04 % 10
|
|
std::string_view e = "Test text";_mean 0.727 ns 0.722 ns 10
|
|
std::string_view e = "Test text";_median 0.725 ns 0.715 ns 10
|
|
std::string_view e = "Test text";_stddev 0.009 ns 0.015 ns 10
|
|
std::string_view e = "Test text";_cv 1.26 % 2.04 % 10
|
|
ssa e = "Test text";_mean 0.364 ns 0.363 ns 10
|
|
ssa e = "Test text";_median 0.365 ns 0.365 ns 10
|
|
ssa e = "Test text";_stddev 0.004 ns 0.007 ns 10
|
|
ssa e = "Test text";_cv 1.20 % 2.03 % 10
|
|
stringa e = "Test text";_mean 1.10 ns 1.09 ns 10
|
|
stringa e = "Test text";_median 1.10 ns 1.10 ns 10
|
|
stringa e = "Test text";_stddev 0.015 ns 0.016 ns 10
|
|
stringa e = "Test text";_cv 1.36 % 1.51 % 10
|
|
lstringa<20> e = "Test text";_mean 1.85 ns 1.85 ns 10
|
|
lstringa<20> e = "Test text";_median 1.85 ns 1.84 ns 10
|
|
lstringa<20> e = "Test text";_stddev 0.029 ns 0.042 ns 10
|
|
lstringa<20> e = "Test text";_cv 1.55 % 2.25 % 10
|
|
lstringa<40> e = "Test text";_mean 1.84 ns 1.83 ns 10
|
|
lstringa<40> e = "Test text";_median 1.84 ns 1.82 ns 10
|
|
lstringa<40> e = "Test text";_stddev 0.023 ns 0.034 ns 10
|
|
lstringa<40> e = "Test text";_cv 1.26 % 1.88 % 10
|
|
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string e = "123456789012345678901234567890";_mean 78.5 ns 77.8 ns 10
|
|
std::string e = "123456789012345678901234567890";_median 78.6 ns 78.5 ns 10
|
|
std::string e = "123456789012345678901234567890";_stddev 0.991 ns 1.47 ns 10
|
|
std::string e = "123456789012345678901234567890";_cv 1.26 % 1.89 % 10
|
|
std::string_view e = "123456789012345678901234567890";_mean 0.731 ns 0.729 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_median 0.731 ns 0.724 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_stddev 0.009 ns 0.018 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_cv 1.26 % 2.47 % 10
|
|
ssa e = "123456789012345678901234567890";_mean 0.371 ns 0.371 ns 10
|
|
ssa e = "123456789012345678901234567890";_median 0.368 ns 0.369 ns 10
|
|
ssa e = "123456789012345678901234567890";_stddev 0.010 ns 0.010 ns 10
|
|
ssa e = "123456789012345678901234567890";_cv 2.79 % 2.66 % 10
|
|
stringa e = "123456789012345678901234567890";_mean 1.12 ns 1.12 ns 10
|
|
stringa e = "123456789012345678901234567890";_median 1.11 ns 1.12 ns 10
|
|
stringa e = "123456789012345678901234567890";_stddev 0.014 ns 0.015 ns 10
|
|
stringa e = "123456789012345678901234567890";_cv 1.24 % 1.31 % 10
|
|
lstringa<20> e = "123456789012345678901234567890";_mean 80.1 ns 79.3 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_median 79.9 ns 79.5 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_stddev 1.77 ns 2.30 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_cv 2.21 % 2.90 % 10
|
|
lstringa<40> e = "123456789012345678901234567890";_mean 2.53 ns 2.53 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_median 2.53 ns 2.55 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_stddev 0.016 ns 0.031 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_cv 0.64 % 1.21 % 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 1.85 ns 1.84 ns 10
|
|
std::string e = "Test text"; auto c{e};_median 1.85 ns 1.84 ns 10
|
|
std::string e = "Test text"; auto c{e};_stddev 0.023 ns 0.031 ns 10
|
|
std::string e = "Test text"; auto c{e};_cv 1.26 % 1.68 % 10
|
|
std::string_view e = "Test text"; auto c{e};_mean 0.370 ns 0.368 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_median 0.371 ns 0.368 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_stddev 0.006 ns 0.007 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_cv 1.65 % 1.86 % 10
|
|
ssa e = "Test text"; auto c{e};_mean 0.370 ns 0.369 ns 10
|
|
ssa e = "Test text"; auto c{e};_median 0.369 ns 0.369 ns 10
|
|
ssa e = "Test text"; auto c{e};_stddev 0.003 ns 0.004 ns 10
|
|
ssa e = "Test text"; auto c{e};_cv 0.80 % 1.02 % 10
|
|
stringa e = "Test text"; auto c{e};_mean 1.30 ns 1.30 ns 10
|
|
stringa e = "Test text"; auto c{e};_median 1.30 ns 1.29 ns 10
|
|
stringa e = "Test text"; auto c{e};_stddev 0.016 ns 0.021 ns 10
|
|
stringa e = "Test text"; auto c{e};_cv 1.22 % 1.63 % 10
|
|
lstringa<20> e = "Test text"; auto c{e};_mean 5.25 ns 5.23 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_median 5.26 ns 5.23 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_stddev 0.108 ns 0.133 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_cv 2.06 % 2.54 % 10
|
|
lstringa<40> e = "Test text"; auto c{e};_mean 5.36 ns 5.34 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_median 5.22 ns 5.16 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_stddev 0.303 ns 0.336 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_cv 5.65 % 6.29 % 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 81.7 ns 81.5 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_median 79.6 ns 79.5 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 4.61 ns 4.42 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_cv 5.64 % 5.43 % 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.741 ns 0.739 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.739 ns 0.741 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.013 ns 0.012 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 1.79 % 1.65 % 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.368 ns 0.366 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.367 ns 0.368 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.005 ns 0.006 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.32 % 1.54 % 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.86 ns 1.85 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.85 ns 1.88 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.043 ns 0.048 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_cv 2.34 % 2.59 % 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 79.3 ns 78.8 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 79.0 ns 78.5 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 2.06 ns 2.44 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 2.60 % 3.09 % 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 4.94 ns 4.89 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 4.94 ns 4.87 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.150 ns 0.133 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 3.04 % 2.72 % 10
|
|
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string::find;_mean 39.5 ns 39.1 ns 10
|
|
std::string::find;_median 39.5 ns 39.2 ns 10
|
|
std::string::find;_stddev 0.887 ns 0.867 ns 10
|
|
std::string::find;_cv 2.24 % 2.21 % 10
|
|
std::string_view::find;_mean 40.0 ns 39.7 ns 10
|
|
std::string_view::find;_median 39.3 ns 39.2 ns 10
|
|
std::string_view::find;_stddev 1.48 ns 1.25 ns 10
|
|
std::string_view::find;_cv 3.70 % 3.15 % 10
|
|
ssa::find;_mean 18.1 ns 18.0 ns 10
|
|
ssa::find;_median 18.2 ns 18.0 ns 10
|
|
ssa::find;_stddev 0.464 ns 0.543 ns 10
|
|
ssa::find;_cv 2.56 % 3.01 % 10
|
|
stringa::find;_mean 19.4 ns 19.4 ns 10
|
|
stringa::find;_median 19.3 ns 19.3 ns 10
|
|
stringa::find;_stddev 0.580 ns 0.560 ns 10
|
|
stringa::find;_cv 2.99 % 2.89 % 10
|
|
lstringa<20>::find;_mean 18.1 ns 18.0 ns 10
|
|
lstringa<20>::find;_median 18.1 ns 18.0 ns 10
|
|
lstringa<20>::find;_stddev 0.375 ns 0.382 ns 10
|
|
lstringa<20>::find;_cv 2.08 % 2.12 % 10
|
|
lstringa<40>::find;_mean 18.1 ns 18.0 ns 10
|
|
lstringa<40>::find;_median 17.9 ns 17.9 ns 10
|
|
lstringa<40>::find;_stddev 0.797 ns 0.860 ns 10
|
|
lstringa<40>::find;_cv 4.41 % 4.79 % 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 1.86 ns 1.86 ns 10
|
|
std::string copy{str_with_len_N};/15_median 1.84 ns 1.84 ns 10
|
|
std::string copy{str_with_len_N};/15_stddev 0.043 ns 0.053 ns 10
|
|
std::string copy{str_with_len_N};/15_cv 2.33 % 2.85 % 10
|
|
std::string copy{str_with_len_N};/16_mean 81.6 ns 81.6 ns 10
|
|
std::string copy{str_with_len_N};/16_median 81.9 ns 82.0 ns 10
|
|
std::string copy{str_with_len_N};/16_stddev 2.14 ns 1.98 ns 10
|
|
std::string copy{str_with_len_N};/16_cv 2.62 % 2.43 % 10
|
|
std::string copy{str_with_len_N};/23_mean 79.8 ns 79.5 ns 10
|
|
std::string copy{str_with_len_N};/23_median 79.5 ns 79.5 ns 10
|
|
std::string copy{str_with_len_N};/23_stddev 1.04 ns 1.71 ns 10
|
|
std::string copy{str_with_len_N};/23_cv 1.31 % 2.15 % 10
|
|
std::string copy{str_with_len_N};/24_mean 80.5 ns 80.2 ns 10
|
|
std::string copy{str_with_len_N};/24_median 80.2 ns 80.2 ns 10
|
|
std::string copy{str_with_len_N};/24_stddev 1.94 ns 1.84 ns 10
|
|
std::string copy{str_with_len_N};/24_cv 2.41 % 2.29 % 10
|
|
std::string copy{str_with_len_N};/32_mean 86.2 ns 85.8 ns 10
|
|
std::string copy{str_with_len_N};/32_median 85.4 ns 85.4 ns 10
|
|
std::string copy{str_with_len_N};/32_stddev 5.54 ns 4.99 ns 10
|
|
std::string copy{str_with_len_N};/32_cv 6.43 % 5.81 % 10
|
|
std::string copy{str_with_len_N};/64_mean 79.3 ns 79.0 ns 10
|
|
std::string copy{str_with_len_N};/64_median 78.5 ns 78.5 ns 10
|
|
std::string copy{str_with_len_N};/64_stddev 4.18 ns 3.49 ns 10
|
|
std::string copy{str_with_len_N};/64_cv 5.27 % 4.42 % 10
|
|
std::string copy{str_with_len_N};/128_mean 85.0 ns 84.8 ns 10
|
|
std::string copy{str_with_len_N};/128_median 84.1 ns 83.7 ns 10
|
|
std::string copy{str_with_len_N};/128_stddev 2.42 ns 2.47 ns 10
|
|
std::string copy{str_with_len_N};/128_cv 2.84 % 2.91 % 10
|
|
std::string copy{str_with_len_N};/256_mean 84.4 ns 84.4 ns 10
|
|
std::string copy{str_with_len_N};/256_median 84.6 ns 84.6 ns 10
|
|
std::string copy{str_with_len_N};/256_stddev 1.10 ns 1.22 ns 10
|
|
std::string copy{str_with_len_N};/256_cv 1.30 % 1.44 % 10
|
|
std::string copy{str_with_len_N};/512_mean 86.6 ns 86.2 ns 10
|
|
std::string copy{str_with_len_N};/512_median 86.3 ns 85.8 ns 10
|
|
std::string copy{str_with_len_N};/512_stddev 2.26 ns 1.92 ns 10
|
|
std::string copy{str_with_len_N};/512_cv 2.61 % 2.23 % 10
|
|
std::string copy{str_with_len_N};/1024_mean 95.3 ns 94.8 ns 10
|
|
std::string copy{str_with_len_N};/1024_median 95.3 ns 95.2 ns 10
|
|
std::string copy{str_with_len_N};/1024_stddev 2.25 ns 2.80 ns 10
|
|
std::string copy{str_with_len_N};/1024_cv 2.36 % 2.95 % 10
|
|
std::string copy{str_with_len_N};/2048_mean 127 ns 126 ns 10
|
|
std::string copy{str_with_len_N};/2048_median 126 ns 126 ns 10
|
|
std::string copy{str_with_len_N};/2048_stddev 3.19 ns 2.98 ns 10
|
|
std::string copy{str_with_len_N};/2048_cv 2.51 % 2.35 % 10
|
|
std::string copy{str_with_len_N};/4096_mean 176 ns 176 ns 10
|
|
std::string copy{str_with_len_N};/4096_median 176 ns 176 ns 10
|
|
std::string copy{str_with_len_N};/4096_stddev 2.80 ns 2.83 ns 10
|
|
std::string copy{str_with_len_N};/4096_cv 1.59 % 1.61 % 10
|
|
stringa copy{str_with_len_N};/15_mean 1.34 ns 1.31 ns 10
|
|
stringa copy{str_with_len_N};/15_median 1.31 ns 1.30 ns 10
|
|
stringa copy{str_with_len_N};/15_stddev 0.075 ns 0.037 ns 10
|
|
stringa copy{str_with_len_N};/15_cv 5.62 % 2.84 % 10
|
|
stringa copy{str_with_len_N};/16_mean 1.35 ns 1.34 ns 10
|
|
stringa copy{str_with_len_N};/16_median 1.32 ns 1.31 ns 10
|
|
stringa copy{str_with_len_N};/16_stddev 0.059 ns 0.058 ns 10
|
|
stringa copy{str_with_len_N};/16_cv 4.38 % 4.32 % 10
|
|
stringa copy{str_with_len_N};/23_mean 1.35 ns 1.34 ns 10
|
|
stringa copy{str_with_len_N};/23_median 1.32 ns 1.33 ns 10
|
|
stringa copy{str_with_len_N};/23_stddev 0.097 ns 0.102 ns 10
|
|
stringa copy{str_with_len_N};/23_cv 7.18 % 7.62 % 10
|
|
stringa copy{str_with_len_N};/24_mean 15.8 ns 15.8 ns 10
|
|
stringa copy{str_with_len_N};/24_median 15.8 ns 15.7 ns 10
|
|
stringa copy{str_with_len_N};/24_stddev 0.075 ns 0.147 ns 10
|
|
stringa copy{str_with_len_N};/24_cv 0.47 % 0.93 % 10
|
|
stringa copy{str_with_len_N};/32_mean 15.8 ns 15.8 ns 10
|
|
stringa copy{str_with_len_N};/32_median 15.8 ns 15.7 ns 10
|
|
stringa copy{str_with_len_N};/32_stddev 0.088 ns 0.168 ns 10
|
|
stringa copy{str_with_len_N};/32_cv 0.56 % 1.07 % 10
|
|
stringa copy{str_with_len_N};/64_mean 16.0 ns 16.0 ns 10
|
|
stringa copy{str_with_len_N};/64_median 15.9 ns 16.1 ns 10
|
|
stringa copy{str_with_len_N};/64_stddev 0.299 ns 0.198 ns 10
|
|
stringa copy{str_with_len_N};/64_cv 1.87 % 1.24 % 10
|
|
stringa copy{str_with_len_N};/128_mean 15.8 ns 15.8 ns 10
|
|
stringa copy{str_with_len_N};/128_median 15.8 ns 15.7 ns 10
|
|
stringa copy{str_with_len_N};/128_stddev 0.079 ns 0.235 ns 10
|
|
stringa copy{str_with_len_N};/128_cv 0.50 % 1.49 % 10
|
|
stringa copy{str_with_len_N};/256_mean 15.8 ns 15.8 ns 10
|
|
stringa copy{str_with_len_N};/256_median 15.8 ns 15.7 ns 10
|
|
stringa copy{str_with_len_N};/256_stddev 0.056 ns 0.180 ns 10
|
|
stringa copy{str_with_len_N};/256_cv 0.35 % 1.14 % 10
|
|
stringa copy{str_with_len_N};/512_mean 16.0 ns 15.9 ns 10
|
|
stringa copy{str_with_len_N};/512_median 15.9 ns 16.0 ns 10
|
|
stringa copy{str_with_len_N};/512_stddev 0.154 ns 0.235 ns 10
|
|
stringa copy{str_with_len_N};/512_cv 0.96 % 1.48 % 10
|
|
stringa copy{str_with_len_N};/1024_mean 15.9 ns 15.8 ns 10
|
|
stringa copy{str_with_len_N};/1024_median 15.9 ns 15.7 ns 10
|
|
stringa copy{str_with_len_N};/1024_stddev 0.181 ns 0.259 ns 10
|
|
stringa copy{str_with_len_N};/1024_cv 1.14 % 1.63 % 10
|
|
stringa copy{str_with_len_N};/2048_mean 16.0 ns 15.9 ns 10
|
|
stringa copy{str_with_len_N};/2048_median 15.9 ns 16.0 ns 10
|
|
stringa copy{str_with_len_N};/2048_stddev 0.156 ns 0.235 ns 10
|
|
stringa copy{str_with_len_N};/2048_cv 0.98 % 1.48 % 10
|
|
stringa copy{str_with_len_N};/4096_mean 15.9 ns 15.8 ns 10
|
|
stringa copy{str_with_len_N};/4096_median 15.9 ns 15.7 ns 10
|
|
stringa copy{str_with_len_N};/4096_stddev 0.074 ns 0.235 ns 10
|
|
stringa copy{str_with_len_N};/4096_cv 0.47 % 1.49 % 10
|
|
lstringa<16> copy{str_with_len_N};/15_mean 4.96 ns 4.94 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_median 4.93 ns 4.92 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_stddev 0.114 ns 0.138 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_cv 2.29 % 2.79 % 10
|
|
lstringa<16> copy{str_with_len_N};/16_mean 4.87 ns 4.85 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_median 4.91 ns 4.87 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_stddev 0.137 ns 0.108 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_cv 2.81 % 2.21 % 10
|
|
lstringa<16> copy{str_with_len_N};/23_mean 4.98 ns 4.96 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_median 4.94 ns 4.97 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_stddev 0.096 ns 0.129 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_cv 1.93 % 2.61 % 10
|
|
lstringa<16> copy{str_with_len_N};/24_mean 84.0 ns 83.9 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_median 83.8 ns 83.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_stddev 2.44 ns 1.53 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_cv 2.91 % 1.82 % 10
|
|
lstringa<16> copy{str_with_len_N};/32_mean 88.0 ns 87.2 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_median 87.9 ns 87.2 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_stddev 2.59 ns 2.01 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_cv 2.94 % 2.31 % 10
|
|
lstringa<16> copy{str_with_len_N};/64_mean 84.8 ns 84.6 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_median 84.0 ns 83.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_stddev 2.97 ns 2.76 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_cv 3.50 % 3.26 % 10
|
|
lstringa<16> copy{str_with_len_N};/128_mean 85.1 ns 84.4 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_median 85.4 ns 83.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_stddev 1.92 ns 1.87 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_cv 2.25 % 2.22 % 10
|
|
lstringa<16> copy{str_with_len_N};/256_mean 88.2 ns 87.3 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_median 87.0 ns 85.8 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_stddev 3.01 ns 2.62 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_cv 3.41 % 3.00 % 10
|
|
lstringa<16> copy{str_with_len_N};/512_mean 89.4 ns 89.1 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_median 89.5 ns 88.9 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_stddev 1.33 ns 1.53 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_cv 1.48 % 1.71 % 10
|
|
lstringa<16> copy{str_with_len_N};/1024_mean 101 ns 100 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_median 100 ns 99.4 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_stddev 4.92 ns 4.78 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_cv 4.89 % 4.77 % 10
|
|
lstringa<16> copy{str_with_len_N};/2048_mean 131 ns 130 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_median 129 ns 129 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_stddev 5.79 ns 4.73 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_cv 4.42 % 3.64 % 10
|
|
lstringa<16> copy{str_with_len_N};/4096_mean 194 ns 193 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_median 193 ns 190 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_stddev 8.46 ns 6.50 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_cv 4.35 % 3.37 % 10
|
|
lstringa<512> copy{str_with_len_N};/15_mean 4.94 ns 4.89 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_median 4.86 ns 4.84 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_stddev 0.198 ns 0.105 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_cv 4.00 % 2.16 % 10
|
|
lstringa<512> copy{str_with_len_N};/16_mean 5.36 ns 5.36 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_median 5.22 ns 5.23 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_stddev 0.444 ns 0.442 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_cv 8.29 % 8.25 % 10
|
|
lstringa<512> copy{str_with_len_N};/23_mean 5.05 ns 5.05 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_median 4.92 ns 4.87 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_stddev 0.343 ns 0.371 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_cv 6.79 % 7.35 % 10
|
|
lstringa<512> copy{str_with_len_N};/24_mean 4.83 ns 4.79 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_median 4.81 ns 4.74 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_stddev 0.153 ns 0.162 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_cv 3.17 % 3.38 % 10
|
|
lstringa<512> copy{str_with_len_N};/32_mean 7.94 ns 7.85 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_median 7.84 ns 7.85 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_stddev 0.269 ns 0.201 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_cv 3.38 % 2.57 % 10
|
|
lstringa<512> copy{str_with_len_N};/64_mean 7.92 ns 7.90 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_median 7.92 ns 7.85 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_stddev 0.170 ns 0.202 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_cv 2.15 % 2.56 % 10
|
|
lstringa<512> copy{str_with_len_N};/128_mean 8.26 ns 8.20 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_median 8.28 ns 8.20 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_stddev 0.103 ns 0.164 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_cv 1.24 % 2.01 % 10
|
|
lstringa<512> copy{str_with_len_N};/256_mean 9.31 ns 9.25 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_median 9.35 ns 9.21 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_stddev 0.178 ns 0.165 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_cv 1.91 % 1.78 % 10
|
|
lstringa<512> copy{str_with_len_N};/512_mean 10.9 ns 10.9 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_median 10.9 ns 11.0 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_stddev 0.211 ns 0.206 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_cv 1.93 % 1.89 % 10
|
|
lstringa<512> copy{str_with_len_N};/1024_mean 99.0 ns 98.8 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_median 99.0 ns 98.4 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_stddev 2.55 ns 2.93 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_cv 2.58 % 2.96 % 10
|
|
lstringa<512> copy{str_with_len_N};/2048_mean 131 ns 129 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_median 129 ns 128 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_stddev 4.28 ns 4.59 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_cv 3.27 % 3.55 % 10
|
|
lstringa<512> copy{str_with_len_N};/4096_mean 191 ns 191 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_median 188 ns 188 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_stddev 9.77 ns 10.7 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_cv 5.12 % 5.59 % 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 31.7 ns 31.7 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 31.3 ns 31.4 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 0.742 ns 0.819 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 2.34 % 2.59 % 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 13.9 ns 13.9 ns 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 14.0 ns 13.8 ns 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.275 ns 0.212 ns 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 1.97 % 1.52 % 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 14.3 ns 14.2 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 14.2 ns 14.1 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.300 ns 0.199 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.09 % 1.40 % 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.0 ns 12.9 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.0 ns 13.1 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.259 ns 0.399 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.99 % 3.08 % 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 13.4 ns 13.4 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 13.4 ns 13.4 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.213 ns 0.206 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.59 % 1.54 % 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 34.5 ns 34.4 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 34.3 ns 34.1 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 1.05 ns 1.09 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 3.05 % 3.17 % 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 8.49 ns 8.49 ns 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 8.36 ns 8.37 ns 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.358 ns 0.339 ns 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 4.22 % 4.00 % 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.3 ns 12.3 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.3 ns 12.3 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.225 ns 0.277 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.82 % 2.25 % 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 12.0 ns 12.0 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 12.0 ns 12.0 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.244 ns 0.334 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.03 % 2.79 % 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 11.8 ns 11.8 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 11.8 ns 11.7 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.236 ns 0.232 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.00 % 1.96 % 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 44.1 ns 44.1 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 44.3 ns 44.3 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.602 ns 0.596 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 1.37 % 1.35 % 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 17.2 ns 17.1 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 17.1 ns 17.1 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.253 ns 0.384 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 1.48 % 2.24 % 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 16.6 ns 16.6 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 16.7 ns 16.7 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.317 ns 0.294 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 1.91 % 1.77 % 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 103 ns 103 ns 10
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_median 102 ns 101 ns 10
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_stddev 7.72 ns 7.23 ns 10
|
|
std::string s = "1234.567e10"; double res = std::strtod(s.c_str(), nullptr);_cv 7.50 % 7.03 % 10
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_mean 62.8 ns 62.4 ns 10
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_median 62.5 ns 62.8 ns 10
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_stddev 1.33 ns 0.942 ns 10
|
|
std::string_view s = "1234.567e10"; std::from_chars(s.data(), s.data() + s.size(), res);_cv 2.11 % 1.51 % 10
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_mean 35.7 ns 35.5 ns 10
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_median 35.7 ns 35.3 ns 10
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_stddev 0.654 ns 0.930 ns 10
|
|
ssa s = "1234.567e10"; double res = *s.to_double()_cv 1.83 % 2.62 % 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 4774 ns 4764 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_median 4766 ns 4754 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 89.3 ns 111 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 1.87 % 2.34 % 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_mean 1084 ns 1084 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_median 1077 ns 1074 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_stddev 40.2 ns 36.8 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_cv 3.71 % 3.39 % 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 767 ns 760 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 770 ns 767 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 14.5 ns 18.7 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 1.88 % 2.47 % 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 391 ns 388 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 391 ns 391 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 7.56 ns 8.65 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 1.93 % 2.23 % 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 246 ns 244 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 246 ns 246 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 3.78 ns 5.29 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 1.54 % 2.17 % 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 154 ns 154 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 155 ns 153 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 1.31 ns 2.75 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 0.84 % 1.78 % 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 4816 ns 4792 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 4636 ns 4604 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 332 ns 330 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 6.89 % 6.89 % 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 3968 ns 3964 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 3901 ns 3908 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 208 ns 201 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 5.25 % 5.06 % 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 796 ns 795 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 784 ns 785 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 42.4 ns 41.3 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 5.33 % 5.19 % 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 492 ns 488 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 495 ns 497 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 12.2 ns 13.9 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.48 % 2.85 % 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 315 ns 313 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 312 ns 315 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 6.54 ns 8.32 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.08 % 2.65 % 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 216 ns 216 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 215 ns 213 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 6.84 ns 7.47 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.16 % 3.46 % 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 219773 ns 219238 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 220812 ns 219727 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 3604 ns 4275 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 1.64 % 1.95 % 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 193770 ns 192540 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 193717 ns 192540 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 2500 ns 3418 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 1.29 % 1.77 % 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19446 ns 19378 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 19194 ns 19043 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 875 ns 861 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.50 % 4.44 % 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19410 ns 19088 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 19386 ns 19043 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 999 ns 543 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 5.15 % 2.84 % 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18772 ns 18725 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18677 ns 18589 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 425 ns 526 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.26 % 2.81 % 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18557 ns 18492 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18539 ns 18415 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 386 ns 566 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.08 % 3.06 % 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 4503 ns 4489 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_median 4429 ns 4395 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_stddev 216 ns 234 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_cv 4.79 % 5.21 % 10
|
|
std::string str; ... str += str_var1 + str_var2;_mean 4062 ns 4037 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_median 4023 ns 4011 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_stddev 89.1 ns 71.8 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_cv 2.19 % 1.78 % 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_mean 842 ns 841 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_median 840 ns 837 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 16.3 ns 19.2 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_cv 1.94 % 2.29 % 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_mean 546 ns 543 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_median 539 ns 530 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 22.6 ns 22.3 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_cv 4.14 % 4.10 % 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_mean 416 ns 414 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_median 412 ns 417 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 13.2 ns 14.9 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_cv 3.18 % 3.61 % 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 311 ns 308 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_median 312 ns 302 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 16.6 ns 16.9 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 5.34 % 5.48 % 10
|
|
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::stringstream str; str << "test = " << k << " times";_mean 10976 ns 10938 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_median 10884 ns 10882 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_stddev 376 ns 412 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_cv 3.43 % 3.76 % 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_mean 1131 ns 1116 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_median 1123 ns 1111 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_stddev 33.9 ns 25.9 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_cv 3.00 % 2.32 % 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 2941 ns 2900 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 2909 ns 2888 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 110 ns 64.8 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 3.75 % 2.24 % 10
|
|
std::string str = std::format("test = {} times", k);_mean 2082 ns 1995 ns 10
|
|
std::string str = std::format("test = {} times", k);_median 1996 ns 1976 ns 10
|
|
std::string str = std::format("test = {} times", k);_stddev 203 ns 80.9 ns 10
|
|
std::string str = std::format("test = {} times", k);_cv 9.77 % 4.05 % 10
|
|
lstringa<8> str; str.format("test = {} times", k);_mean 2137 ns 2126 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_median 2118 ns 2131 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_stddev 54.9 ns 45.1 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_cv 2.57 % 2.12 % 10
|
|
lstringa<32> str; str.format("test = {} times", k);_mean 1004 ns 994 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_median 994 ns 994 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_stddev 29.0 ns 17.8 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_cv 2.89 % 1.79 % 10
|
|
lstringa<8> str = "test = " + k + " times";_mean 830 ns 830 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_median 828 ns 820 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_stddev 17.6 ns 18.7 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_cv 2.12 % 2.26 % 10
|
|
lstringa<32> str = "test = " + k + " times";_mean 158 ns 159 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_median 157 ns 157 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_stddev 2.97 ns 2.96 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_cv 1.87 % 1.87 % 10
|
|
stringa str = "test = " + k + " times";_mean 158 ns 157 ns 10
|
|
stringa str = "test = " + k + " times";_median 156 ns 155 ns 10
|
|
stringa str = "test = " + k + " times";_stddev 8.91 ns 8.17 ns 10
|
|
stringa str = "test = " + k + " times";_cv 5.62 % 5.19 % 10
|
|
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
std::string::find + substr + std::strtol_mean 558 ns 557 ns 10
|
|
std::string::find + substr + std::strtol_median 558 ns 558 ns 10
|
|
std::string::find + substr + std::strtol_stddev 10.8 ns 13.9 ns 10
|
|
std::string::find + substr + std::strtol_cv 1.94 % 2.49 % 10
|
|
ssa::splitter + ssa::as_int_mean 171 ns 170 ns 10
|
|
ssa::splitter + ssa::as_int_median 172 ns 171 ns 10
|
|
ssa::splitter + ssa::as_int_stddev 2.80 ns 4.04 ns 10
|
|
ssa::splitter + ssa::as_int_cv 1.64 % 2.38 % 10
|
|
ssa::splitf + functor_mean 190 ns 190 ns 10
|
|
ssa::splitf + functor_median 191 ns 190 ns 10
|
|
ssa::splitf + functor_stddev 6.27 ns 6.91 ns 10
|
|
ssa::splitf + functor_cv 3.30 % 3.64 % 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 1171 ns 1165 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_median 1169 ns 1172 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_stddev 26.2 ns 23.2 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_cv 2.24 % 1.99 % 10
|
|
replace symbols with std::string find_first_of + replace_mean 2063 ns 2049 ns 10
|
|
replace symbols with std::string find_first_of + replace_median 2064 ns 2040 ns 10
|
|
replace symbols with std::string find_first_of + replace_stddev 44.7 ns 46.8 ns 10
|
|
replace symbols with std::string find_first_of + replace_cv 2.17 % 2.28 % 10
|
|
replace symbols with std::string_view find_first_of + copy_mean 2410 ns 2407 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_median 2398 ns 2393 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_stddev 48.0 ns 56.6 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_cv 1.99 % 2.35 % 10
|
|
replace runtime symbols with string expressions and without remembering all search results_mean 1441 ns 1440 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_median 1415 ns 1413 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_stddev 82.3 ns 80.6 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_cv 5.71 % 5.60 % 10
|
|
replace runtime symbols with simstr and memorization of all search results_mean 1396 ns 1390 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_median 1372 ns 1353 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_stddev 109 ns 117 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_cv 7.82 % 8.46 % 10
|
|
replace const symbols with string expressions and without remembering all search results_mean 1209 ns 1205 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_median 1209 ns 1193 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_stddev 21.3 ns 33.7 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_cv 1.76 % 2.80 % 10
|
|
replace const symbols with string expressions and memorization of all search results_mean 1206 ns 1196 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_median 1209 ns 1196 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_stddev 17.2 ns 25.7 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_cv 1.43 % 2.15 % 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 331 ns 330 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_median 330 ns 330 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 6.13 ns 5.98 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_cv 1.85 % 1.81 % 10
|
|
Short replace symbols with std::string find_first_of + replace_mean 375 ns 375 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_median 377 ns 377 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_stddev 6.37 ns 9.30 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_cv 1.70 % 2.48 % 10
|
|
Short replace symbols with std::string_view find_first_of + copy_mean 329 ns 325 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_median 327 ns 322 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_stddev 11.5 ns 10.5 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_cv 3.49 % 3.22 % 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_mean 256 ns 254 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_median 257 ns 254 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_stddev 4.08 ns 3.90 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_cv 1.59 % 1.53 % 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_mean 369 ns 366 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_median 368 ns 360 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_stddev 8.65 ns 8.87 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_cv 2.35 % 2.42 % 10
|
|
Short replace const symbols with string expressions and without remembering all search results_mean 223 ns 223 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_median 221 ns 222 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_stddev 6.17 ns 7.23 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_cv 2.76 % 3.25 % 10
|
|
Short replace const symbols with string expressions and memorization of all search results_mean 310 ns 309 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_median 309 ns 305 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_stddev 6.82 ns 7.78 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_cv 2.20 % 2.52 % 10
|
|
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to ---- in std::string|64_mean 236 ns 235 ns 10
|
|
replace bb to ---- in std::string|64_median 236 ns 235 ns 10
|
|
replace bb to ---- in std::string|64_stddev 4.58 ns 3.86 ns 10
|
|
replace bb to ---- in std::string|64_cv 1.94 % 1.64 % 10
|
|
replace bb to ---- in std::string|256_mean 780 ns 776 ns 10
|
|
replace bb to ---- in std::string|256_median 777 ns 774 ns 10
|
|
replace bb to ---- in std::string|256_stddev 18.4 ns 25.1 ns 10
|
|
replace bb to ---- in std::string|256_cv 2.36 % 3.23 % 10
|
|
replace bb to ---- in std::string|512_mean 1449 ns 1447 ns 10
|
|
replace bb to ---- in std::string|512_median 1454 ns 1465 ns 10
|
|
replace bb to ---- in std::string|512_stddev 34.6 ns 44.3 ns 10
|
|
replace bb to ---- in std::string|512_cv 2.39 % 3.06 % 10
|
|
replace bb to ---- in std::string|1024_mean 3239 ns 3181 ns 10
|
|
replace bb to ---- in std::string|1024_median 3214 ns 3174 ns 10
|
|
replace bb to ---- in std::string|1024_stddev 121 ns 67.4 ns 10
|
|
replace bb to ---- in std::string|1024_cv 3.73 % 2.12 % 10
|
|
replace bb to ---- in std::string|2048_mean 8127 ns 8039 ns 10
|
|
replace bb to ---- in std::string|2048_median 7982 ns 8022 ns 10
|
|
replace bb to ---- in std::string|2048_stddev 355 ns 323 ns 10
|
|
replace bb to ---- in std::string|2048_cv 4.36 % 4.02 % 10
|
|
replace bb to ---- in lstringa<8>|64_mean 336 ns 333 ns 10
|
|
replace bb to ---- in lstringa<8>|64_median 331 ns 330 ns 10
|
|
replace bb to ---- in lstringa<8>|64_stddev 18.4 ns 17.0 ns 10
|
|
replace bb to ---- in lstringa<8>|64_cv 5.48 % 5.10 % 10
|
|
replace bb to ---- in lstringa<8>|256_mean 659 ns 657 ns 10
|
|
replace bb to ---- in lstringa<8>|256_median 648 ns 642 ns 10
|
|
replace bb to ---- in lstringa<8>|256_stddev 43.6 ns 46.7 ns 10
|
|
replace bb to ---- in lstringa<8>|256_cv 6.62 % 7.11 % 10
|
|
replace bb to ---- in lstringa<8>|512_mean 1091 ns 1085 ns 10
|
|
replace bb to ---- in lstringa<8>|512_median 1089 ns 1088 ns 10
|
|
replace bb to ---- in lstringa<8>|512_stddev 22.5 ns 20.6 ns 10
|
|
replace bb to ---- in lstringa<8>|512_cv 2.06 % 1.90 % 10
|
|
replace bb to ---- in lstringa<8>|1024_mean 1937 ns 1919 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_median 1939 ns 1929 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_stddev 27.5 ns 51.7 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_cv 1.42 % 2.70 % 10
|
|
replace bb to ---- in lstringa<8>|2048_mean 3647 ns 3633 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_median 3640 ns 3599 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_stddev 64.1 ns 70.6 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_cv 1.76 % 1.94 % 10
|
|
replace bb to ---- by init stringa|64_mean 212 ns 210 ns 10
|
|
replace bb to ---- by init stringa|64_median 212 ns 209 ns 10
|
|
replace bb to ---- by init stringa|64_stddev 3.40 ns 4.30 ns 10
|
|
replace bb to ---- by init stringa|64_cv 1.60 % 2.05 % 10
|
|
replace bb to ---- by init stringa|256_mean 559 ns 558 ns 10
|
|
replace bb to ---- by init stringa|256_median 561 ns 562 ns 10
|
|
replace bb to ---- by init stringa|256_stddev 10.8 ns 14.8 ns 10
|
|
replace bb to ---- by init stringa|256_cv 1.93 % 2.66 % 10
|
|
replace bb to ---- by init stringa|512_mean 1035 ns 1032 ns 10
|
|
replace bb to ---- by init stringa|512_median 1022 ns 1025 ns 10
|
|
replace bb to ---- by init stringa|512_stddev 78.3 ns 74.5 ns 10
|
|
replace bb to ---- by init stringa|512_cv 7.56 % 7.22 % 10
|
|
replace bb to ---- by init stringa|1024_mean 1850 ns 1842 ns 10
|
|
replace bb to ---- by init stringa|1024_median 1849 ns 1842 ns 10
|
|
replace bb to ---- by init stringa|1024_stddev 50.8 ns 51.2 ns 10
|
|
replace bb to ---- by init stringa|1024_cv 2.75 % 2.78 % 10
|
|
replace bb to ---- by init stringa|2048_mean 3423 ns 3409 ns 10
|
|
replace bb to ---- by init stringa|2048_median 3423 ns 3369 ns 10
|
|
replace bb to ---- by init stringa|2048_stddev 76.7 ns 86.6 ns 10
|
|
replace bb to ---- by init stringa|2048_cv 2.24 % 2.54 % 10
|
|
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
replace bb to -- in std::string|64_mean 192 ns 192 ns 10
|
|
replace bb to -- in std::string|64_median 192 ns 190 ns 10
|
|
replace bb to -- in std::string|64_stddev 4.79 ns 5.39 ns 10
|
|
replace bb to -- in std::string|64_cv 2.49 % 2.80 % 10
|
|
replace bb to -- in std::string|256_mean 495 ns 495 ns 10
|
|
replace bb to -- in std::string|256_median 494 ns 500 ns 10
|
|
replace bb to -- in std::string|256_stddev 7.23 ns 10.5 ns 10
|
|
replace bb to -- in std::string|256_cv 1.46 % 2.13 % 10
|
|
replace bb to -- in std::string|512_mean 854 ns 853 ns 10
|
|
replace bb to -- in std::string|512_median 846 ns 854 ns 10
|
|
replace bb to -- in std::string|512_stddev 19.6 ns 23.9 ns 10
|
|
replace bb to -- in std::string|512_cv 2.30 % 2.80 % 10
|
|
replace bb to -- in std::string|1024_mean 1670 ns 1665 ns 10
|
|
replace bb to -- in std::string|1024_median 1665 ns 1669 ns 10
|
|
replace bb to -- in std::string|1024_stddev 21.3 ns 37.1 ns 10
|
|
replace bb to -- in std::string|1024_cv 1.28 % 2.23 % 10
|
|
replace bb to -- in std::string|2048_mean 3178 ns 3142 ns 10
|
|
replace bb to -- in std::string|2048_median 3200 ns 3149 ns 10
|
|
replace bb to -- in std::string|2048_stddev 71.4 ns 64.1 ns 10
|
|
replace bb to -- in std::string|2048_cv 2.25 % 2.04 % 10
|
|
replace bb to -- in lstringa<8>|64_mean 192 ns 191 ns 10
|
|
replace bb to -- in lstringa<8>|64_median 190 ns 190 ns 10
|
|
replace bb to -- in lstringa<8>|64_stddev 6.14 ns 5.56 ns 10
|
|
replace bb to -- in lstringa<8>|64_cv 3.21 % 2.90 % 10
|
|
replace bb to -- in lstringa<8>|256_mean 446 ns 442 ns 10
|
|
replace bb to -- in lstringa<8>|256_median 449 ns 439 ns 10
|
|
replace bb to -- in lstringa<8>|256_stddev 12.1 ns 12.2 ns 10
|
|
replace bb to -- in lstringa<8>|256_cv 2.72 % 2.76 % 10
|
|
replace bb to -- in lstringa<8>|512_mean 789 ns 785 ns 10
|
|
replace bb to -- in lstringa<8>|512_median 790 ns 785 ns 10
|
|
replace bb to -- in lstringa<8>|512_stddev 20.5 ns 21.7 ns 10
|
|
replace bb to -- in lstringa<8>|512_cv 2.59 % 2.77 % 10
|
|
replace bb to -- in lstringa<8>|1024_mean 1526 ns 1521 ns 10
|
|
replace bb to -- in lstringa<8>|1024_median 1510 ns 1500 ns 10
|
|
replace bb to -- in lstringa<8>|1024_stddev 92.5 ns 93.3 ns 10
|
|
replace bb to -- in lstringa<8>|1024_cv 6.06 % 6.14 % 10
|
|
replace bb to -- in lstringa<8>|2048_mean 2820 ns 2798 ns 10
|
|
replace bb to -- in lstringa<8>|2048_median 2800 ns 2783 ns 10
|
|
replace bb to -- in lstringa<8>|2048_stddev 105 ns 113 ns 10
|
|
replace bb to -- in lstringa<8>|2048_cv 3.72 % 4.06 % 10
|
|
replace bb to -- by init stringa|64_mean 162 ns 161 ns 10
|
|
replace bb to -- by init stringa|64_median 163 ns 161 ns 10
|
|
replace bb to -- by init stringa|64_stddev 4.40 ns 4.59 ns 10
|
|
replace bb to -- by init stringa|64_cv 2.72 % 2.86 % 10
|
|
replace bb to -- by init stringa|256_mean 354 ns 352 ns 10
|
|
replace bb to -- by init stringa|256_median 353 ns 353 ns 10
|
|
replace bb to -- by init stringa|256_stddev 5.85 ns 7.63 ns 10
|
|
replace bb to -- by init stringa|256_cv 1.65 % 2.17 % 10
|
|
replace bb to -- by init stringa|512_mean 600 ns 596 ns 10
|
|
replace bb to -- by init stringa|512_median 596 ns 586 ns 10
|
|
replace bb to -- by init stringa|512_stddev 25.7 ns 22.8 ns 10
|
|
replace bb to -- by init stringa|512_cv 4.29 % 3.83 % 10
|
|
replace bb to -- by init stringa|1024_mean 1079 ns 1067 ns 10
|
|
replace bb to -- by init stringa|1024_median 1070 ns 1062 ns 10
|
|
replace bb to -- by init stringa|1024_stddev 29.7 ns 28.3 ns 10
|
|
replace bb to -- by init stringa|1024_cv 2.75 % 2.65 % 10
|
|
replace bb to -- by init stringa|2048_mean 2067 ns 2061 ns 10
|
|
replace bb to -- by init stringa|2048_median 2060 ns 2051 ns 10
|
|
replace bb to -- by init stringa|2048_stddev 50.6 ns 44.9 ns 10
|
|
replace bb to -- by init stringa|2048_cv 2.45 % 2.18 % 10
|
|
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
hashStrMapA<size_t> emplace & find stringa;_mean 3852886 ns 3824491 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_median 3878020 ns 3860828 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_stddev 176851 ns 168325 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_cv 4.59 % 4.40 % 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 5329837 ns 5281250 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_median 5354391 ns 5312500 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 95363 ns 161374 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 1.79 % 3.06 % 10
|
|
hashStrMapA<size_t> emplace & find ssa;_mean 3511046 ns 3477564 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_median 3499198 ns 3445513 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_stddev 74703 ns 67570 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_cv 2.13 % 1.94 % 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 6336347 ns 6333705 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 6314743 ns 6277902 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 87714 ns 97545 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 1.38 % 1.54 % 10
|
|
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000000
|
|
Build func full name std::string;_mean 1581 ns 1565 ns 10
|
|
Build func full name std::string;_median 1578 ns 1573 ns 10
|
|
Build func full name std::string;_stddev 17.3 ns 30.3 ns 10
|
|
Build func full name std::string;_cv 1.10 % 1.93 % 10
|
|
Build func full name std::string 1;_mean 1654 ns 1635 ns 10
|
|
Build func full name std::string 1;_median 1646 ns 1632 ns 10
|
|
Build func full name std::string 1;_stddev 62.7 ns 47.8 ns 10
|
|
Build func full name std::string 1;_cv 3.79 % 2.92 % 10
|
|
Build func full name std::stream;_mean 8195 ns 8179 ns 10
|
|
Build func full name std::stream;_median 8225 ns 8196 ns 10
|
|
Build func full name std::stream;_stddev 138 ns 192 ns 10
|
|
Build func full name std::stream;_cv 1.69 % 2.35 % 10
|
|
Build func full name stringa;_mean 859 ns 851 ns 10
|
|
Build func full name stringa;_median 855 ns 854 ns 10
|
|
Build func full name stringa;_stddev 12.6 ns 18.0 ns 10
|
|
Build func full name stringa;_cv 1.47 % 2.12 % 10
|
|
Build func full name stringa 1;_mean 1015 ns 1011 ns 10
|
|
Build func full name stringa 1;_median 1014 ns 1001 ns 10
|
|
Build func full name stringa 1;_stddev 28.4 ns 30.9 ns 10
|
|
Build func full name stringa 1;_cv 2.79 % 3.06 % 10
|