RosettaCodeData/Task/Time-a-function/Wren/time-a-function.wren

6 lines
100 B
Plaintext

import "./check" for Benchmark
Benchmark.run("a function", 100, true) {
for (i in 0..1e7) {}
}