shithub: mc

ref: ca845d8cb698f7822497046525c1ea477a944835
dir: /bench/bld.sub/

View raw version
bin intsort =
	intsort.myr
	lib @/lib/std:std
	lib @/lib/sys:sys
;;
bin copious-allocs =
	copious-allocs.myr
	lib @/lib/std:std
	lib @/lib/sys:sys
;;
bin sha1-compute =
	sha1-compute.myr
	lib @/lib/std:std
	lib @/lib/sys:sys
	lib @/lib/cryptohash:cryptohash
;;
bin bigfactorial =
	bigfactorial.myr
	lib @/lib/std:std
	lib @/lib/sys:sys
;;
bin mandelbrot =
	mandelbrot.myr
	lib @/lib/std:std
	lib @/lib/sys:sys
	lib @/lib/bio:bio
;;
bin regex-match =
	regex-match.myr
	lib @/lib/std:std
	lib @/lib/sys:sys
	lib @/lib/regex:regex
;;

bin many-memcpy =
	many-memcpy.myr
	lib @/lib/std:std
	lib @/lib/sys:sys
;;

# benchmark runner
bin runbench =
	runbench.myr
	lib @/lib/std:std
	lib @/lib/sys:sys
;;

cmd benchit =
	./runbench
		intsort
		copious-allocs 
		sha1-compute
		bigfactorial
		mandelbrot
		regex-match
		many-memcpy
;;