shithub: mc

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