Closed Bug 840410 Opened 11 years ago Closed 2 years ago

Add Start-up Performance Reporting

Categories

(Core :: Gecko Profiler, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: BenWa, Unassigned)

References

Details

The biggest problem with start-up performance reporting is we need a way to find early on startup if the user has opt-ed into performance reporting. Reading preference is out because it's too late. Here's are the options:
1) Looks for a magic file in the profile directory. -Main thread IO on early startup
2) Use windows registery. -Doesn't support other platforms
3) Always profile startup. -Profiler still has a few crash bugs, bad for startup performance.
4) Only profile startup on restarts/updates. -No cold startup information.
Blocks: 1329163

This is possible through environment variables like MOZ_PROFILER_STARTUP (can't see when it was added).

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.