summaryrefslogtreecommitdiff
path: root/bench/bld.sub
diff options
context:
space:
mode:
Diffstat (limited to 'bench/bld.sub')
-rw-r--r--bench/bld.sub55
1 files changed, 14 insertions, 41 deletions
diff --git a/bench/bld.sub b/bench/bld.sub
index 560ebdf..910de59 100644
--- a/bench/bld.sub
+++ b/bench/bld.sub
@@ -1,57 +1,30 @@
-bin intsort {noinst,tag=bench} =
- intsort.myr
+testdeps =
lib ../lib/std:std
lib ../lib/sys:sys
+ lib ../lib/crypto:crypto
+ lib ../lib/bio:bio
+ lib ../lib/testr:testr
;;
-bin copious-allocs {noinst,tag=bench} =
+
+bench intsort =
+ intsort.myr
+;;
+bench copious-allocs =
copious-allocs.myr
- lib ../lib/std:std
- lib ../lib/sys:sys
;;
-bin sha1-compute {noinst,tag=bench} =
+bench sha1-compute =
sha1-compute.myr
- lib ../lib/std:std
- lib ../lib/sys:sys
- lib ../lib/crypto:crypto
;;
-bin bigfactorial {noinst,tag=bench} =
+bench bigfactorial =
bigfactorial.myr
- lib ../lib/std:std
- lib ../lib/sys:sys
;;
-bin mandelbrot {noinst,tag=bench} =
+bench mandelbrot =
mandelbrot.myr
- lib ../lib/std:std
- lib ../lib/sys:sys
- lib ../lib/bio:bio
;;
-bin regex-match {noinst,tag=bench} =
+bench regex-match =
regex-match.myr
- lib ../lib/std:std
- lib ../lib/sys:sys
- lib ../lib/regex:regex
;;
-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
;;