Revise benchmarks:

- Ditch JS since it's in a different league.
- Make binary_trees and fib run faster.
- Compare using best time instead of mean.
This commit is contained in:
Bob Nystrom
2013-12-12 16:59:57 -08:00
parent 8e71660ce6
commit 5aaaa33552
12 changed files with 82 additions and 175 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ var fib = fn(n) {
var start = OS.clock
var i = 0
while (i < 5) {
io.write(fib.call(30))
io.write(fib.call(28))
i = i + 1
}
io.write("elapsed: " + (OS.clock - start).toString)