diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-05-03 14:10:33 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-05-03 14:11:45 +0000 |
commit | db8563cb461056aaed6ce1fc28cafae7445f248a (patch) | |
tree | 5ad633ca45ae393afbe1c312716c590728a41df8 /tests/performance_tests/performance_tests.h | |
parent | Merge pull request #6470 (diff) | |
download | monero-db8563cb461056aaed6ce1fc28cafae7445f248a.tar.xz |
performance_tests: some windows fixes
Too many iterations cause std::bad_alloc for the timings vector,
and the micro prefix displays as some other character, so use u.
Reported by iDunk
Diffstat (limited to 'tests/performance_tests/performance_tests.h')
-rw-r--r-- | tests/performance_tests/performance_tests.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/performance_tests/performance_tests.h b/tests/performance_tests/performance_tests.h index 606c5980f..84fe31b54 100644 --- a/tests/performance_tests/performance_tests.h +++ b/tests/performance_tests/performance_tests.h @@ -195,7 +195,7 @@ void run_test(const std::string &filter, Params ¶ms, const char* test_name) scale = 1000; time_per_call = runner.time_per_call(1000); #ifdef _WIN32 - unit = "\xb5s"; + unit = "us"; #else unit = "µs"; #endif |