-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4810bd5
commit 65fdf7a
Showing
7 changed files
with
350 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Base URL for benchmark_output JSON files | ||
const BENCHMARK_OUTPUT_BASE_URL = "benchmark_output"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
//////////////////////////////////////////////////////////// | ||
// Helper functions for getting URLs of JSON files | ||
|
||
function runManifestJsonUrl(release) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/releases/${release}/run_manifest.json`; | ||
} | ||
|
||
function summaryJsonUrl(release) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/releases/${release}/summary.json`; | ||
} | ||
|
||
function runSpecsJsonUrl(release) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/releases/${release}/run_specs.json`; | ||
} | ||
|
||
function groupsMetadataJsonUrl(release) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/releases/${release}/groups_metadata.json`; | ||
} | ||
|
||
function groupsJsonUrl(release) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/releases/${release}/groups.json`; | ||
} | ||
|
||
function groupJsonUrl(release, groupName) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/releases/${release}/groups/${groupName}.json`; | ||
} | ||
|
||
function runSpecJsonUrl(suite, runSpecName) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/runs/${suite}/${runSpecName}/run_spec.json` | ||
} | ||
|
||
function scenarioJsonUrl(suite, runSpecName) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/runs/${suite}/${runSpecName}/scenario.json`; | ||
} | ||
|
||
function scenarioStateJsonUrl(suite, runSpecName) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/runs/${suite}/${runSpecName}/scenario_state.json`; | ||
} | ||
|
||
function statsJsonUrl(suite, runSpecName) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/runs/${suite}/${runSpecName}/stats.json`; | ||
} | ||
|
||
function instancesJsonUrl(suite, runSpecName) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/runs/${suite}/${runSpecName}/instances.json`; | ||
} | ||
|
||
function predictionsJsonUrl(suite, runSpecName) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/runs/${suite}/${runSpecName}/display_predictions.json`; | ||
} | ||
|
||
function requestsJsonUrl(suite, runSpecName) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/runs/${suite}/${runSpecName}/display_requests.json`; | ||
} | ||
|
||
function plotUrl(suite, plotName) { | ||
return `${BENCHMARK_OUTPUT_BASE_URL}/runs/${suite}/plots/${plotName}.png`; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.