1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Swap + / -

This commit is contained in:
Tj Holowaychuk
2010-09-17 19:03:24 -07:00
parent 87e4ef0216
commit 3932e78315

View File

@@ -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);