shithub: mc

ref: 9543bdfe516ddde6d347bffed6a99c9ec5c0c40b
dir: /bench/runner.myr/

View raw version
use std

const Nsamp = 10

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

const time = {a
	var rusage
	var t

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