Closed Bug 1031931 Opened 10 years ago Closed 10 years ago

Add inspector option to disable all profiling

Categories

(Firefox Graveyard :: Shumway, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: till, Unassigned)

Details

The profiler allocates at least 48MB of data at startup. It'd be nice to be able to completely disable it, while also making the enter/exitTimeline functions as close to null-ops as possible.

@mbx, is this easy-ish, or a lot of effort?
Flags: needinfo?(mbebenita)
We can disable the profiler altogether in release builds. In the inspector we can leave it enabled but only turn it on / off when it's actually running.

This patch does just that: https://github.com/mozilla/shumway/pull/1418
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(mbebenita)
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.