mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00

AFAIK, while mochitests have resource-usage.json data with the same format as build_resources.json, there isn't much of anything to display that data in a human-friendly manner. As a helper of sort for all the tasks that already expose their json data without a nice way to display it, allow the build resources usage report UI that `mach resource-usage` displays (or build_resources.html on build tasks on treeherder), to load arbitrary json files if their url is dropped on the page (from e.g. drag-and-dropping the link to the file from treeherder). Differential Revision: https://phabricator.services.mozilla.com/D109030