From 2355c59f6fa7c1f27a5930702747fc1df9821f8c Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 28 Oct 2014 21:11:32 -0700 Subject: [PATCH] exclude node buffer from one buffer perf test --- perf/new.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/perf/new.js b/perf/new.js index a35d296..5935627 100644 --- a/perf/new.js +++ b/perf/new.js @@ -11,6 +11,8 @@ suite .add('Uint8Array#new(' + LENGTH + ')', function () { var buf = new Uint8Array(LENGTH) }) + +if (!process.browser) suite .add('NodeBuffer#new(' + LENGTH + ')', function () { var buf = new Buffer(LENGTH) }) -- 2.34.1