Use in-task prebuilt profiles in our browsertime tests
Categories
(Testing :: Raptor, task, P1)
Tracking
(firefox91 fixed)
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: sparky, Assigned: sparky)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
This bug is for building a method in raptor for making a prebuilt conditioned profile during the test (or in-task) rather than using the m-c built conditioned profiles.
Assignee | ||
Comment 1•3 years ago
|
||
This patch adds the ability to build conditioned profiles during a test (i.e. in-test, prebuilt, or in-task for CI). Using the test-built:
prefix in --conditioned-profile will cause the conditioned profile to be produced locally rather than downloaded from mozilla-central.
The condprof package was also modified to prevent it from building and saving logs that are not very useful in local runs, preventing useless downloads or archiving, and to also be able to obtain the location of the test-built profile.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D116520
Assignee | ||
Updated•3 years ago
|
Pushed by gmierz2@outlook.com: https://hg.mozilla.org/integration/autoland/rev/5e7be02a8487 Build conditioned profiles during the tests. r=perftest-reviewers,AlexandruIonescu https://hg.mozilla.org/integration/autoland/rev/828dd9f79646 Add a pageload test for about:welcome. r=perftest-reviewers,AlexandruIonescu
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5e7be02a8487
https://hg.mozilla.org/mozilla-central/rev/828dd9f79646
Comment 5•3 years ago
|
||
Hey Dave, we noticed the profile change helped our numbers for GeckoView, but didn't impact Fenix. Any idea why we didn't get the improvement there as well?
Comment 6•3 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #5)
Hey Dave, we noticed the profile change helped our numbers for GeckoView, but didn't impact Fenix. Any idea why we didn't get the improvement there as well?
Looking at a log for a recent Fenix job it doesn't appear that we're building a conditioned profile. This could be because the Fenix project hasn't been updated to use one.
I imagine we would just need to add --conditioned-profile=settled
to https://github.com/mozilla-mobile/fenix/blob/main/taskcluster/fenix_taskgraph/transforms/browsertime.py. Perhaps :mcomella could help with this?
Looking at a log for a recent Fenix job it doesn't appear that we're building a conditioned profile. This could be because the Fenix project hasn't been updated to use one.
I imagine we would just need to add --conditioned-profile=settled to https://github.com/mozilla-mobile/fenix/blob/main/taskcluster/fenix_taskgraph/transforms/browsertime.py. Perhaps :mcomella could help with this?
We intentionally disabled condition profiles in bug 1665440 for fenix perf start up tasks because it was causing an unexplained large slowdown in the results that I was concerned was introducing noise and making the tests less reliable. I'm not sure what we're doing outside of the start up tests.
I think reintroducing conditioned profiles would require an analysis to ensure it's actually benefiting the results. I'm hesitant to say we should enable conditioned profiles because we don't have anyone to invest the time in the effort.
Does that seem reasonable, Jim? I don't know too much about the benefits of conditioned profiles or the other tests that could be using them to feel entirely confident in my thinking.
Comment 8•3 years ago
|
||
(In reply to Michael Comella (:mcomella) [needinfo or I won't see it] from comment #7)
Looking at a log for a recent Fenix job it doesn't appear that we're building a conditioned profile. This could be because the Fenix project hasn't been updated to use one.
I imagine we would just need to add --conditioned-profile=settled to https://github.com/mozilla-mobile/fenix/blob/main/taskcluster/fenix_taskgraph/transforms/browsertime.py. Perhaps :mcomella could help with this?
We intentionally disabled condition profiles in bug 1665440 for fenix perf start up tasks because it was causing an unexplained large slowdown in the results that I was concerned was introducing noise and making the tests less reliable. I'm not sure what we're doing outside of the start up tests.
I think reintroducing conditioned profiles would require an analysis to ensure it's actually benefiting the results. I'm hesitant to say we should enable conditioned profiles because we don't have anyone to invest the time in the effort.
Does that seem reasonable, Jim? I don't know too much about the benefits of conditioned profiles or the other tests that could be using them to feel entirely confident in my thinking.
I wonder if building the profiles in the same task will help, but agree that we should hold off until we have time to perform further analysis.
I think reintroducing conditioned profiles would require an analysis to ensure it's actually benefiting the results. I'm hesitant to say we should enable conditioned profiles because we don't have anyone to invest the time in the effort.
We're enabling conditioned profiles in fenix#21290 because it's difficult to compare perf with geckoview_example and GVE can be used as an important baseline to know if fenix is doing things we can optimize out. See fenix#20936 for details.
There may be some side effects (noise?) but I think it's worth pursuing for the optimization identification benefits.
Updated•2 years ago
|
Description
•