Like unix 'time' command, but with repetitions, median, std deviation