Closed Bug 1561201 Opened 5 months ago Closed 5 months ago

Expose the list of build resource data from mach resource-usage page


(Firefox Build System :: General, defect)

Not set


(firefox69 fixed)

Tracking Status
firefox69 --- fixed


(Reporter: glandium, Assigned: glandium)



(2 files)

No description provided.

The mach resource-usage page supports a list of build resource data,
but only ever displays the first one. Nothing actually creates a list
with multiple items automatically, but one might want to do that
manually to explore data from multiple builds more conveniently.

So if such a list exists, we expose a dropdown list of all the data
available, and switch the graph when a different item is chosen from the

Attached file data.tar.gz

With the patch from this bug, one can take the python/mozbuild/mozbuild/resources/html-build-viewer/index.html file, extract the contents of this data.tar.gz in the same directory, run an HTTP server serving the directory (with e.g. python -m SimpleHTTPServer), and open in a browser, to see the various build resource data I collected last week in one go:

  • 72/normal.json: normal clobber build on a 72 cores machine.
  • 72/rust-sep.json: clobber build on a 72 cores machine, with MOZ_RUST_TIER set (bug 1560442)
  • 72/rust-pipeline.json: clobber build on a 72 cores machine, with MOZ_RUST_TIER and CARGO_BUILD_PIPELINING set.
  • 36/*.json: same on a 36 cores machine.
  • 16/*.json: same on a 16 cores machine.
Pushed by
Expose the list of build resource data from `mach resource-usage` page. r=nalexander
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.