aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-07-19 03:27:55 -0700
committerAlexander Blair <snipa@jagtech.io>2020-07-19 03:27:55 -0700
commit65938d26f69b7b768a1f838792233cc8bacfc1ee (patch)
tree9ffef2d9e4496fb63e67ac86fc089528723bfab0 /tests
parentMerge pull request #6489 (diff)
parentperformance_tests: some windows fixes (diff)
downloadmonero-65938d26f69b7b768a1f838792233cc8bacfc1ee.tar.xz
Merge pull request #6497
db8563cb performance_tests: some windows fixes (moneromooo-monero)
Diffstat (limited to 'tests')
-rw-r--r--tests/performance_tests/equality.h2
-rw-r--r--tests/performance_tests/performance_tests.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/performance_tests/equality.h b/tests/performance_tests/equality.h
index 5788ebec8..bd6c93a83 100644
--- a/tests/performance_tests/equality.h
+++ b/tests/performance_tests/equality.h
@@ -35,7 +35,7 @@
struct memcmp32
{
- static const size_t loop_count = 1000000000;
+ static const size_t loop_count = 10000000;
static int call(const unsigned char *k0, const unsigned char *k1){ return memcmp(k0, k1, 32); }
};
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 &params, const char* test_name)
scale = 1000;
time_per_call = runner.time_per_call(1000);
#ifdef _WIN32
- unit = "\xb5s";
+ unit = "us";
#else
unit = "µs";
#endif