shithub: mc

ref: 1ebc8978591d1a852130e8d2246bfb559597c471
dir: /bench/runner.myr/

View raw version
use std

const Nsamp = 10

const main = {args : byte[:][:]
	for a in args
		time(a)
	;;
}

const time = {a
	var rusage
	var t

	for i = 0; i < Nsamp; i++
		if !run(a, &rusage)
			break
		;;
	;;
}