summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-04 11:18:48 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-04 11:18:48 -0800
commite989bbf2b6d71c6ce9f9bb438f31097110fff1d6 (patch)
treecb097dce3646903b95afb04c84cf9cf5d32358f9 /bench
parent8526055dff6cd1c350da84f97de89efa75606ec7 (diff)
downloadmc-e989bbf2b6d71c6ce9f9bb438f31097110fff1d6.tar.gz
Add benchmark build tag to benchmarks.
We don't need them built by default.
Diffstat (limited to 'bench')
-rw-r--r--bench/bld.sub18
1 files changed, 9 insertions, 9 deletions
diff --git a/bench/bld.sub b/bench/bld.sub
index cee5b31..152502c 100644
--- a/bench/bld.sub
+++ b/bench/bld.sub
@@ -1,51 +1,51 @@
-bin intsort {noinst} =
+bin intsort {noinst,tag=bench} =
intsort.myr
lib ../lib/std:std
lib ../lib/sys:sys
;;
-bin copious-allocs {noinst} =
+bin copious-allocs {noinst,tag=bench} =
copious-allocs.myr
lib ../lib/std:std
lib ../lib/sys:sys
;;
-bin sha1-compute {noinst} =
+bin sha1-compute {noinst,tag=bench} =
sha1-compute.myr
lib ../lib/std:std
lib ../lib/sys:sys
lib ../lib/cryptohash:cryptohash
;;
-bin bigfactorial {noinst} =
+bin bigfactorial {noinst,tag=bench} =
bigfactorial.myr
lib ../lib/std:std
lib ../lib/sys:sys
;;
-bin mandelbrot {noinst} =
+bin mandelbrot {noinst,tag=bench} =
mandelbrot.myr
lib ../lib/std:std
lib ../lib/sys:sys
lib ../lib/bio:bio
;;
-bin regex-match {noinst} =
+bin regex-match {noinst,tag=bench} =
regex-match.myr
lib ../lib/std:std
lib ../lib/sys:sys
lib ../lib/regex:regex
;;
-bin many-memcpy {noinst} =
+bin many-memcpy {noinst,tag=bench} =
many-memcpy.myr
lib ../lib/std:std
lib ../lib/sys:sys
;;
# benchmark runner
-bin runbench {noinst} =
+bin runbench {noinst,tag=bench} =
runbench.myr
lib ../lib/std:std
lib ../lib/sys:sys
;;
-cmd benchit =
+cmd benchit {tag=bench} =
./runbench
intsort
copious-allocs