Have a CLI version of JetStream 2 to run on watchOS
[WebKit-https.git] / PerformanceTests / JetStream2 / watch-cli.js
1 dumpJSONResults = true;
2
3 testIterationCount = 15;
4
5 testList = [
6     {name: "FlightPlanner"},
7     {name: "UniPoker"},
8     {name: "Air"},
9     {name: "Basic"},
10     {name: "ML", iterations: 7, worstCaseCount: 2},
11     {name: "Babylon"},
12     {name: "cdjs", iterations: 10, worstCaseCount: 2},
13     {name: "first-inspector-code-load"},
14     {name: "multi-inspector-code-load"},
15     {name: "Box2D"},
16     {name: "octane-code-load"},
17     {name: "crypto"},
18     {name: "delta-blue"},
19     {name: "earley-boyer"},
20     {name: "gbemu", iterations: 10, worstCaseCount: 2},
21     {name: "navier-stokes"},
22     {name: "pdfjs"},
23     {name: "raytrace"},
24     {name: "regexp"},
25     {name: "richards"},
26     {name: "splay"},
27     {name: "ai-astar"},
28     {name: "gaussian-blur", iterations: 10, worstCaseCount: 2},
29     {name: "stanford-crypto-aes"},
30     {name: "stanford-crypto-pbkdf2"},
31     {name: "stanford-crypto-sha256"},
32     {name: "json-stringify-inspector"},
33     {name: "json-parse-inspector"},
34     {name: "async-fs", iterations: 8, worstCaseCount: 2},
35     {name: "hash-map", iterations: 12, worstCaseCount: 3},
36     {name: "3d-cube-SP"},
37     {name: "3d-raytrace-SP"},
38     {name: "base64-SP"},
39     {name: "crypto-aes-SP"},
40     {name: "crypto-md5-SP"},
41     {name: "crypto-sha1-SP"},
42     {name: "date-format-tofte-SP"},
43     {name: "date-format-xparb-SP"},
44     {name: "n-body-SP"},
45     {name: "regex-dna-SP"},
46     {name: "string-unpack-code-SP"},
47     {name: "tagcloud-SP"},
48     {name: "chai-wtb", iterations: 5, worstCaseCount: 2},
49     {name: "jshint-wtb", iterations: 5, worstCaseCount: 2},
50     {name: "prepack-wtb", iterations: 5, worstCaseCount: 2}
51 ];
52
53 testIterationCountMap = new Map;
54 testWorstCaseCountMap = new Map;
55 for (let test of testList) {
56     if (test.iterations)
57         testIterationCountMap.set(test.name, test.iterations);
58     if (test.worstCaseCount)
59         testWorstCaseCountMap.set(test.name, test.worstCaseCount);
60 }
61
62
63 testList = testList.map(x => x.name);
64
65 load("./cli.js");