Open Bug 1544463 Opened 6 years ago Updated 2 years ago

[meta] Tweak profiler configuration options during a raptor run

Categories

(Testing :: Raptor, enhancement, P2)

Version 3
enhancement

Tracking

(Not tracked)

People

(Reporter: mgaudet, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

I see from mach raptor-test --help that there are some options for tweaking gecko profiler runs:

  --gecko-profile       Profile the run and output the results in
                        $MOZ_UPLOAD_DIR. After talos is finished,
                        profiler.firefox.com will be launched in Firefox so
                        you can analyze the local profiles. To disable auto-
                        launching of profiler.firefox.com set the
                        DISABLE_PROFILE_LAUNCH=1 env var.
  --gecko-profile-interval GECKO_PROFILE_INTERVAL
                        How frequently to take samples (milliseconds)
  --gecko-profile-entries GECKO_PROFILE_ENTRIES
                        How many samples to take with the profiler

However, what I don't see is the ability to manipulate the list of threads being recorded, nor changing the feature set selected.

This enhancement comes from me wishing I could use raptor-test along side the experimental JSTracer option, but as far as I can tell there's no way for me to ask for the JSTracer option in a raptor test.

Yes currently the gecko profiling options are hard-coded in the Raptor webext [0]. The best option at this point is to manipulate that file and push to try. We could add more --gecko-profile command line options (i.e. threads to profile) however that cannot be passed on to try runs easily at all - that requires adding additional support to ./mach try fuzzy etc. but could be supported with some work down the road.

[0] https://searchfox.org/mozilla-central/rev/0376cbf447efa16922c550da3bfd783b916e35d3/testing/raptor/webext/raptor/runner.js#323

From a personal standpoint, I'm actually most interested in local runs, but I take your point about try runs.

Depends on: 1544544
Depends on: 1544686

Btw. is JSTracer a thread or a feature?

Thanks. I filed bug 1545386 for this particular addition. Looks like this bug turned more into a meta bug.

Keywords: meta
Summary: Tweak profiler configuration options during a raptor run → [meta] Tweak profiler configuration options during a raptor run
Priority: -- → P1

Matthew, I think I discovered the underlying problem why it is that slow, and will work on a patch on bug 1550702.

Priority: P1 → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.