diff options
| author | Tyge Lovset <[email protected]> | 2022-05-10 08:58:04 +0200 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2022-05-10 08:58:04 +0200 |
| commit | 649060e1275f04985ded4b324ae8e2b004788e78 (patch) | |
| tree | d7d30631cc247ea60b65be78afe8b20a18f3ef43 /benchmarks/misc/sso_bench.cpp | |
| parent | 973cdf51cbc10bcd6749763aec007f3730884a2d (diff) | |
| download | STC-modified-649060e1275f04985ded4b324ae8e2b004788e78.tar.gz STC-modified-649060e1275f04985ded4b324ae8e2b004788e78.zip | |
Renamed (newish) functions expand_uninitialized to expand_uninit. + some minor changes.
Diffstat (limited to 'benchmarks/misc/sso_bench.cpp')
| -rw-r--r-- | benchmarks/misc/sso_bench.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/benchmarks/misc/sso_bench.cpp b/benchmarks/misc/sso_bench.cpp index e8ecd9ba..f503ffb0 100644 --- a/benchmarks/misc/sso_bench.cpp +++ b/benchmarks/misc/sso_bench.cpp @@ -12,7 +12,7 @@ using stdcon = std::vector<std::string>; static const int BENCHMARK_SIZE = 5000000; -static const int MAX_STRING_LENGTH = 60; +static const int MAX_STRING_LENGTH = 40; static const char CHARS[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz=+-"; using time_point = std::chrono::high_resolution_clock::time_point; @@ -86,7 +86,6 @@ int main() { std::cout << '\t' << *con.begin() << '\n'; } std::cout << "Avg:\t" << sum/n << '\n'; - csrandom(seed); sum = 0, n = 0; |
