Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions JetStreamDriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,13 @@ class Driver {
}
}

dumpTestList()
{
for (const benchmark of this.benchmarks) {
console.log(benchmark.name);
}
}

async reportScoreToRunBenchmarkRunner()
{
if (!isInBrowser)
Expand Down
3 changes: 3 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ if ("--help" in cliFlags) {
console.log(" --iteration-count: Set the default iteration count.");
console.log(" --worst-case-count: Set the default worst-case count");
console.log(" --dump-json-results: Print summary json to the console.");
console.log(" --dump-test-list: Print test list instead of running.");
console.log(" --ramification: Enable ramification support. See RAMification.py for more details.");
console.log(" --no-prefetch: Do not prefetch resources. Will add network overhead to measurements!");
console.log("");
Expand All @@ -97,6 +98,8 @@ if ("--help" in cliFlags) {
const benchmarkNames = BENCHMARKS.map(b => b.name).sort();
for (const benchmark of benchmarkNames)
console.log(" ", benchmark);
} else if ("--dump-test-list" in cliFlags) {
JetStream.dumpTestList();
} else {
runJetStream();
}
Loading