mirror of https://github.com/orefkov/simstr.git
779 lines
115 KiB
Plaintext
779 lines
115 KiB
Plaintext
2025-08-06T13:47:54+03:00
|
|
Running ./benchStr
|
|
Run on (32 X 2494.22 MHz CPU s)
|
|
CPU Caches:
|
|
L1 Data 32 KiB (x16)
|
|
L1 Instruction 32 KiB (x16)
|
|
L2 Unified 256 KiB (x16)
|
|
L3 Unified 40960 KiB (x1)
|
|
Load Average: 0.00, 0.00, 0.00
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
Benchmark Time CPU Iterations
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
----- Create Empty Str ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string e;_mean 1.19 ns 1.19 ns 10
|
|
std::string e;_median 1.17 ns 1.17 ns 10
|
|
std::string e;_stddev 0.087 ns 0.087 ns 10
|
|
std::string e;_cv 7.32 % 7.32 % 10
|
|
std::string_view e;_mean 0.759 ns 0.759 ns 10
|
|
std::string_view e;_median 0.740 ns 0.740 ns 10
|
|
std::string_view e;_stddev 0.033 ns 0.033 ns 10
|
|
std::string_view e;_cv 4.40 % 4.40 % 10
|
|
ssa e;_mean 0.185 ns 0.185 ns 10
|
|
ssa e;_median 0.185 ns 0.185 ns 10
|
|
ssa e;_stddev 0.004 ns 0.004 ns 10
|
|
ssa e;_cv 2.05 % 2.05 % 10
|
|
stringa e;_mean 0.759 ns 0.759 ns 10
|
|
stringa e;_median 0.756 ns 0.756 ns 10
|
|
stringa e;_stddev 0.027 ns 0.027 ns 10
|
|
stringa e;_cv 3.57 % 3.57 % 10
|
|
lstringa<20> e;_mean 1.11 ns 1.11 ns 10
|
|
lstringa<20> e;_median 1.11 ns 1.11 ns 10
|
|
lstringa<20> e;_stddev 0.017 ns 0.017 ns 10
|
|
lstringa<20> e;_cv 1.52 % 1.52 % 10
|
|
lstringa<40> e;_mean 1.13 ns 1.13 ns 10
|
|
lstringa<40> e;_median 1.14 ns 1.14 ns 10
|
|
lstringa<40> e;_stddev 0.025 ns 0.025 ns 10
|
|
lstringa<40> e;_cv 2.19 % 2.19 % 10
|
|
----- Create Str from short literal (9 symbols) --------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string e = "Test text";_mean 1.88 ns 1.88 ns 10
|
|
std::string e = "Test text";_median 1.87 ns 1.87 ns 10
|
|
std::string e = "Test text";_stddev 0.047 ns 0.047 ns 10
|
|
std::string e = "Test text";_cv 2.47 % 2.47 % 10
|
|
std::string_view e = "Test text";_mean 0.757 ns 0.757 ns 10
|
|
std::string_view e = "Test text";_median 0.750 ns 0.750 ns 10
|
|
std::string_view e = "Test text";_stddev 0.031 ns 0.031 ns 10
|
|
std::string_view e = "Test text";_cv 4.04 % 4.04 % 10
|
|
ssa e = "Test text";_mean 0.746 ns 0.746 ns 10
|
|
ssa e = "Test text";_median 0.739 ns 0.739 ns 10
|
|
ssa e = "Test text";_stddev 0.016 ns 0.016 ns 10
|
|
ssa e = "Test text";_cv 2.14 % 2.14 % 10
|
|
stringa e = "Test text";_mean 1.12 ns 1.12 ns 10
|
|
stringa e = "Test text";_median 1.12 ns 1.12 ns 10
|
|
stringa e = "Test text";_stddev 0.027 ns 0.027 ns 10
|
|
stringa e = "Test text";_cv 2.38 % 2.38 % 10
|
|
lstringa<20> e = "Test text";_mean 1.87 ns 1.87 ns 10
|
|
lstringa<20> e = "Test text";_median 1.86 ns 1.86 ns 10
|
|
lstringa<20> e = "Test text";_stddev 0.049 ns 0.049 ns 10
|
|
lstringa<20> e = "Test text";_cv 2.64 % 2.64 % 10
|
|
lstringa<40> e = "Test text";_mean 1.91 ns 1.91 ns 10
|
|
lstringa<40> e = "Test text";_median 1.88 ns 1.88 ns 10
|
|
lstringa<40> e = "Test text";_stddev 0.082 ns 0.082 ns 10
|
|
lstringa<40> e = "Test text";_cv 4.30 % 4.30 % 10
|
|
----- Create Str from long literal (30 symbols) ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string e = "123456789012345678901234567890";_mean 18.7 ns 18.7 ns 10
|
|
std::string e = "123456789012345678901234567890";_median 18.5 ns 18.5 ns 10
|
|
std::string e = "123456789012345678901234567890";_stddev 0.629 ns 0.629 ns 10
|
|
std::string e = "123456789012345678901234567890";_cv 3.36 % 3.36 % 10
|
|
std::string_view e = "123456789012345678901234567890";_mean 0.751 ns 0.751 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_median 0.741 ns 0.741 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_stddev 0.023 ns 0.023 ns 10
|
|
std::string_view e = "123456789012345678901234567890";_cv 3.03 % 3.03 % 10
|
|
ssa e = "123456789012345678901234567890";_mean 0.754 ns 0.754 ns 10
|
|
ssa e = "123456789012345678901234567890";_median 0.758 ns 0.758 ns 10
|
|
ssa e = "123456789012345678901234567890";_stddev 0.021 ns 0.021 ns 10
|
|
ssa e = "123456789012345678901234567890";_cv 2.79 % 2.79 % 10
|
|
stringa e = "123456789012345678901234567890";_mean 1.13 ns 1.13 ns 10
|
|
stringa e = "123456789012345678901234567890";_median 1.12 ns 1.12 ns 10
|
|
stringa e = "123456789012345678901234567890";_stddev 0.026 ns 0.026 ns 10
|
|
stringa e = "123456789012345678901234567890";_cv 2.29 % 2.29 % 10
|
|
lstringa<20> e = "123456789012345678901234567890";_mean 19.6 ns 19.6 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_median 19.3 ns 19.3 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_stddev 0.546 ns 0.546 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890";_cv 2.78 % 2.78 % 10
|
|
lstringa<40> e = "123456789012345678901234567890";_mean 2.59 ns 2.59 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_median 2.56 ns 2.56 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_stddev 0.055 ns 0.055 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890";_cv 2.14 % 2.14 % 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 4.91 ns 4.91 ns 10
|
|
std::string e = "Test text"; auto c{e};_median 4.87 ns 4.87 ns 10
|
|
std::string e = "Test text"; auto c{e};_stddev 0.160 ns 0.160 ns 10
|
|
std::string e = "Test text"; auto c{e};_cv 3.26 % 3.26 % 10
|
|
std::string_view e = "Test text"; auto c{e};_mean 0.377 ns 0.377 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_median 0.375 ns 0.375 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_stddev 0.015 ns 0.015 ns 10
|
|
std::string_view e = "Test text"; auto c{e};_cv 3.90 % 3.90 % 10
|
|
ssa e = "Test text"; auto c{e};_mean 0.378 ns 0.378 ns 10
|
|
ssa e = "Test text"; auto c{e};_median 0.372 ns 0.372 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 3.95 % 3.95 % 10
|
|
stringa e = "Test text"; auto c{e};_mean 1.14 ns 1.14 ns 10
|
|
stringa e = "Test text"; auto c{e};_median 1.13 ns 1.13 ns 10
|
|
stringa e = "Test text"; auto c{e};_stddev 0.031 ns 0.031 ns 10
|
|
stringa e = "Test text"; auto c{e};_cv 2.70 % 2.70 % 10
|
|
lstringa<20> e = "Test text"; auto c{e};_mean 4.84 ns 4.84 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_median 4.81 ns 4.81 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_stddev 0.090 ns 0.090 ns 10
|
|
lstringa<20> e = "Test text"; auto c{e};_cv 1.85 % 1.85 % 10
|
|
lstringa<40> e = "Test text"; auto c{e};_mean 4.60 ns 4.60 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_median 4.54 ns 4.54 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_stddev 0.189 ns 0.189 ns 10
|
|
lstringa<40> e = "Test text"; auto c{e};_cv 4.10 % 4.10 % 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 24.2 ns 24.2 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_median 24.0 ns 24.0 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_stddev 0.450 ns 0.450 ns 10
|
|
std::string e = "123456789012345678901234567890"; auto c{e};_cv 1.86 % 1.86 % 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_mean 0.746 ns 0.746 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_median 0.741 ns 0.741 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_stddev 0.021 ns 0.021 ns 10
|
|
std::string_view e = "123456789012345678901234567890"; auto c{e};_cv 2.85 % 2.85 % 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_mean 0.744 ns 0.744 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_median 0.741 ns 0.741 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_stddev 0.010 ns 0.010 ns 10
|
|
ssa e = "123456789012345678901234567890"; auto c{e};_cv 1.35 % 1.35 % 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_mean 1.13 ns 1.13 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_median 1.13 ns 1.13 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_stddev 0.030 ns 0.030 ns 10
|
|
stringa e = "123456789012345678901234567890"; auto c{e};_cv 2.63 % 2.63 % 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_mean 24.4 ns 24.4 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_median 24.3 ns 24.3 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_stddev 0.796 ns 0.796 ns 10
|
|
lstringa<20> e = "123456789012345678901234567890"; auto c{e};_cv 3.26 % 3.26 % 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_mean 5.62 ns 5.62 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_median 5.50 ns 5.50 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_stddev 0.242 ns 0.242 ns 10
|
|
lstringa<40> e = "123456789012345678901234567890"; auto c{e};_cv 4.30 % 4.30 % 10
|
|
----- Find 9 symbols text in end of 99 symbols text ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string::find;_mean 7.11 ns 7.11 ns 10
|
|
std::string::find;_median 7.08 ns 7.08 ns 10
|
|
std::string::find;_stddev 0.117 ns 0.117 ns 10
|
|
std::string::find;_cv 1.65 % 1.65 % 10
|
|
std::string_view::find;_mean 6.43 ns 6.43 ns 10
|
|
std::string_view::find;_median 6.38 ns 6.38 ns 10
|
|
std::string_view::find;_stddev 0.242 ns 0.242 ns 10
|
|
std::string_view::find;_cv 3.76 % 3.76 % 10
|
|
ssa::find;_mean 6.47 ns 6.47 ns 10
|
|
ssa::find;_median 6.41 ns 6.41 ns 10
|
|
ssa::find;_stddev 0.241 ns 0.241 ns 10
|
|
ssa::find;_cv 3.72 % 3.72 % 10
|
|
stringa::find;_mean 6.83 ns 6.83 ns 10
|
|
stringa::find;_median 6.74 ns 6.74 ns 10
|
|
stringa::find;_stddev 0.269 ns 0.269 ns 10
|
|
stringa::find;_cv 3.94 % 3.94 % 10
|
|
lstringa<20>::find;_mean 6.88 ns 6.88 ns 10
|
|
lstringa<20>::find;_median 6.78 ns 6.78 ns 10
|
|
lstringa<20>::find;_stddev 0.288 ns 0.288 ns 10
|
|
lstringa<20>::find;_cv 4.18 % 4.18 % 10
|
|
lstringa<40>::find;_mean 6.80 ns 6.80 ns 10
|
|
lstringa<40>::find;_median 6.75 ns 6.75 ns 10
|
|
lstringa<40>::find;_stddev 0.164 ns 0.164 ns 10
|
|
lstringa<40>::find;_cv 2.41 % 2.41 % 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 7.34 ns 7.34 ns 10
|
|
std::string copy{str_with_len_N};/15_median 7.19 ns 7.19 ns 10
|
|
std::string copy{str_with_len_N};/15_stddev 0.277 ns 0.277 ns 10
|
|
std::string copy{str_with_len_N};/15_cv 3.77 % 3.77 % 10
|
|
std::string copy{str_with_len_N};/16_mean 24.8 ns 24.8 ns 10
|
|
std::string copy{str_with_len_N};/16_median 24.7 ns 24.8 ns 10
|
|
std::string copy{str_with_len_N};/16_stddev 0.837 ns 0.837 ns 10
|
|
std::string copy{str_with_len_N};/16_cv 3.37 % 3.37 % 10
|
|
std::string copy{str_with_len_N};/23_mean 25.3 ns 25.3 ns 10
|
|
std::string copy{str_with_len_N};/23_median 25.6 ns 25.6 ns 10
|
|
std::string copy{str_with_len_N};/23_stddev 0.737 ns 0.737 ns 10
|
|
std::string copy{str_with_len_N};/23_cv 2.92 % 2.92 % 10
|
|
std::string copy{str_with_len_N};/24_mean 24.6 ns 24.6 ns 10
|
|
std::string copy{str_with_len_N};/24_median 24.6 ns 24.6 ns 10
|
|
std::string copy{str_with_len_N};/24_stddev 0.566 ns 0.566 ns 10
|
|
std::string copy{str_with_len_N};/24_cv 2.30 % 2.30 % 10
|
|
std::string copy{str_with_len_N};/32_mean 23.9 ns 23.9 ns 10
|
|
std::string copy{str_with_len_N};/32_median 23.9 ns 23.9 ns 10
|
|
std::string copy{str_with_len_N};/32_stddev 0.236 ns 0.236 ns 10
|
|
std::string copy{str_with_len_N};/32_cv 0.99 % 0.99 % 10
|
|
std::string copy{str_with_len_N};/64_mean 24.1 ns 24.1 ns 10
|
|
std::string copy{str_with_len_N};/64_median 23.9 ns 23.9 ns 10
|
|
std::string copy{str_with_len_N};/64_stddev 0.627 ns 0.627 ns 10
|
|
std::string copy{str_with_len_N};/64_cv 2.60 % 2.60 % 10
|
|
std::string copy{str_with_len_N};/128_mean 26.1 ns 26.1 ns 10
|
|
std::string copy{str_with_len_N};/128_median 26.1 ns 26.1 ns 10
|
|
std::string copy{str_with_len_N};/128_stddev 0.285 ns 0.285 ns 10
|
|
std::string copy{str_with_len_N};/128_cv 1.09 % 1.09 % 10
|
|
std::string copy{str_with_len_N};/256_mean 26.6 ns 26.6 ns 10
|
|
std::string copy{str_with_len_N};/256_median 26.5 ns 26.5 ns 10
|
|
std::string copy{str_with_len_N};/256_stddev 0.690 ns 0.690 ns 10
|
|
std::string copy{str_with_len_N};/256_cv 2.60 % 2.60 % 10
|
|
std::string copy{str_with_len_N};/512_mean 30.8 ns 30.8 ns 10
|
|
std::string copy{str_with_len_N};/512_median 30.3 ns 30.3 ns 10
|
|
std::string copy{str_with_len_N};/512_stddev 1.13 ns 1.13 ns 10
|
|
std::string copy{str_with_len_N};/512_cv 3.68 % 3.68 % 10
|
|
std::string copy{str_with_len_N};/1024_mean 41.2 ns 41.2 ns 10
|
|
std::string copy{str_with_len_N};/1024_median 40.9 ns 40.9 ns 10
|
|
std::string copy{str_with_len_N};/1024_stddev 1.67 ns 1.67 ns 10
|
|
std::string copy{str_with_len_N};/1024_cv 4.06 % 4.06 % 10
|
|
std::string copy{str_with_len_N};/2048_mean 111 ns 111 ns 10
|
|
std::string copy{str_with_len_N};/2048_median 111 ns 111 ns 10
|
|
std::string copy{str_with_len_N};/2048_stddev 7.17 ns 7.17 ns 10
|
|
std::string copy{str_with_len_N};/2048_cv 6.44 % 6.44 % 10
|
|
std::string copy{str_with_len_N};/4096_mean 139 ns 139 ns 10
|
|
std::string copy{str_with_len_N};/4096_median 140 ns 140 ns 10
|
|
std::string copy{str_with_len_N};/4096_stddev 7.50 ns 7.50 ns 10
|
|
std::string copy{str_with_len_N};/4096_cv 5.41 % 5.41 % 10
|
|
stringa copy{str_with_len_N};/15_mean 1.11 ns 1.11 ns 10
|
|
stringa copy{str_with_len_N};/15_median 1.10 ns 1.10 ns 10
|
|
stringa copy{str_with_len_N};/15_stddev 0.023 ns 0.023 ns 10
|
|
stringa copy{str_with_len_N};/15_cv 2.05 % 2.05 % 10
|
|
stringa copy{str_with_len_N};/16_mean 1.12 ns 1.12 ns 10
|
|
stringa copy{str_with_len_N};/16_median 1.11 ns 1.11 ns 10
|
|
stringa copy{str_with_len_N};/16_stddev 0.032 ns 0.032 ns 10
|
|
stringa copy{str_with_len_N};/16_cv 2.87 % 2.87 % 10
|
|
stringa copy{str_with_len_N};/23_mean 1.11 ns 1.11 ns 10
|
|
stringa copy{str_with_len_N};/23_median 1.10 ns 1.10 ns 10
|
|
stringa copy{str_with_len_N};/23_stddev 0.023 ns 0.023 ns 10
|
|
stringa copy{str_with_len_N};/23_cv 2.11 % 2.11 % 10
|
|
stringa copy{str_with_len_N};/24_mean 16.2 ns 16.2 ns 10
|
|
stringa copy{str_with_len_N};/24_median 16.0 ns 16.0 ns 10
|
|
stringa copy{str_with_len_N};/24_stddev 0.541 ns 0.541 ns 10
|
|
stringa copy{str_with_len_N};/24_cv 3.33 % 3.33 % 10
|
|
stringa copy{str_with_len_N};/32_mean 16.2 ns 16.2 ns 10
|
|
stringa copy{str_with_len_N};/32_median 16.0 ns 16.0 ns 10
|
|
stringa copy{str_with_len_N};/32_stddev 0.374 ns 0.374 ns 10
|
|
stringa copy{str_with_len_N};/32_cv 2.32 % 2.32 % 10
|
|
stringa copy{str_with_len_N};/64_mean 16.8 ns 16.8 ns 10
|
|
stringa copy{str_with_len_N};/64_median 16.6 ns 16.6 ns 10
|
|
stringa copy{str_with_len_N};/64_stddev 0.604 ns 0.604 ns 10
|
|
stringa copy{str_with_len_N};/64_cv 3.59 % 3.59 % 10
|
|
stringa copy{str_with_len_N};/128_mean 16.3 ns 16.3 ns 10
|
|
stringa copy{str_with_len_N};/128_median 16.3 ns 16.3 ns 10
|
|
stringa copy{str_with_len_N};/128_stddev 0.263 ns 0.263 ns 10
|
|
stringa copy{str_with_len_N};/128_cv 1.62 % 1.62 % 10
|
|
stringa copy{str_with_len_N};/256_mean 16.3 ns 16.3 ns 10
|
|
stringa copy{str_with_len_N};/256_median 16.2 ns 16.2 ns 10
|
|
stringa copy{str_with_len_N};/256_stddev 0.244 ns 0.244 ns 10
|
|
stringa copy{str_with_len_N};/256_cv 1.50 % 1.50 % 10
|
|
stringa copy{str_with_len_N};/512_mean 16.4 ns 16.4 ns 10
|
|
stringa copy{str_with_len_N};/512_median 16.3 ns 16.3 ns 10
|
|
stringa copy{str_with_len_N};/512_stddev 0.290 ns 0.290 ns 10
|
|
stringa copy{str_with_len_N};/512_cv 1.77 % 1.77 % 10
|
|
stringa copy{str_with_len_N};/1024_mean 16.2 ns 16.2 ns 10
|
|
stringa copy{str_with_len_N};/1024_median 16.1 ns 16.1 ns 10
|
|
stringa copy{str_with_len_N};/1024_stddev 0.186 ns 0.186 ns 10
|
|
stringa copy{str_with_len_N};/1024_cv 1.15 % 1.15 % 10
|
|
stringa copy{str_with_len_N};/2048_mean 16.2 ns 16.2 ns 10
|
|
stringa copy{str_with_len_N};/2048_median 16.2 ns 16.2 ns 10
|
|
stringa copy{str_with_len_N};/2048_stddev 0.171 ns 0.171 ns 10
|
|
stringa copy{str_with_len_N};/2048_cv 1.06 % 1.06 % 10
|
|
stringa copy{str_with_len_N};/4096_mean 16.2 ns 16.2 ns 10
|
|
stringa copy{str_with_len_N};/4096_median 16.1 ns 16.1 ns 10
|
|
stringa copy{str_with_len_N};/4096_stddev 0.266 ns 0.266 ns 10
|
|
stringa copy{str_with_len_N};/4096_cv 1.64 % 1.64 % 10
|
|
lstringa<16> copy{str_with_len_N};/15_mean 4.87 ns 4.87 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_median 4.84 ns 4.84 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_stddev 0.113 ns 0.113 ns 10
|
|
lstringa<16> copy{str_with_len_N};/15_cv 2.32 % 2.32 % 10
|
|
lstringa<16> copy{str_with_len_N};/16_mean 4.83 ns 4.83 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_median 4.82 ns 4.82 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_stddev 0.074 ns 0.074 ns 10
|
|
lstringa<16> copy{str_with_len_N};/16_cv 1.54 % 1.54 % 10
|
|
lstringa<16> copy{str_with_len_N};/23_mean 4.90 ns 4.90 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_median 4.86 ns 4.86 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_stddev 0.146 ns 0.146 ns 10
|
|
lstringa<16> copy{str_with_len_N};/23_cv 2.99 % 2.99 % 10
|
|
lstringa<16> copy{str_with_len_N};/24_mean 25.0 ns 25.0 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_median 24.7 ns 24.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_stddev 0.875 ns 0.875 ns 10
|
|
lstringa<16> copy{str_with_len_N};/24_cv 3.50 % 3.50 % 10
|
|
lstringa<16> copy{str_with_len_N};/32_mean 25.0 ns 25.1 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_median 24.8 ns 24.8 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_stddev 1.05 ns 1.05 ns 10
|
|
lstringa<16> copy{str_with_len_N};/32_cv 4.20 % 4.20 % 10
|
|
lstringa<16> copy{str_with_len_N};/64_mean 25.9 ns 25.9 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_median 25.7 ns 25.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_stddev 0.649 ns 0.649 ns 10
|
|
lstringa<16> copy{str_with_len_N};/64_cv 2.51 % 2.51 % 10
|
|
lstringa<16> copy{str_with_len_N};/128_mean 27.0 ns 27.0 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_median 26.9 ns 26.9 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_stddev 0.661 ns 0.661 ns 10
|
|
lstringa<16> copy{str_with_len_N};/128_cv 2.45 % 2.45 % 10
|
|
lstringa<16> copy{str_with_len_N};/256_mean 28.3 ns 28.3 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_median 27.8 ns 27.8 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_stddev 1.33 ns 1.33 ns 10
|
|
lstringa<16> copy{str_with_len_N};/256_cv 4.70 % 4.70 % 10
|
|
lstringa<16> copy{str_with_len_N};/512_mean 30.7 ns 30.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_median 30.6 ns 30.6 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_stddev 0.663 ns 0.663 ns 10
|
|
lstringa<16> copy{str_with_len_N};/512_cv 2.16 % 2.16 % 10
|
|
lstringa<16> copy{str_with_len_N};/1024_mean 83.7 ns 83.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_median 83.5 ns 83.5 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_stddev 4.33 ns 4.33 ns 10
|
|
lstringa<16> copy{str_with_len_N};/1024_cv 5.17 % 5.17 % 10
|
|
lstringa<16> copy{str_with_len_N};/2048_mean 97.7 ns 97.7 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_median 96.1 ns 96.1 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_stddev 8.19 ns 8.19 ns 10
|
|
lstringa<16> copy{str_with_len_N};/2048_cv 8.38 % 8.38 % 10
|
|
lstringa<16> copy{str_with_len_N};/4096_mean 116 ns 116 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_median 116 ns 116 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_stddev 5.46 ns 5.46 ns 10
|
|
lstringa<16> copy{str_with_len_N};/4096_cv 4.71 % 4.71 % 10
|
|
lstringa<512> copy{str_with_len_N};/15_mean 4.99 ns 4.99 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_median 4.86 ns 4.86 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_stddev 0.351 ns 0.351 ns 10
|
|
lstringa<512> copy{str_with_len_N};/15_cv 7.03 % 7.03 % 10
|
|
lstringa<512> copy{str_with_len_N};/16_mean 4.89 ns 4.89 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_median 4.88 ns 4.88 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_stddev 0.134 ns 0.134 ns 10
|
|
lstringa<512> copy{str_with_len_N};/16_cv 2.73 % 2.73 % 10
|
|
lstringa<512> copy{str_with_len_N};/23_mean 4.89 ns 4.89 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_median 4.83 ns 4.83 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_stddev 0.137 ns 0.137 ns 10
|
|
lstringa<512> copy{str_with_len_N};/23_cv 2.80 % 2.80 % 10
|
|
lstringa<512> copy{str_with_len_N};/24_mean 4.85 ns 4.85 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_median 4.82 ns 4.82 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_stddev 0.094 ns 0.094 ns 10
|
|
lstringa<512> copy{str_with_len_N};/24_cv 1.94 % 1.94 % 10
|
|
lstringa<512> copy{str_with_len_N};/32_mean 4.52 ns 4.52 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_median 4.49 ns 4.49 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_stddev 0.099 ns 0.099 ns 10
|
|
lstringa<512> copy{str_with_len_N};/32_cv 2.20 % 2.20 % 10
|
|
lstringa<512> copy{str_with_len_N};/64_mean 6.15 ns 6.15 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_median 6.08 ns 6.08 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_stddev 0.283 ns 0.283 ns 10
|
|
lstringa<512> copy{str_with_len_N};/64_cv 4.61 % 4.61 % 10
|
|
lstringa<512> copy{str_with_len_N};/128_mean 6.59 ns 6.59 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_median 6.49 ns 6.49 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_stddev 0.309 ns 0.309 ns 10
|
|
lstringa<512> copy{str_with_len_N};/128_cv 4.69 % 4.69 % 10
|
|
lstringa<512> copy{str_with_len_N};/256_mean 8.29 ns 8.29 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_median 8.28 ns 8.28 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_stddev 0.145 ns 0.145 ns 10
|
|
lstringa<512> copy{str_with_len_N};/256_cv 1.75 % 1.75 % 10
|
|
lstringa<512> copy{str_with_len_N};/512_mean 10.6 ns 10.6 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_median 10.6 ns 10.6 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_stddev 0.196 ns 0.196 ns 10
|
|
lstringa<512> copy{str_with_len_N};/512_cv 1.84 % 1.84 % 10
|
|
lstringa<512> copy{str_with_len_N};/1024_mean 89.0 ns 89.0 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_median 89.5 ns 89.5 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_stddev 4.99 ns 4.99 ns 10
|
|
lstringa<512> copy{str_with_len_N};/1024_cv 5.60 % 5.60 % 10
|
|
lstringa<512> copy{str_with_len_N};/2048_mean 101 ns 101 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_median 99.8 ns 99.8 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_stddev 7.23 ns 7.23 ns 10
|
|
lstringa<512> copy{str_with_len_N};/2048_cv 7.15 % 7.15 % 10
|
|
lstringa<512> copy{str_with_len_N};/4096_mean 115 ns 115 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_median 114 ns 114 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_stddev 4.47 ns 4.47 ns 10
|
|
lstringa<512> copy{str_with_len_N};/4096_cv 3.89 % 3.89 % 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 27.3 ns 27.3 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_median 26.8 ns 26.8 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_stddev 1.08 ns 1.08 ns 10
|
|
std::string s = "123456789"; int res = std::strtol(s.c_str(), 0, 10);_cv 3.97 % 3.97 % 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_mean 12.4 ns 12.4 ns 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_median 12.3 ns 12.3 ns 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_stddev 0.287 ns 0.287 ns 10
|
|
std::string_view s = "123456789"; std::from_chars(s.data(), s.data() + s.size(), res, 10);_cv 2.32 % 2.32 % 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 7.92 ns 7.92 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 7.90 ns 7.90 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.170 ns 0.170 ns 10
|
|
stringa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 2.15 % 2.15 % 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 7.73 ns 7.73 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_median 7.70 ns 7.70 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.126 ns 0.126 ns 10
|
|
ssa s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 1.63 % 1.63 % 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_mean 7.73 ns 7.73 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_median 7.60 ns 7.60 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_stddev 0.343 ns 0.343 ns 10
|
|
lstringa<20> s = "123456789"; int res = s.to_int<int, true, 10, false>_cv 4.43 % 4.43 % 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 24.0 ns 24.0 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_median 23.9 ns 23.9 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_stddev 0.391 ns 0.391 ns 10
|
|
std::string s = "abcDef"; int res = std::strtol(s.c_str(), 0, 16);_cv 1.63 % 1.63 % 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_mean 14.8 ns 14.8 ns 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_median 14.7 ns 14.7 ns 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_stddev 0.433 ns 0.433 ns 10
|
|
std::string_view s = "abcDef"; std::from_chars(s.data(), s.data() + s.size(), res, 16);_cv 2.93 % 2.93 % 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 7.55 ns 7.55 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 7.48 ns 7.48 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.242 ns 0.242 ns 10
|
|
stringa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 3.20 % 3.20 % 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.28 ns 8.28 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.20 ns 8.20 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.205 ns 0.205 ns 10
|
|
ssa s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 2.48 % 2.48 % 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_mean 8.16 ns 8.16 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_median 8.11 ns 8.11 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_stddev 0.113 ns 0.113 ns 10
|
|
lstringa<20> s = "abcDef"; int res = s.to_int<int, true, 16, false>_cv 1.39 % 1.39 % 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 29.1 ns 29.1 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_median 29.6 ns 29.6 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_stddev 0.966 ns 0.966 ns 10
|
|
std::string s = " 123456789"; int res = std::strtol(s.c_str(), 0, 0);_cv 3.32 % 3.32 % 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_mean 16.7 ns 16.7 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_median 16.8 ns 16.8 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_stddev 0.714 ns 0.714 ns 10
|
|
stringa s = " 123456789"; int res = s.to_int<int>; // Check overflow_cv 4.27 % 4.27 % 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_mean 14.6 ns 14.6 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_median 14.6 ns 14.6 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_stddev 0.378 ns 0.378 ns 10
|
|
ssa s = " 123456789"; int res = s.to_int<int, false>; // No check overflow_cv 2.59 % 2.59 % 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 1439 ns 1439 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_median 1423 ns 1423 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_stddev 55.7 ns 55.7 ns 10
|
|
std::stringstream str; ... str << "abbaabbaabbaabba";_cv 3.87 % 3.87 % 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_mean 369 ns 369 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_median 366 ns 366 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_stddev 13.1 ns 13.1 ns 10
|
|
std::string str; ... str += "abbaabbaabbaabba";_cv 3.56 % 3.56 % 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_mean 372 ns 372 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_median 366 ns 366 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_stddev 17.5 ns 17.5 ns 10
|
|
lstringa<8> str; ... str += "abbaabbaabbaabba";_cv 4.69 % 4.69 % 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_mean 258 ns 258 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_median 255 ns 255 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_stddev 10.4 ns 10.4 ns 10
|
|
lstringa<128> str; ... str += "abbaabbaabbaabba";_cv 4.02 % 4.02 % 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_mean 241 ns 241 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_median 237 ns 237 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_stddev 9.51 ns 9.51 ns 10
|
|
lstringa<512> str; ... str += "abbaabbaabbaabba";_cv 3.96 % 3.96 % 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_mean 140 ns 140 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_median 139 ns 139 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_stddev 1.89 ns 1.89 ns 10
|
|
lstringa<1024> str; ... str += "abbaabbaabbaabba";_cv 1.35 % 1.35 % 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 1399 ns 1399 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_median 1392 ns 1392 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_stddev 21.4 ns 21.4 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba";_cv 1.53 % 1.53 % 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_mean 1343 ns 1343 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_median 1335 ns 1335 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_stddev 29.7 ns 29.7 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba";_cv 2.22 % 2.22 % 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_mean 429 ns 429 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_median 425 ns 425 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_stddev 11.9 ns 11.9 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.78 % 2.78 % 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_mean 361 ns 361 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_median 362 ns 362 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_stddev 11.1 ns 11.1 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.07 % 3.07 % 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_mean 316 ns 316 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_median 316 ns 316 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_stddev 10.4 ns 10.4 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba";_cv 3.28 % 3.28 % 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_mean 256 ns 256 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_median 254 ns 254 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_stddev 7.09 ns 7.09 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba";_cv 2.77 % 2.77 % 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 74700 ns 74701 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_median 74616 ns 74616 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_stddev 1876 ns 1876 ns 10
|
|
std::stringstream str; ... str << str_var << "abbaabbaabbaabba"; 2048 times_cv 2.51 % 2.51 % 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 72474 ns 72474 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 71002 ns 71002 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 3104 ns 3104 ns 10
|
|
std::string str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.28 % 4.28 % 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 19642 ns 19642 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 19294 ns 19294 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 924 ns 924 ns 10
|
|
lstringa<8> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 4.70 % 4.70 % 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17774 ns 17774 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17626 ns 17626 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 440 ns 440 ns 10
|
|
lstringa<128> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.48 % 2.48 % 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 17565 ns 17565 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 17594 ns 17594 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 482 ns 482 ns 10
|
|
lstringa<512> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.75 % 2.75 % 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_mean 18274 ns 18274 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_median 18226 ns 18226 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_stddev 365 ns 365 ns 10
|
|
lstringa<1024> str; ... str += str_var + "abbaabbaabbaabba"; 2048 times_cv 2.00 % 2.00 % 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 1400 ns 1400 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_median 1371 ns 1371 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_stddev 59.5 ns 59.5 ns 10
|
|
std::stringstream str; ... str << str_var1 << str_var2;_cv 4.25 % 4.25 % 10
|
|
std::string str; ... str += str_var1 + str_var2;_mean 1342 ns 1342 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_median 1329 ns 1329 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_stddev 40.1 ns 40.1 ns 10
|
|
std::string str; ... str += str_var1 + str_var2;_cv 2.99 % 2.99 % 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_mean 598 ns 598 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_median 591 ns 591 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_stddev 32.2 ns 32.2 ns 10
|
|
lstringa<16> str; ... str += str_var1 + str_var2;_cv 5.39 % 5.39 % 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_mean 500 ns 500 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_median 496 ns 496 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_stddev 13.1 ns 13.1 ns 10
|
|
lstringa<128> str; ... str += str_var1 + str_var2;_cv 2.61 % 2.61 % 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_mean 462 ns 462 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_median 462 ns 462 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_stddev 20.4 ns 20.4 ns 10
|
|
lstringa<512> str; ... str += str_var1 + str_var2;_cv 4.42 % 4.42 % 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_mean 431 ns 431 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_median 440 ns 440 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_stddev 31.5 ns 31.5 ns 10
|
|
lstringa<1024> str; ... str += str_var1 + str_var2;_cv 7.31 % 7.31 % 10
|
|
-- Append text, number, text --/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::stringstream str; str << "test = " << k << " times";_mean 3419 ns 3419 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_median 3299 ns 3299 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_stddev 235 ns 235 ns 10
|
|
std::stringstream str; str << "test = " << k << " times";_cv 6.87 % 6.87 % 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_mean 451 ns 451 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_median 451 ns 451 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_stddev 4.99 ns 4.99 ns 10
|
|
std::string str = "test = " + std::to_string(k) + " times";_cv 1.11 % 1.11 % 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_mean 1509 ns 1509 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_median 1515 ns 1515 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_stddev 26.5 ns 26.5 ns 10
|
|
char buf[100]; sprintf(buf, "test = %u times", k); std::string str = buf;_cv 1.75 % 1.75 % 10
|
|
std::string str = std::format("test = {} times", k);_mean 1286 ns 1286 ns 10
|
|
std::string str = std::format("test = {} times", k);_median 1278 ns 1278 ns 10
|
|
std::string str = std::format("test = {} times", k);_stddev 30.8 ns 30.8 ns 10
|
|
std::string str = std::format("test = {} times", k);_cv 2.40 % 2.40 % 10
|
|
lstringa<8> str; str.format("test = {} times", k);_mean 1618 ns 1618 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_median 1609 ns 1609 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_stddev 21.9 ns 21.9 ns 10
|
|
lstringa<8> str; str.format("test = {} times", k);_cv 1.35 % 1.35 % 10
|
|
lstringa<32> str; str.format("test = {} times", k);_mean 1132 ns 1132 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_median 1127 ns 1127 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_stddev 33.3 ns 33.3 ns 10
|
|
lstringa<32> str; str.format("test = {} times", k);_cv 2.94 % 2.94 % 10
|
|
lstringa<8> str = "test = " + k + " times";_mean 316 ns 316 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_median 316 ns 316 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_stddev 4.81 ns 4.81 ns 10
|
|
lstringa<8> str = "test = " + k + " times";_cv 1.52 % 1.52 % 10
|
|
lstringa<32> str = "test = " + k + " times";_mean 162 ns 162 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_median 160 ns 160 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_stddev 6.29 ns 6.29 ns 10
|
|
lstringa<32> str = "test = " + k + " times";_cv 3.88 % 3.88 % 10
|
|
stringa str = "test = " + k + " times";_mean 174 ns 174 ns 10
|
|
stringa str = "test = " + k + " times";_median 173 ns 173 ns 10
|
|
stringa str = "test = " + k + " times";_stddev 3.60 ns 3.60 ns 10
|
|
stringa str = "test = " + k + " times";_cv 2.07 % 2.07 % 10
|
|
-- Split text and convert to int --/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
std::string::find + substr + std::strtol_mean 285 ns 285 ns 10
|
|
std::string::find + substr + std::strtol_median 282 ns 282 ns 10
|
|
std::string::find + substr + std::strtol_stddev 11.1 ns 11.1 ns 10
|
|
std::string::find + substr + std::strtol_cv 3.90 % 3.90 % 10
|
|
ssa::splitter + ssa::as_int_mean 139 ns 139 ns 10
|
|
ssa::splitter + ssa::as_int_median 139 ns 139 ns 10
|
|
ssa::splitter + ssa::as_int_stddev 1.89 ns 1.89 ns 10
|
|
ssa::splitter + ssa::as_int_cv 1.36 % 1.37 % 10
|
|
ssa::splitf + functor_mean 153 ns 153 ns 10
|
|
ssa::splitf + functor_median 152 ns 152 ns 10
|
|
ssa::splitf + functor_stddev 1.34 ns 1.34 ns 10
|
|
ssa::splitf + functor_cv 0.88 % 0.88 % 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 867 ns 867 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_median 866 ns 866 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_stddev 9.68 ns 9.68 ns 10
|
|
Naive (and wrong) replace symbols with std::string find + replace_cv 1.12 % 1.12 % 10
|
|
replace symbols with std::string find_first_of + replace_mean 2597 ns 2597 ns 10
|
|
replace symbols with std::string find_first_of + replace_median 2577 ns 2577 ns 10
|
|
replace symbols with std::string find_first_of + replace_stddev 74.4 ns 74.4 ns 10
|
|
replace symbols with std::string find_first_of + replace_cv 2.86 % 2.86 % 10
|
|
replace symbols with std::string_view find_first_of + copy_mean 2671 ns 2671 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_median 2667 ns 2667 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_stddev 54.9 ns 54.9 ns 10
|
|
replace symbols with std::string_view find_first_of + copy_cv 2.05 % 2.05 % 10
|
|
replace runtime symbols with string expressions and without remembering all search results_mean 1543 ns 1543 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_median 1549 ns 1549 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_stddev 22.7 ns 22.7 ns 10
|
|
replace runtime symbols with string expressions and without remembering all search results_cv 1.47 % 1.47 % 10
|
|
replace runtime symbols with simstr and memorization of all search results_mean 1181 ns 1181 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_median 1178 ns 1178 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_stddev 42.8 ns 42.8 ns 10
|
|
replace runtime symbols with simstr and memorization of all search results_cv 3.63 % 3.62 % 10
|
|
replace const symbols with string expressions and without remembering all search results_mean 1265 ns 1265 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_median 1255 ns 1255 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_stddev 18.4 ns 18.4 ns 10
|
|
replace const symbols with string expressions and without remembering all search results_cv 1.45 % 1.45 % 10
|
|
replace const symbols with string expressions and memorization of all search results_mean 866 ns 866 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_median 858 ns 858 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_stddev 16.6 ns 16.6 ns 10
|
|
replace const symbols with string expressions and memorization of all search results_cv 1.91 % 1.91 % 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 170 ns 170 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_median 165 ns 165 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_stddev 13.1 ns 13.1 ns 10
|
|
Short Naive (and wrong) replace symbols with std::string find + replace_cv 7.73 % 7.73 % 10
|
|
Short replace symbols with std::string find_first_of + replace_mean 348 ns 348 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_median 332 ns 332 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_stddev 35.6 ns 35.6 ns 10
|
|
Short replace symbols with std::string find_first_of + replace_cv 10.24 % 10.24 % 10
|
|
Short replace symbols with std::string_view find_first_of + copy_mean 322 ns 322 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_median 321 ns 321 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_stddev 6.90 ns 6.90 ns 10
|
|
Short replace symbols with std::string_view find_first_of + copy_cv 2.14 % 2.14 % 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_mean 198 ns 198 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_median 198 ns 198 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_stddev 3.57 ns 3.57 ns 10
|
|
Short replace runtime symbols with string expressions and without remembering all search results_cv 1.81 % 1.81 % 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_mean 192 ns 192 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_median 192 ns 192 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_stddev 4.04 ns 4.04 ns 10
|
|
Short replace runtime symbols with simstr and memorization of all search results_cv 2.10 % 2.10 % 10
|
|
Short replace const symbols with string expressions and without remembering all search results_mean 165 ns 165 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_median 165 ns 165 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_stddev 3.56 ns 3.56 ns 10
|
|
Short replace const symbols with string expressions and without remembering all search results_cv 2.17 % 2.17 % 10
|
|
Short replace const symbols with string expressions and memorization of all search results_mean 153 ns 153 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_median 153 ns 153 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_stddev 2.48 ns 2.48 ns 10
|
|
Short replace const symbols with string expressions and memorization of all search results_cv 1.62 % 1.62 % 10
|
|
----- Replace All Str To Longer Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
replace bb to ---- in std::string|64_mean 162 ns 162 ns 10
|
|
replace bb to ---- in std::string|64_median 163 ns 163 ns 10
|
|
replace bb to ---- in std::string|64_stddev 4.04 ns 4.04 ns 10
|
|
replace bb to ---- in std::string|64_cv 2.49 % 2.49 % 10
|
|
replace bb to ---- in std::string|256_mean 493 ns 493 ns 10
|
|
replace bb to ---- in std::string|256_median 493 ns 493 ns 10
|
|
replace bb to ---- in std::string|256_stddev 8.37 ns 8.37 ns 10
|
|
replace bb to ---- in std::string|256_cv 1.70 % 1.70 % 10
|
|
replace bb to ---- in std::string|512_mean 993 ns 993 ns 10
|
|
replace bb to ---- in std::string|512_median 994 ns 994 ns 10
|
|
replace bb to ---- in std::string|512_stddev 14.5 ns 14.5 ns 10
|
|
replace bb to ---- in std::string|512_cv 1.46 % 1.46 % 10
|
|
replace bb to ---- in std::string|1024_mean 2333 ns 2333 ns 10
|
|
replace bb to ---- in std::string|1024_median 2320 ns 2320 ns 10
|
|
replace bb to ---- in std::string|1024_stddev 65.6 ns 65.6 ns 10
|
|
replace bb to ---- in std::string|1024_cv 2.81 % 2.81 % 10
|
|
replace bb to ---- in std::string|2048_mean 6359 ns 6359 ns 10
|
|
replace bb to ---- in std::string|2048_median 6499 ns 6499 ns 10
|
|
replace bb to ---- in std::string|2048_stddev 455 ns 455 ns 10
|
|
replace bb to ---- in std::string|2048_cv 7.16 % 7.16 % 10
|
|
replace bb to ---- in lstringa<8>|64_mean 167 ns 167 ns 10
|
|
replace bb to ---- in lstringa<8>|64_median 167 ns 167 ns 10
|
|
replace bb to ---- in lstringa<8>|64_stddev 3.62 ns 3.62 ns 10
|
|
replace bb to ---- in lstringa<8>|64_cv 2.17 % 2.17 % 10
|
|
replace bb to ---- in lstringa<8>|256_mean 495 ns 495 ns 10
|
|
replace bb to ---- in lstringa<8>|256_median 492 ns 492 ns 10
|
|
replace bb to ---- in lstringa<8>|256_stddev 10.9 ns 10.9 ns 10
|
|
replace bb to ---- in lstringa<8>|256_cv 2.20 % 2.20 % 10
|
|
replace bb to ---- in lstringa<8>|512_mean 922 ns 922 ns 10
|
|
replace bb to ---- in lstringa<8>|512_median 922 ns 922 ns 10
|
|
replace bb to ---- in lstringa<8>|512_stddev 23.3 ns 23.3 ns 10
|
|
replace bb to ---- in lstringa<8>|512_cv 2.53 % 2.53 % 10
|
|
replace bb to ---- in lstringa<8>|1024_mean 1862 ns 1862 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_median 1861 ns 1861 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_stddev 30.7 ns 30.7 ns 10
|
|
replace bb to ---- in lstringa<8>|1024_cv 1.65 % 1.65 % 10
|
|
replace bb to ---- in lstringa<8>|2048_mean 3551 ns 3551 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_median 3539 ns 3539 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_stddev 62.8 ns 62.8 ns 10
|
|
replace bb to ---- in lstringa<8>|2048_cv 1.77 % 1.77 % 10
|
|
replace bb to ---- by init stringa|64_mean 121 ns 121 ns 10
|
|
replace bb to ---- by init stringa|64_median 122 ns 122 ns 10
|
|
replace bb to ---- by init stringa|64_stddev 2.81 ns 2.81 ns 10
|
|
replace bb to ---- by init stringa|64_cv 2.31 % 2.31 % 10
|
|
replace bb to ---- by init stringa|256_mean 444 ns 444 ns 10
|
|
replace bb to ---- by init stringa|256_median 444 ns 444 ns 10
|
|
replace bb to ---- by init stringa|256_stddev 6.27 ns 6.27 ns 10
|
|
replace bb to ---- by init stringa|256_cv 1.41 % 1.41 % 10
|
|
replace bb to ---- by init stringa|512_mean 827 ns 827 ns 10
|
|
replace bb to ---- by init stringa|512_median 825 ns 825 ns 10
|
|
replace bb to ---- by init stringa|512_stddev 15.8 ns 15.8 ns 10
|
|
replace bb to ---- by init stringa|512_cv 1.91 % 1.91 % 10
|
|
replace bb to ---- by init stringa|1024_mean 1637 ns 1637 ns 10
|
|
replace bb to ---- by init stringa|1024_median 1635 ns 1635 ns 10
|
|
replace bb to ---- by init stringa|1024_stddev 22.9 ns 22.9 ns 10
|
|
replace bb to ---- by init stringa|1024_cv 1.40 % 1.40 % 10
|
|
replace bb to ---- by init stringa|2048_mean 3280 ns 3280 ns 10
|
|
replace bb to ---- by init stringa|2048_median 3267 ns 3267 ns 10
|
|
replace bb to ---- by init stringa|2048_stddev 71.3 ns 71.3 ns 10
|
|
replace bb to ---- by init stringa|2048_cv 2.17 % 2.17 % 10
|
|
----- Replace All Str To Same Size ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
replace bb to -- in std::string|64_mean 125 ns 125 ns 10
|
|
replace bb to -- in std::string|64_median 125 ns 125 ns 10
|
|
replace bb to -- in std::string|64_stddev 2.16 ns 2.16 ns 10
|
|
replace bb to -- in std::string|64_cv 1.73 % 1.73 % 10
|
|
replace bb to -- in std::string|256_mean 405 ns 405 ns 10
|
|
replace bb to -- in std::string|256_median 402 ns 402 ns 10
|
|
replace bb to -- in std::string|256_stddev 8.63 ns 8.63 ns 10
|
|
replace bb to -- in std::string|256_cv 2.13 % 2.13 % 10
|
|
replace bb to -- in std::string|512_mean 780 ns 780 ns 10
|
|
replace bb to -- in std::string|512_median 777 ns 777 ns 10
|
|
replace bb to -- in std::string|512_stddev 13.5 ns 13.5 ns 10
|
|
replace bb to -- in std::string|512_cv 1.73 % 1.73 % 10
|
|
replace bb to -- in std::string|1024_mean 1446 ns 1446 ns 10
|
|
replace bb to -- in std::string|1024_median 1452 ns 1452 ns 10
|
|
replace bb to -- in std::string|1024_stddev 23.9 ns 23.9 ns 10
|
|
replace bb to -- in std::string|1024_cv 1.65 % 1.65 % 10
|
|
replace bb to -- in std::string|2048_mean 3138 ns 3138 ns 10
|
|
replace bb to -- in std::string|2048_median 3133 ns 3133 ns 10
|
|
replace bb to -- in std::string|2048_stddev 68.1 ns 68.1 ns 10
|
|
replace bb to -- in std::string|2048_cv 2.17 % 2.17 % 10
|
|
replace bb to -- in lstringa<8>|64_mean 103 ns 103 ns 10
|
|
replace bb to -- in lstringa<8>|64_median 103 ns 103 ns 10
|
|
replace bb to -- in lstringa<8>|64_stddev 3.47 ns 3.47 ns 10
|
|
replace bb to -- in lstringa<8>|64_cv 3.35 % 3.35 % 10
|
|
replace bb to -- in lstringa<8>|256_mean 301 ns 301 ns 10
|
|
replace bb to -- in lstringa<8>|256_median 300 ns 300 ns 10
|
|
replace bb to -- in lstringa<8>|256_stddev 4.94 ns 4.94 ns 10
|
|
replace bb to -- in lstringa<8>|256_cv 1.64 % 1.64 % 10
|
|
replace bb to -- in lstringa<8>|512_mean 548 ns 548 ns 10
|
|
replace bb to -- in lstringa<8>|512_median 549 ns 549 ns 10
|
|
replace bb to -- in lstringa<8>|512_stddev 11.5 ns 11.5 ns 10
|
|
replace bb to -- in lstringa<8>|512_cv 2.10 % 2.10 % 10
|
|
replace bb to -- in lstringa<8>|1024_mean 1112 ns 1112 ns 10
|
|
replace bb to -- in lstringa<8>|1024_median 1117 ns 1117 ns 10
|
|
replace bb to -- in lstringa<8>|1024_stddev 21.9 ns 21.9 ns 10
|
|
replace bb to -- in lstringa<8>|1024_cv 1.97 % 1.97 % 10
|
|
replace bb to -- in lstringa<8>|2048_mean 2105 ns 2105 ns 10
|
|
replace bb to -- in lstringa<8>|2048_median 2088 ns 2088 ns 10
|
|
replace bb to -- in lstringa<8>|2048_stddev 58.9 ns 58.9 ns 10
|
|
replace bb to -- in lstringa<8>|2048_cv 2.80 % 2.80 % 10
|
|
replace bb to -- by init stringa|64_mean 91.4 ns 91.4 ns 10
|
|
replace bb to -- by init stringa|64_median 91.0 ns 91.0 ns 10
|
|
replace bb to -- by init stringa|64_stddev 1.74 ns 1.74 ns 10
|
|
replace bb to -- by init stringa|64_cv 1.90 % 1.90 % 10
|
|
replace bb to -- by init stringa|256_mean 261 ns 261 ns 10
|
|
replace bb to -- by init stringa|256_median 258 ns 258 ns 10
|
|
replace bb to -- by init stringa|256_stddev 7.95 ns 7.95 ns 10
|
|
replace bb to -- by init stringa|256_cv 3.05 % 3.05 % 10
|
|
replace bb to -- by init stringa|512_mean 485 ns 485 ns 10
|
|
replace bb to -- by init stringa|512_median 485 ns 485 ns 10
|
|
replace bb to -- by init stringa|512_stddev 6.01 ns 6.01 ns 10
|
|
replace bb to -- by init stringa|512_cv 1.24 % 1.24 % 10
|
|
replace bb to -- by init stringa|1024_mean 984 ns 984 ns 10
|
|
replace bb to -- by init stringa|1024_median 976 ns 976 ns 10
|
|
replace bb to -- by init stringa|1024_stddev 31.5 ns 31.5 ns 10
|
|
replace bb to -- by init stringa|1024_cv 3.20 % 3.20 % 10
|
|
replace bb to -- by init stringa|2048_mean 1862 ns 1862 ns 10
|
|
replace bb to -- by init stringa|2048_median 1872 ns 1872 ns 10
|
|
replace bb to -- by init stringa|2048_stddev 35.5 ns 35.5 ns 10
|
|
replace bb to -- by init stringa|2048_cv 1.91 % 1.91 % 10
|
|
----- Hash Map insert and find ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
hashStrMapA<size_t> emplace & find stringa;_mean 3769704 ns 3769718 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_median 3760472 ns 3760485 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_stddev 60750 ns 60751 ns 10
|
|
hashStrMapA<size_t> emplace & find stringa;_cv 1.61 % 1.61 % 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_mean 3652417 ns 3652436 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_median 3645060 ns 3645073 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_stddev 82821 ns 82811 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string;_cv 2.27 % 2.27 % 10
|
|
hashStrMapA<size_t> emplace & find ssa;_mean 3800957 ns 3800973 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_median 3796589 ns 3796604 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_stddev 47150 ns 47150 ns 10
|
|
hashStrMapA<size_t> emplace & find ssa;_cv 1.24 % 1.24 % 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_mean 4103196 ns 4103210 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_median 4108227 ns 4108241 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_stddev 68621 ns 68620 ns 10
|
|
std::unordered_map<std::string, size_t> emplace & find std::string_view;_cv 1.67 % 1.67 % 10
|
|
----- Build Full Func Name ---------/repeats:1 0.000 ns 0.000 ns 1000000000
|
|
Build func full name std::string;_mean 949 ns 949 ns 10
|
|
Build func full name std::string;_median 945 ns 945 ns 10
|
|
Build func full name std::string;_stddev 33.5 ns 33.5 ns 10
|
|
Build func full name std::string;_cv 3.53 % 3.53 % 10
|
|
Build func full name std::string 1;_mean 1025 ns 1025 ns 10
|
|
Build func full name std::string 1;_median 1017 ns 1017 ns 10
|
|
Build func full name std::string 1;_stddev 35.7 ns 35.7 ns 10
|
|
Build func full name std::string 1;_cv 3.48 % 3.48 % 10
|
|
Build func full name std::stream;_mean 2654 ns 2654 ns 10
|
|
Build func full name std::stream;_median 2648 ns 2648 ns 10
|
|
Build func full name std::stream;_stddev 33.0 ns 33.0 ns 10
|
|
Build func full name std::stream;_cv 1.24 % 1.24 % 10
|
|
Build func full name stringa;_mean 500 ns 500 ns 10
|
|
Build func full name stringa;_median 494 ns 494 ns 10
|
|
Build func full name stringa;_stddev 16.0 ns 16.0 ns 10
|
|
Build func full name stringa;_cv 3.20 % 3.20 % 10
|
|
Build func full name stringa 1;_mean 716 ns 716 ns 10
|
|
Build func full name stringa 1;_median 712 ns 712 ns 10
|
|
Build func full name stringa 1;_stddev 20.9 ns 20.9 ns 10
|
|
Build func full name stringa 1;_cv 2.92 % 2.92 % 10
|