Skip to content

Commit

Permalink
Swap + / -
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Sep 18, 2010
1 parent 87e4ef0 commit 3932e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ function report(label) {
: 33
: 32
, synopsis = c > p
? '-' + (c - p)
: '+' + (p - c);
? '+' + (c - p)
: '-' + (p - c);
while (synopsis.length + label.length < 20) synopsis = ' ' + synopsis;
console.log(' \x1b[' + col + ';1m%s\x1b[0m: %s', label, synopsis);
console.log(' \x1b[33mprev\x1b[0m: %d ms', p);
Expand Down

0 comments on commit 3932e78

Please sign in to comment.