The interval in a new profile is 0.001ms but it should be 1ms.
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect, P1)
Tracking
(firefox-esr68 unaffected, firefox67 unaffected, firefox68 unaffected, firefox69 unaffected, firefox70 unaffected, firefox71 fixed, firefox72 fixed)
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox67 | --- | unaffected |
firefox68 | --- | unaffected |
firefox69 | --- | unaffected |
firefox70 | --- | unaffected |
firefox71 | --- | fixed |
firefox72 | --- | fixed |
People
(Reporter: julienw, Assigned: julienw)
References
(Regression)
Details
(Keywords: regression)
Attachments
(8 files)
34.18 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
Bug 1589122 - Add and use functions to translate values between the stored preferences and the state
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
STR:
- open a firefox with a new profile.
- enable the profiler icon from the menu
Tools > Web Developer > Enable Profiler Toolbar Icon
- click the profiler icon
=> notice the interval is set at 0.001ms + the overhead is fully red.
The same happens in the experimental devtools panel.
This comes from a change in bug 1587117 where the default is supposed to be 1000 (usec) but is 1.
Assignee | ||
Comment 1•5 years ago
|
||
This also renames various variables from "settings" to "preferences" to
make it clearer that the values are about actual preferences stored in
the user profile.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
This value isn't really used, nevertheless it's good to have it to the
right value for documentation reason and consistency.
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
Pushed by jwajsberg@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/909df9883d38 Rename getDefaultRecordingSettings to getDefaultRecordingPreferences r=canaltinova https://hg.mozilla.org/integration/autoland/rev/a99e9fb9591b Appropriately configure the default interval pref in microseconds r=canaltinova https://hg.mozilla.org/integration/autoland/rev/59a3aeee924e Fix the default interval in reducers r=canaltinova https://hg.mozilla.org/integration/autoland/rev/acee023cadca Add comments to the functions called when using the shortcut keys r=canaltinova https://hg.mozilla.org/integration/autoland/rev/7cdd7440a5b3 Add and use functions to translate values between the stored preferences and the state r=canaltinova https://hg.mozilla.org/integration/autoland/rev/0e091e3a56e5 Rename some arguments from settings to prefs where appropriate r=canaltinova https://hg.mozilla.org/integration/autoland/rev/217dd3192072 Add a simple check to the xpcshell test r=canaltinova
Comment 9•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/909df9883d38
https://hg.mozilla.org/mozilla-central/rev/a99e9fb9591b
https://hg.mozilla.org/mozilla-central/rev/59a3aeee924e
https://hg.mozilla.org/mozilla-central/rev/acee023cadca
https://hg.mozilla.org/mozilla-central/rev/7cdd7440a5b3
https://hg.mozilla.org/mozilla-central/rev/0e091e3a56e5
https://hg.mozilla.org/mozilla-central/rev/217dd3192072
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 10•5 years ago
|
||
Comment on attachment 9101945 [details]
Bug 1589122 - Rename getDefaultRecordingSettings to getDefaultRecordingPreferences
Beta/Release Uplift Approval Request
- User impact if declined: New profiles will have a bad default value as the "interval" when profiling, which makes firefox very slow (nearly unresponsive) if it's not changed.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is low risk mainly because this code isn't exposed to end-users but rather to gecko developers. Even for gecko developers it requires enabling a pref.
Several alternatives:
- a simpler patch is probably possible, but because this needs also some manual testing in addition to the automated testing I'd rather use the same patchset.
- not uplifting.
I'd still rather uplift because otherwise the behavior could be surprising if for some reason a gecko developers would want to use the internal profiler popup on a new profile.
- String changes made/needed:
Assignee | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment on attachment 9101945 [details]
Bug 1589122 - Rename getDefaultRecordingSettings to getDefaultRecordingPreferences
Big patch but has tests and impacts only gecko developers, so let's take it in 71 beta 4 as we are just starting the beta cycle, thanks.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 12•5 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/92593ea9aa11
https://hg.mozilla.org/releases/mozilla-beta/rev/a15b3b8f9742
https://hg.mozilla.org/releases/mozilla-beta/rev/207c6f7f4223
https://hg.mozilla.org/releases/mozilla-beta/rev/c18192744013
https://hg.mozilla.org/releases/mozilla-beta/rev/eaeef6a3d410
https://hg.mozilla.org/releases/mozilla-beta/rev/9b55fa35e6e1
https://hg.mozilla.org/releases/mozilla-beta/rev/c80e23b44e47
Updated•5 years ago
|
Updated•2 years ago
|
Description
•