From: Feross Aboukhadijeh Date: Sun, 26 Oct 2014 23:07:22 +0000 (-0700) Subject: remove duplicate perf tests X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=0f7cc67d841bcd643f67c13f7785a6c297c97e3c;p=buffer.git remove duplicate perf tests --- diff --git a/package.json b/package.json index 484b7cc..8bafc03 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,8 @@ "scripts": { "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", + "perf": "cd perf && browserify --debug readUInt32BE.js > bundle.js && open 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" }, "testling": { diff --git a/perf/comparison/bracket-notation.js b/perf/bracket-notation.js similarity index 100% rename from perf/comparison/bracket-notation.js rename to perf/bracket-notation.js diff --git a/perf/comparison/concat.js b/perf/concat.js similarity index 100% rename from perf/comparison/concat.js rename to perf/concat.js diff --git a/perf/comparison/copy-big.js b/perf/copy-big.js similarity index 100% rename from perf/comparison/copy-big.js rename to perf/copy-big.js diff --git a/perf/comparison/copy.js b/perf/copy.js similarity index 100% rename from perf/comparison/copy.js rename to perf/copy.js diff --git a/perf/comparison/new-big.js b/perf/new-big.js similarity index 100% rename from perf/comparison/new-big.js rename to perf/new-big.js diff --git a/perf/comparison/new.js b/perf/new.js similarity index 100% rename from perf/comparison/new.js rename to perf/new.js diff --git a/perf/comparison/readDoubleBE.js b/perf/readDoubleBE.js similarity index 100% rename from perf/comparison/readDoubleBE.js rename to perf/readDoubleBE.js diff --git a/perf/comparison/readFloatBE.js b/perf/readFloatBE.js similarity index 100% rename from perf/comparison/readFloatBE.js rename to perf/readFloatBE.js diff --git a/perf/comparison/readUInt32LE.js b/perf/readUInt32LE.js similarity index 100% rename from perf/comparison/readUInt32LE.js rename to perf/readUInt32LE.js diff --git a/perf/comparison/slice.js b/perf/slice.js similarity index 100% rename from perf/comparison/slice.js rename to perf/slice.js diff --git a/perf/comparison/util.js b/perf/util.js similarity index 100% rename from perf/comparison/util.js rename to perf/util.js diff --git a/perf/comparison/writeFloatBE.js b/perf/writeFloatBE.js similarity index 100% rename from perf/comparison/writeFloatBE.js rename to perf/writeFloatBE.js