summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-09-10 20:11:30 -0400
committerDavid Robillard <d@drobilla.net>2021-09-10 20:11:30 -0400
commite48bf96abd8e872979b74ba95a02992c7bfac4ca (patch)
tree3bd4321816d3fa6d0ed75400a4d0e8d85f360c70 /scripts
parent78d5e3d5920c39aec051816eea9953cdfea2745f (diff)
downloadzix-e48bf96abd8e872979b74ba95a02992c7bfac4ca.tar.gz
zix-e48bf96abd8e872979b74ba95a02992c7bfac4ca.tar.bz2
zix-e48bf96abd8e872979b74ba95a02992c7bfac4ca.zip
Fix benchmarking script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/benchmark.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/benchmark.py b/scripts/benchmark.py
index 9b57a45..aec2bf5 100755
--- a/scripts/benchmark.py
+++ b/scripts/benchmark.py
@@ -9,11 +9,9 @@ import random
import string
import subprocess
-os.chdir("build")
-
# Benchmark trees
-subprocess.call(["benchmark/tree_bench", "40000", "640000"])
+subprocess.call(["./tree_bench", "40000", "640000"])
subprocess.call(
[
"../scripts/plot.py",
@@ -49,7 +47,7 @@ if not os.path.exists(FILENAME):
for i in range(1 << 20):
out.write(random_word() + "\n")
-subprocess.call(["benchmark/dict_bench", "gibberish.txt"])
+subprocess.call(["./dict_bench", "gibberish.txt"])
subprocess.call(
[
"../scripts/plot.py",