From: Feross Aboukhadijeh Date: Fri, 12 Sep 2014 00:37:01 +0000 (+0100) Subject: add perf-node script X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=e881b6aa3326abab4a58bf282ddd24b741dcae82;p=buffer.git add perf-node script --- diff --git a/package.json b/package.json index 27c48e2..4311242 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "test": "tape test/*.js && OBJECT_IMPL=true tape test/*.js", "prepublish": "./bundle.sh", "perf": "cd perf/solo && browserify --debug readUInt32BE.js > bundle.js && open index.html", + "perf-node": "node perf/comparison/bracket-notation.js && node perf/comparison/concat.js && node perf/comparison/copy-big.js && node perf/comparison/copy.js && node perf/comparison/new.js && node perf/comparison/readDoubleBE.js && node perf/comparison/readFloatBE.js && node perf/comparison/readUInt32LE.js && node perf/comparison/slice.js && node perf/comparison/writeFloatBE.js", "size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c" }, "testling": {