aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/benchmark.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmark.sh b/test/benchmark.sh
index b8bc156..9d98861 100755
--- a/test/benchmark.sh
+++ b/test/benchmark.sh
@@ -14,7 +14,7 @@ for TEST_FILE in "$DATA_DIR"/*; do
echo "Benchmarking $FILE_NAME using $ALGORITHM ..."
- time=$(perf stat -e task-clock $SORTER -a "$ALGORITHM" "$TEST_FILE" >/dev/null 2> perf_out.txt)
+ perf stat -e task-clock $SORTER -a "$ALGORITHM" "$TEST_FILE" >/dev/null 2> perf_out.txt
elapsed=$(grep "seconds time elapsed" perf_out.txt | awk '{print $1}')
# Remove prefix and suffix