shithub: mc

ref: d7c4bac9357a6d5e3dfd691434f8d9a47d79f0dc
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
		;;
	;;
}