summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/runbench.myr2
-rw-r--r--bench/runner.myr2
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)
;;
}