diff options
Diffstat (limited to 'bench')
-rw-r--r-- | bench/runbench.myr | 2 | ||||
-rw-r--r-- | bench/runner.myr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bench/runbench.myr b/bench/runbench.myr index 81bf436..ea69f83 100644 --- a/bench/runbench.myr +++ b/bench/runbench.myr @@ -7,7 +7,7 @@ const main = {args : byte[:][:] std.put("Running benchmarks: {} samples per binary\n", Nsamp); tot = 0.0; - for arg in args[1:] + for arg : args[1:] tot = tot + timeit(arg) ;; std.put("total:\t{}s\n", tot); diff --git a/bench/runner.myr b/bench/runner.myr index 8ddc1de..a79c917 100644 --- a/bench/runner.myr +++ b/bench/runner.myr @@ -3,7 +3,7 @@ use std const Nsamp = 10 const main = {args : byte[:][:] - for a in args + for a : args time(a) ;; } |