From 4fe05fa1d7f297d62628a6d3242c2e6011712353 Mon Sep 17 00:00:00 2001 From: Shuvalov Anton Date: Sun, 12 Apr 2015 18:04:10 +0300 Subject: [PATCH] fix stupid mistype --- test/bench.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bench.js b/test/bench.js index a510478..9907e14 100755 --- a/test/bench.js +++ b/test/bench.js @@ -53,9 +53,9 @@ function bench() { var endedAt = startedAt + 1000; var i = 0; var tf; - if (program.cycles) { tf = textr().use.apply(null, tfs); } + if (!program.cycles) { tf = textr().use.apply(null, tfs); } do { - if (!program.cycles) { tf = textr().use.apply(null, tfs); } + if (program.cycles) { tf = textr().use.apply(null, tfs); } res = tf(buf); i++; } while (+new Date() < endedAt);