Skip to content

Commit f4a1672

Browse files
committed
Update perf-test to print the baseline results and double check the parameters for each benchmark
1 parent 768e935 commit f4a1672

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

perf-test.sh

+20-9
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,41 @@
11
echo "
2-
./cache-scratch 1 1000 8 1000000"
2+
./cache-scratch 1 1000 8 1000000
3+
Best runtime: 9.75"
34
./cache-scratch 1 1000 8 1000000
45
echo "
5-
./cache-scratch 12 1000 8 1000000"
6+
./cache-scratch 12 1000 8 1000000
7+
Best runtime: 0.8"
68
./cache-scratch 12 1000 8 1000000
79
echo "
8-
./cache-thrash 1 1000 8 1000000"
10+
./cache-thrash 1 1000 8 1000000
11+
Best runtime: 9.75"
912
./cache-thrash 1 1000 8 1000000
1013
echo "
11-
./cache-thrash 12 1000 8 1000000"
14+
./cache-thrash 12 1000 8 1000000
15+
Best runtime: .8"
1216
./cache-thrash 12 1000 8 1000000
1317
echo "
14-
./larson 10 7 16 1000 10000 6172 12"
18+
./larson 10 7 16 1000 10000 6172 12
19+
Best throughput: 123,076,497 ops / sec"
1520
./larson 10 7 16 1000 10000 6172 12
1621
echo "
17-
./larson 10 7 8 1000 10000 6172 12"
22+
./larson 10 7 8 1000 10000 6172 12
23+
Best throughput: 109,141,674 ops / sec"
1824
./larson 10 7 8 1000 10000 6172 12
1925
echo "
20-
./linux-scalability 8 10000000 1"
26+
./linux-scalability 8 10000000 1
27+
Best run-time: 0.073"
2128
./linux-scalability 8 10000000 1
2229
echo "
23-
./linux-scalability 8 10000000 12"
30+
./linux-scalability 8 10000000 12
31+
Best run-time: 0.073"
2432
./linux-scalability 8 10000000 12
2533
echo "
26-
./linux-scalability 999 10000000 12"
34+
./linux-scalability 999 10000000 12
35+
Best run-time: 0.073"
2736
./linux-scalability 999 10000000 12
2837

38+
: '
2939
echo "-----------------------VALIDATION------------------------"
3040
echo "
3141
./validate.py ./cache-scratch-validate 1 1000 8 1000000"
@@ -54,3 +64,4 @@ echo "
5464
echo "
5565
./validate.py ./linux-scalability-validate 999 1000000 12"
5666
./validate.py ./linux-scalability-validate 999 1000000 12
67+
'

0 commit comments

Comments
 (0)