summaryrefslogtreecommitdiffhomepage
path: root/misc/benchmarks/plotbench/cpque_benchmark.cpp
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2023-04-07 13:33:06 +0200
committerTyge Lovset <[email protected]>2023-04-07 13:33:06 +0200
commit13eb85e05a88633454df7b62b80737fcc9d12238 (patch)
tree302886fb464409ba5633ffebfcf7186c4671e336 /misc/benchmarks/plotbench/cpque_benchmark.cpp
parent2ad41420a973a3f1bd1ca47ab0f61b8f59ab9e66 (diff)
downloadSTC-modified-13eb85e05a88633454df7b62b80737fcc9d12238.tar.gz
STC-modified-13eb85e05a88633454df7b62b80737fcc9d12238.zip
Massive documentation update/improvements.
Reduced benchmarks/plotbench repetition/sizes.
Diffstat (limited to 'misc/benchmarks/plotbench/cpque_benchmark.cpp')
-rw-r--r--misc/benchmarks/plotbench/cpque_benchmark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/benchmarks/plotbench/cpque_benchmark.cpp b/misc/benchmarks/plotbench/cpque_benchmark.cpp
index da092b7f..2d4c7a28 100644
--- a/misc/benchmarks/plotbench/cpque_benchmark.cpp
+++ b/misc/benchmarks/plotbench/cpque_benchmark.cpp
@@ -11,7 +11,7 @@
#include <queue>
static const uint32_t seed = 1234;
-static const int N = 10000000;
+static const int N = 2500000;
void std_test()
{
@@ -47,7 +47,7 @@ void stc_test()
printf("Built priority queue: %f secs\n", (float)(clock() - start)/(float)CLOCKS_PER_SEC);
printf("%g ", *cpque_f_top(&pq));
-
+
start = clock();
c_forrange (i, N) {
cpque_f_pop(&pq);