Closed
Bug 1175705
Opened 9 years ago
Closed 9 years ago
[JIT View] "enable JIT optimizations" should be a recording feature
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
Firefox 41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: jsantell, Assigned: jsantell)
References
Details
Attachments
(1 file)
24.97 KB,
patch
|
vporof
:
review+
|
Details | Diff | Splinter Review |
More in line with enable-allocations or enable-framerate, rather than a toggleable option, like flattening recursion. This'll save us in the future from not collecting opt data when it's not requested, not processing it, and the JIT panel will be moving away from the call tree anyway, so it won't be intrusive if enabling JIT opts anyway.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jsantell
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8623917 -
Flags: review?(vporof)
Comment 2•9 years ago
|
||
Comment on attachment 8623917 [details] [diff] [review]
1175705-jit-opts-feature.patch
Review of attachment 8623917 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/performance/modules/logic/front.js
@@ +459,5 @@
> withMarkers: true,
> withMemory: Services.prefs.getBoolPref("devtools.performance.ui.enable-memory"),
> withTicks: Services.prefs.getBoolPref("devtools.performance.ui.enable-framerate"),
> withAllocations: Services.prefs.getBoolPref("devtools.performance.ui.enable-allocations"),
> + withOptimizations: Services.prefs.getBoolPref("devtools.performance.ui.enable-jit-optimizations"),
withJitOptimizations would be more specific.
::: browser/devtools/performance/test/browser_perf-jit-view-01.js
@@ +18,5 @@
> let profilerData = { threads: [gThread] }
>
> + is(Services.prefs.getBoolPref(JIT_PREF), false, "record JIT Optimizations pref off by default");
> + Services.prefs.setBoolPref(JIT_PREF, true);
> + is(Services.prefs.getBoolPref(JIT_PREF), true, "toggle on record JIT Optimizations");
you really don't need this assertion lol
Attachment #8623917 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Changed to withJITOptimizations
Comment 5•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•