Closed
Bug 1364323
Opened 8 years ago
Closed 8 years ago
0.91ms uninterruptible reflow at waitForSyncCallback@resource://gre/modules/services-common/async.js:98:7
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
INVALID
Performance Impact | ? |
People
(Reporter: rjward0, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [ohnoreflow])
Here's the stack:
waitForSyncCallback@resource://gre/modules/services-common/async.js:98:7
makeSpinningCallback/callback.wait@resource://gre/modules/services-common/async.js:168:27
promiseSpinningly@resource://gre/modules/services-common/async.js:234:12
_fetchServerConfiguration@resource://services-sync/service.js:855:24
_remoteSetup@resource://services-sync/service.js:880:10
sync@resource://services-sync/stages/enginesync.js:86:11
onNotify@resource://services-sync/service.js:1080:7
WrappedNotify@resource://services-sync/util.js:161:21
WrappedLock@resource://services-sync/util.js:117:16
_lockedSync@resource://services-sync/service.js:1070:12
sync/<@resource://services-sync/service.js:1062:7
WrappedCatch@resource://services-sync/util.js:92:16
sync@resource://services-sync/service.js:1051:5
Updated•8 years ago
|
Component: Untriaged → Sync
Comment 1•8 years ago
|
||
huh - this stack points at a nested event loop we spin (yeah, I know, bug 1007448) while waiting for an async network fetch and getting a tiny response. Is it possible these nested event loops are causing mis-attribution? Eg, we have issues with the profiler/debugger in that any code run indirectly via that event loop looks like it comes from sync, and while this looks a bit different to that, it might still be a complication.
Flags: needinfo?(rjward0)
Comment 2•8 years ago
|
||
oops - meant to paste http://searchfox.org/mozilla-central/rev/cd8c561106d804e26bc09389f18f361846d005eb/services/common/async.js#98 as the event loop.
Updated•8 years ago
|
Flags: qe-verify?
Priority: -- → P2
Updated•8 years ago
|
Comment 3•8 years ago
|
||
Oh no! Reflow! can't tell the difference between a JS-caused reflow, and a reflow that's occurring natively while spinning a nested event loop in JS, which I think is what's happening here.
I'll see if I can alter Oh no! Reflow! to detect this difference, but for now, closing this as INVALID.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Updated•8 years ago
|
Flags: qe-verify?
Priority: P2 → --
Whiteboard: [ohnoreflow][qf][photon-performance] → [ohnoreflow][qf]
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(rjward0)
Updated•3 years ago
|
Performance Impact: --- → ?
Whiteboard: [ohnoreflow][qf] → [ohnoreflow]
You need to log in
before you can comment on or make changes to this bug.
Description
•