diff --git a/wasm-cli.js b/wasm-cli.js deleted file mode 100644 index e277443..0000000 --- a/wasm-cli.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2020 Apple Inc. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. -*/ - -testList = [ - "HashSet-wasm", - "tsf-wasm", - "quicksort-wasm", - "gcc-loops-wasm", - "richards-wasm", - "sqlite3-wasm", - "tfjs-wasm", - "tfjs-wasm-simd", - "argon2-wasm", - "8bitbench-wasm", - "Dart-flute-complex-wasm", - "Dart-flute-todomvc-wasm", - "zlib-wasm", - "Kotlin-compose-wasm", -]; - -// Reuse the full CLI runner, just with the subset of Wasm line items above. -load("./cli.js"); diff --git a/watch-cli.js b/watch-cli.js deleted file mode 100644 index 49a399d..0000000 --- a/watch-cli.js +++ /dev/null @@ -1,65 +0,0 @@ -dumpJSONResults = true; - -testIterationCount = 15; - -testList = [ - {name: "FlightPlanner"}, - {name: "UniPoker"}, - {name: "Air"}, - {name: "Basic"}, - {name: "ML", iterations: 7, worstCaseCount: 2}, - {name: "Babylon"}, - {name: "cdjs", iterations: 10, worstCaseCount: 2}, - {name: "first-inspector-code-load"}, - {name: "multi-inspector-code-load"}, - {name: "Box2D"}, - {name: "octane-code-load"}, - {name: "crypto"}, - {name: "delta-blue"}, - {name: "earley-boyer"}, - {name: "gbemu", iterations: 10, worstCaseCount: 2}, - {name: "navier-stokes"}, - {name: "pdfjs"}, - {name: "raytrace"}, - {name: "regexp"}, - {name: "richards"}, - {name: "splay"}, - {name: "ai-astar"}, - {name: "gaussian-blur", iterations: 10, worstCaseCount: 2}, - {name: "stanford-crypto-aes"}, - {name: "stanford-crypto-pbkdf2"}, - {name: "stanford-crypto-sha256"}, - {name: "json-stringify-inspector"}, - {name: "json-parse-inspector"}, - {name: "async-fs", iterations: 8, worstCaseCount: 2}, - {name: "hash-map", iterations: 12, worstCaseCount: 3}, - {name: "3d-cube-SP"}, - {name: "3d-raytrace-SP"}, - {name: "base64-SP"}, - {name: "crypto-aes-SP"}, - {name: "crypto-md5-SP"}, - {name: "crypto-sha1-SP"}, - {name: "date-format-tofte-SP"}, - {name: "date-format-xparb-SP"}, - {name: "n-body-SP"}, - {name: "regex-dna-SP"}, - {name: "string-unpack-code-SP"}, - {name: "tagcloud-SP"}, - {name: "chai-wtb", iterations: 5, worstCaseCount: 2}, - {name: "jshint-wtb", iterations: 5, worstCaseCount: 2}, - {name: "prepack-wtb", iterations: 5, worstCaseCount: 2} -]; - -testIterationCountMap = new Map; -testWorstCaseCountMap = new Map; -for (let test of testList) { - if (test.iterations) - testIterationCountMap.set(test.name, test.iterations); - if (test.worstCaseCount) - testWorstCaseCountMap.set(test.name, test.worstCaseCount); -} - - -testList = testList.map(x => x.name); - -load("./cli.js");