From 3ab833de62108295cd86cc9fd699f4e109e4fdbe Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 4 Jul 2014 22:32:23 +0200 Subject: [PATCH] bench - increase iterations for more reliable results --- benchmark.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmark.js b/benchmark.js index c47172e..da9ed8d 100644 --- a/benchmark.js +++ b/benchmark.js @@ -1,6 +1,8 @@ var chalk = require('./'); suite('chalk', function () { + set('iterations', 100000); + bench('single style', function () { chalk.red('the fox jumps over the lazy dog'); });