summaryrefslogtreecommitdiff
path: root/bench/bld.sub
diff options
context:
space:
mode:
Diffstat (limited to 'bench/bld.sub')
-rw-r--r--bench/bld.sub45
1 files changed, 20 insertions, 25 deletions
diff --git a/bench/bld.sub b/bench/bld.sub
index 560ebdf..50ce1d4 100644
--- a/bench/bld.sub
+++ b/bench/bld.sub
@@ -1,57 +1,52 @@
-bin intsort {noinst,tag=bench} =
+bench hashit =
+ hashit.myr
+ lib ../lib/std:std
+ lib ../lib/sys:sys
+ lib ../lib/testr:testr
+;;
+bench intsort =
intsort.myr
lib ../lib/std:std
lib ../lib/sys:sys
+ lib ../lib/testr:testr
;;
-bin copious-allocs {noinst,tag=bench} =
+bench copious-allocs =
copious-allocs.myr
lib ../lib/std:std
lib ../lib/sys:sys
+ lib ../lib/testr:testr
;;
-bin sha1-compute {noinst,tag=bench} =
+bench sha1-compute =
sha1-compute.myr
lib ../lib/std:std
lib ../lib/sys:sys
lib ../lib/crypto:crypto
+ lib ../lib/testr:testr
;;
-bin bigfactorial {noinst,tag=bench} =
+bench bigfactorial =
bigfactorial.myr
lib ../lib/std:std
lib ../lib/sys:sys
+ lib ../lib/testr:testr
;;
-bin mandelbrot {noinst,tag=bench} =
+bench mandelbrot =
mandelbrot.myr
lib ../lib/std:std
lib ../lib/sys:sys
lib ../lib/bio:bio
+ lib ../lib/testr:testr
;;
-bin regex-match {noinst,tag=bench} =
+bench regex-match =
regex-match.myr
lib ../lib/std:std
lib ../lib/sys:sys
lib ../lib/regex:regex
+ lib ../lib/testr:testr
;;
-bin many-memcpy {noinst,tag=bench} =
+bench many-memcpy =
many-memcpy.myr
lib ../lib/std:std
lib ../lib/sys:sys
-;;
-
-# benchmark runner
-bin runbench {noinst,tag=bench} =
- runbench.myr
- lib ../lib/std:std
- lib ../lib/sys:sys
-;;
-
-cmd benchit {tag=bench} =
- ./runbench
- intsort
- copious-allocs
- sha1-compute
- bigfactorial
- mandelbrot
- regex-match
- many-memcpy
+ lib ../lib/testr:testr
;;