From: Feross Aboukhadijeh Date: Wed, 29 Oct 2014 01:39:30 +0000 (-0700) Subject: fix browser perf command X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=bc5b55afeebbcf542f28d101fa5954d46673010f;p=buffer.git fix browser perf command --- diff --git a/package.json b/package.json index 2c16c78..a76c54c 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "scripts": { "test": "tape test/*.js && OBJECT_IMPL=true tape test/*.js", - "perf": "cd perf && browserify --debug readUInt32BE.js > bundle.js && open index.html", + "perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html", "perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js", "size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c" }, diff --git a/perf/index.html b/perf/index.html new file mode 100644 index 0000000..c43c667 --- /dev/null +++ b/perf/index.html @@ -0,0 +1 @@ +