Closed Bug 702764 Opened 9 years ago Closed 9 years ago

Library loading times need to be adjusted on birch

Categories

(Core :: Widget: Android, defect)

ARM
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla11

People

(Reporter: taras.mozilla, Assigned: glandium)

Details

(Whiteboard: [inbound])

Attachments

(3 files)

We should use RUSAGE_THREAD in getrusage. This will allow us to capture cpu time spent on library loading and compare it to overall cpu time.
Assignee: nobody → mh+mozilla
Why birch only?
(In reply to Mike Hommey [:glandium] from comment #1)
> Why birch only?

birch is my justification. This should happen on mc too.
Note we also need another metric to see how long the process was alive before we started loading libraries, this will notify us of lag introduced by native ui.
OS: Windows 7 → Android
Hardware: x86 → ARM
put it on m-c.  we can merge it in.
Attachment #574921 - Flags: review?(tglek) → review+
Another try that doesn't fail due to the switch to mobile/xul tree:
https://tbpl.mozilla.org/?noignore=1&tree=Try&rev=09e355059af0
Attachment #575225 - Flags: review?(tglek) → review+
Comment on attachment 575222 [details] [diff] [review]
part 2 - Make nsAppStartup::GetStartupInfo more flexible

RecordOnce is more expensive, but I understand why you do it
Attachment #575222 - Flags: review?(tglek) → review+
You need to log in before you can comment on or make changes to this bug.