Closed
Bug 963499
(jank-watcher)
Opened 11 years ago
Closed 11 years ago
Implement a jank watcher to display event loop lags in Firefox OS's Developer HUD
Categories
(DevTools Graveyard :: WebIDE, defect)
DevTools Graveyard
WebIDE
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 30
People
(Reporter: janx, Assigned: janx)
References
Details
(Keywords: perf, Whiteboard: [c=tools p= s=2014.02.14 u=][qa-])
Attachments
(3 files, 4 obsolete files)
As a follow up to bug #960933, implement a JS jank watcher using bug #962511's devtools actor to display jank information in Firefox OS's devtools layers.
Blocks: milk-flow
Depends on: 969827
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8375806 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Alias: jank-watcher
Summary: Implement a JS jank watcher to display jank info in Firefox OS's devtools layers → Implement a jank watcher to display event loop lags in Firefox OS's Developer HUD
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8375807 -
Attachment is obsolete: true
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8375852 -
Attachment is obsolete: true
Comment 5•11 years ago
|
||
Comment on attachment 8375855 [details] [diff] [review]
Implement a jank watcher to display event loop lags in Firefox OS's Developer HUD. r=vingtetun
Review of attachment 8375855 [details] [diff] [review]:
-----------------------------------------------------------------
R+ with one nit.
::: b2g/chrome/content/devtools.js
@@ +396,5 @@
> + app.display();
> + }
> + }
> +
> + this._active = value;
Move this one upper. Closer to the top of the method.
Attachment #8375855 -
Flags: review+
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #8375859 -
Flags: review?(21)
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #8375855 -
Attachment is obsolete: true
Assignee | ||
Comment 8•11 years ago
|
||
Assignee | ||
Comment 9•11 years ago
|
||
After playing with it, I decided to show the number of milliseconds instead of a jank count, much more useful that way. Also I find the actor threshold to be very low, thus tracking janks produces a lot of logs in ADB!
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8375861 [details] [diff] [review]
Implement a jank watcher to display event loop lags in Firefox OS's Developer HUD. r=vingtetun
(keeping Vivien's r+)
Attachment #8375861 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Attachment #8375859 -
Attachment description: Bug 963499 - Add a JS jank watcher to the Developer HUD. r=vingtetun → Add a JS jank watcher to the Developer HUD. r=vingtetun
Attachment #8375859 -
Flags: review?(21) → review+
Comment 11•11 years ago
|
||
(In reply to Jan Keromnes [:janx] from comment #9)
> After playing with it, I decided to show the number of milliseconds instead
> of a jank count, much more useful that way. Also I find the actor threshold
> to be very low, thus tracking janks produces a lot of logs in ADB!
I thought I landed something which is 100ms by default but I landed something else :(
I will try to fix bug 968237 as soon as I can in order to unlock this feature.
Assignee | ||
Comment 12•11 years ago
|
||
(In reply to Vivien Nicolas (:vingtetun) (:21) from comment #11)
> I will try to fix bug 968237 as soon as I can in order to unlock this
> feature.
Well, technically this feature isn't blocked on bug #968237, and I'm not sure it should be blocked on bug #969827 either. The current situation with a threshold >=20ms is that you see a lot more updates and logs, but it's still useful.
I suggest we don't block on those bugs and land now. Does that work with you Vivien?
Flags: needinfo?(21)
Comment 13•11 years ago
|
||
(In reply to Jan Keromnes [:janx] from comment #12)
> (In reply to Vivien Nicolas (:vingtetun) (:21) from comment #11)
> > I will try to fix bug 968237 as soon as I can in order to unlock this
> > feature.
>
> Well, technically this feature isn't blocked on bug #968237, and I'm not
> sure it should be blocked on bug #969827 either. The current situation with
> a threshold >=20ms is that you see a lot more updates and logs, but it's
> still useful.
>
> I suggest we don't block on those bugs and land now. Does that work with you
> Vivien?
I'm fine to land it as if. People are still able to configure the interval in the meantime using MOZ_INSTRUMENT_EVENT_LOOP_THRESHOLD and MOZ_INSTRUMENT_EVENT_LOOP_INTERVAL in system/bin/b2g.sh if they need to tweak it until the pref has landed.
Flags: needinfo?(21)
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 14•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 15•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 30
Comment 16•11 years ago
|
||
I add to rebase the Gaia patch. Here is the changeset https://github.com/mozilla-b2g/gaia/commit/1a3d4629fb59c5b1e63e158b05777fd1c9c11a80
Assignee | ||
Comment 17•11 years ago
|
||
Thanks for rebasing :)
Assignee | ||
Comment 18•11 years ago
|
||
Mike, I'm curious about those whiteboard values, what are they for?
Flags: needinfo?(mlee)
Updated•11 years ago
|
Whiteboard: [c=tools p= s=2014.02.14 u=] → [c=tools p= s=2014.02.14 u=][qa-]
Comment 19•11 years ago
|
||
Hi Jan,
We use those whiteboard values to populate our agile view, scrumbugs: https://scrumbu.gs/p/fxos-perf/
c=<component>, a performance-specific categorization (e.g. memory, power)
p=<point-value>, a value from 1 - 5 indicating Level Of Effort to fix this issue.
s=<sprint-name>, usually only used for bugs resolved before being added to a sprint.
u=<release/device>, used to indicate which release(s) or this is for (e.g. 1.3, 1.4, tarako) usually set when an issue is marked as a blocker.
Mike
Flags: needinfo?(mlee)
Assignee | ||
Comment 20•11 years ago
|
||
Thanks Mike!
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•