Closed Bug 2068259 Opened 2 months ago Closed 2 months ago

Remove all hg clones where possible and replace with tarball downloads

Categories

(Testing :: Performance, enhancement, P2)

enhancement

Tracking

(firefox157 fixed)

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: aglavic, Assigned: aglavic)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp][operational][est-1w][todo])

Attachments

(1 external file)

We were able to improve the performance by replacing hg cloning with tarball downloads.
This Bug is to continue and clean up the rest of the perftest repository and remove old hg clones with tarballs where possible.

The raptor benchmark tests clone their benchmark repository from GitHub on
every task. A full clone of Speedometer alone costs 11-30s of wall-clock on a
perf worker, measured across five autoland runs. This removes every remaining
full clone:

  • JetStream3 (desktop and mobile) uses the existing pgo-extended-corpus
    fetch. It is already pinned to 3967678fa8ab98d847ab33cf3728dba726fa854b,
    the same revision the tomls check out, so no new artifact is needed.
  • MotionMark (desktop and mobile, both the standard and htmlsuite subtests)
    gets a new motionmark fetch, pinned to the revision its tomls use.
  • speedometer-experimental gets a new speedometer-experimental fetch. The
    speedometer2 and speedometer3 subtests are vendored in-tree and don't clone.
  • unity-webgl-mobile sparse-checks-out benchmarks/unity-webgl from the
    perf-automation monorepo rather than full-cloning it, matching what
    unity-webgl-desktop already does for the same repository and revision. A
    tarball is a poor fit there since the test needs 91MB of a 587MB monorepo.

Benchmarks say where their fetch lands with a new fetch_path setting. As
MOZ_FETCHES_DIR is only set in CI, the clone path is kept as a local fallback
and the repository settings stay in place.

See Also: → 2069101
Pushed by aglavic@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/48294db986c2 https://hg.mozilla.org/integration/autoland/rev/92e44c392dcf Fetch the raptor benchmark repositories instead of cloning them. r=perftest-reviewers,releng-reviewers,bhearsum,kshampur
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
See Also: → 2039451
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: