summaryrefslogtreecommitdiffhomepage
path: root/misc/benchmarks/plotbench/cpque_benchmark.cpp
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-24 22:57:44 +0200
committertylov <[email protected]>2023-07-24 22:57:44 +0200
commit78ba677b59a8cecd69f733fca1a37ad01b38320f (patch)
tree7a045c9c60ff74f6b04c10ce05921a3b3782c499 /misc/benchmarks/plotbench/cpque_benchmark.cpp
parentf1f0c01e798eb3217e62a43de660723173984547 (diff)
downloadSTC-modified-78ba677b59a8cecd69f733fca1a37ad01b38320f.tar.gz
STC-modified-78ba677b59a8cecd69f733fca1a37ad01b38320f.zip
Updated and fixed benchmarks and performance graphs.
Diffstat (limited to 'misc/benchmarks/plotbench/cpque_benchmark.cpp')
-rw-r--r--misc/benchmarks/plotbench/cpque_benchmark.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/benchmarks/plotbench/cpque_benchmark.cpp b/misc/benchmarks/plotbench/cpque_benchmark.cpp
index 6c62ae3e..aafc9eb0 100644
--- a/misc/benchmarks/plotbench/cpque_benchmark.cpp
+++ b/misc/benchmarks/plotbench/cpque_benchmark.cpp
@@ -37,7 +37,8 @@ void stc_test()
{
int N = 10000000;
- c_auto (cpque_f, pq)
+ cpque_f pq = {0};
+ c_defer(cpque_f_drop(&pq))
{
csrand(seed);
clock_t start = clock();