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
@@ -8,6 +8,6 @@ end
start = Time.now
for i in 0...5
puts fib(30)
puts fib(28)
end
puts "elapsed: " + (Time.now - start).to_s