Closed Bug 1088131 Opened 10 years ago Closed 9 years ago

Introduce new performance test engine "raptor" in Gaia

Categories

(Firefox OS Graveyard :: Gaia::PerformanceTest, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Eli, Assigned: Eli)

References

Details

(Keywords: perf, Whiteboard: [systemsfe])

Attachments

(2 files)

The performance tests of make test-perf rely on a mix of atom scripts, helper scripts, and event listeners in order to collect performance data. We should refactor the performance testing engine to allow us to collect much more efficiently, by gathering markers instead of binding events and doing in-test calculations.
Whiteboard: [systemsfe]
Summary: Refactor Gaia performance test to enable capturing of metrics generated via User Timing markers → Introduce new performance test engine "raptor" to capture of metrics generated via User Timing markers
Adding the gaia-raptor module for new performance testing.
Attachment #8539382 - Flags: review?(kgrandon)
Comment on attachment 8539382 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia-node-modules/pull/80

It looks like the raptor code has already been reviewed in bug 1090299, so I'm fine with the manifest bump. Thanks!
Attachment #8539382 - Flags: review?(kgrandon) → review+
Alexandre, could you review my changes for profile generation for our new performance tests?

Rob, could you review my changes for the addition of new raptor tests?
Attachment #8539418 - Flags: review?(rwood)
Attachment #8539418 - Flags: review?(poirot.alex)
Summary: Introduce new performance test engine "raptor" to capture of metrics generated via User Timing markers → Introduce new performance test engine "raptor" in Gaia
Attachment #8539418 - Flags: review?(poirot.alex) → review+
Comment on attachment 8539418 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26918

See comment in PR.
Attachment #8539418 - Flags: review?(rwood) → review-
Comment on attachment 8539418 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26918

Thanks for catching that. r? again.
Attachment #8539418 - Flags: review- → review?(rwood)
Comment on attachment 8539418 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/26918

Awesome, was able to generate the raptor gaia profile, and run the tests successfully on Flame. Noticed the update to gaia_node_modules.revision was removed in your updated PR, so R+ on assumption that was intentional and not required (?).
Attachment #8539418 - Flags: review?(rwood) → review+
(In reply to Robert Wood [:rwood] from comment #7)
> Noticed the update to gaia_node_modules.revision was removed in your updated PR

Yeah, turns out gaia-node-modules was bumped again before this patch landed, so the revision Gaia is using already contains gaia-raptor now.
(In reply to :Eli Perelman from comment #8)
> (In reply to Robert Wood [:rwood] from comment #7)
> > Noticed the update to gaia_node_modules.revision was removed in your updated PR
> 
> Yeah, turns out gaia-node-modules was bumped again before this patch landed,
> so the revision Gaia is using already contains gaia-raptor now.

Thanks Eli.

Update: The boot_test actually times out on my Flame, see comment/log the PR. Sorry I didn't spot that earlier. Ran it three times, same result. Thanks.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: