Closed
Bug 1863497
Opened 8 months ago
Closed 7 months ago
Upgrade sccache to 0.7.1, direct/preprocessor mode by default and enable adv stats
Categories
(Firefox Build System :: Toolchains, task)
Firefox Build System
Toolchains
Tracking
(firefox122 fixed)
RESOLVED
FIXED
122 Branch
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(3 files, 1 obsolete file)
No description provided.
Assignee | ||
Comment 1•8 months ago
|
||
Updated•8 months ago
|
Assignee: nobody → sledru
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•8 months ago
|
||
Depends on D192930
Assignee | ||
Comment 3•8 months ago
|
||
Depends on D192931
Updated•8 months ago
|
Attachment #9362311 -
Attachment is obsolete: true
Assignee | ||
Updated•8 months ago
|
Summary: Upgrade sccache to 0.7.0 and enable adv stats → Upgrade sccache to 0.7.1, direct/preprocessor mode by default and enable adv stats
Assignee | ||
Comment 4•8 months ago
•
|
||
with
cargo install sccache
Some benchmark results with sccache direct/processor mode (took 19m to run this benchmark) :
hyperfine --warmup 1 "bash bench-without.sh" "bash bench-with.sh"
Benchmark 1: bash bench-without.sh
Time (mean ± σ): 69.406 s ± 4.229 s [User: 275.969 s, System: 53.104 s]
Range (min … max): 63.897 s … 75.104 s 10 runs
Benchmark 2: bash bench-with.sh
Time (mean ± σ): 30.454 s ± 1.541 s [User: 271.775 s, System: 51.225 s]
Range (min … max): 29.026 s … 33.550 s 10 runs
Summary
bash bench-with.sh ran
2.28 ± 0.18 times faster than bash bench-without.sh
My ugly scripts
bench-without.sh:
cd ~/.mozbuild/sccache/
rm -f *
ln -s ~/.cargo/bin/sccache
cd -
killall sccache
~/.cargo/bin/sccache --start-server
fd '\.o$' obj-* | xargs rm && time ./mach build
~/.cargo/bin/sccache --show-adv-stats
bench-with.sh
cd ~/.mozbuild/sccache/
rm -f *
ln -s ~/.cargo/bin/sccache
cd -
killall sccache
SCCACHE_DIRECT=true ~/.cargo/bin/sccache --start-server
fd '\.o$' obj-* | xargs rm && time ./mach build
~/.cargo/bin/sccache --show-adv-stats
Updated•8 months ago
|
Attachment #9362312 -
Attachment description: Bug 1863497 - Upgrade sccache to 0.7.0 r?glandium → Bug 1863497 - Upgrade sccache to 0.7.2 r?glandium
Assignee | ||
Comment 5•8 months ago
|
||
Depends on D192932
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1caa79ee637e Upgrade sccache to 0.7.2 r=glandium https://hg.mozilla.org/integration/autoland/rev/c959dafcf46f sccache: enable --show-adv-stats when storing stats r=glandium https://hg.mozilla.org/integration/autoland/rev/ce9934edcec1 sccache: update the doc r=glandium
Comment 7•8 months ago
|
||
Backed out for causing bustages.
Backout link: https://hg.mozilla.org/integration/autoland/rev/c83ba137e470a8008728c61a40a4ff036f28bf59
Failure log: https://treeherder.mozilla.org/logviewer?job_id=436479919&repo=autoland&lineNumber=155767
Flags: needinfo?(sledru)
Assignee | ||
Comment 8•8 months ago
|
||
I opened:
https://github.com/mozilla/sccache/issues/1967
for this
Flags: needinfo?(sledru)
Updated•7 months ago
|
Attachment #9362312 -
Attachment description: Bug 1863497 - Upgrade sccache to 0.7.2 r?glandium → Bug 1863497 - Upgrade sccache to 0.7.4 r?glandium
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6e2d251d7e5e Upgrade sccache to 0.7.4 r=glandium https://hg.mozilla.org/integration/autoland/rev/ab7d4ec6fce6 sccache: enable --show-adv-stats when storing stats r=glandium https://hg.mozilla.org/integration/autoland/rev/7d38b1ea5653 sccache: update the doc r=glandium
Comment 10•7 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6e2d251d7e5e
https://hg.mozilla.org/mozilla-central/rev/ab7d4ec6fce6
https://hg.mozilla.org/mozilla-central/rev/7d38b1ea5653
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
status-firefox122:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•