From bc5b55afeebbcf542f28d101fa5954d46673010f Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 28 Oct 2014 18:39:30 -0700 Subject: [PATCH] fix browser perf command --- package.json | 2 +- perf/index.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 perf/index.html 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 @@ + -- 2.34.1