shithub: mc

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