]> zoso.dev Git - buffer.git/commitdiff
add perf-node script
authorFeross Aboukhadijeh <feross@feross.org>
Fri, 12 Sep 2014 00:37:01 +0000 (01:37 +0100)
committerFeross Aboukhadijeh <feross@feross.org>
Fri, 12 Sep 2014 00:37:01 +0000 (01:37 +0100)
package.json

index 27c48e227761121cc69ff4691e2e7d97c8b1f722..431124205bc2e43cd696bfe32299af6c1de123a9 100644 (file)
@@ -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": {