Permalink
Browse files

Fix for a single compared function

  • Loading branch information...
pierrec committed Mar 4, 2012
1 parent b8b6b17 commit eb9a2d228a889a5053d02c7659b23bfb93d0fa80
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/bench.js
View
@@ -149,6 +149,7 @@ function show (results) {
print
("Winner: " + winner.name)
+ if (second) print
("Compared with next highest ("+second.name+"), it's:")
(pct(winner.avg, second.avg)+"% faster")
(times(winner.avg, second.avg)+" times as fast")

0 comments on commit eb9a2d2

Please sign in to comment.