Frequent hangs in debugger code
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(Performance Impact:medium)
| Performance Impact | medium |
People
(Reporter: florian, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: perf, perf:responsiveness)
Attachments
(1 file)
|
352.61 KB,
image/png
|
Details |
Telemetry data shows we hang very frequently with this stack:
bool js::jit::GetNativeDataPropertyByValuePure<false>(JSContext*, JSObject*, JS::Value*) libxul.so
devtools/client/shared/vendor/reselect.js:93
devtools/client/shared/vendor/reselect.js:93
devtools/client/debugger/src/utils/source-queue.js:17
self-hosted:886
devtools/shared/transport/local-transport.js:61
devtools/shared/ThreadSafeDevToolsUtils.js:109
devtools/shared/ThreadSafeDevToolsUtils.js:109
XREMain::XRE_main
Stacks involving source-queue.js represent more than 4% of the total parent process hang time reported through Telemetry for our nightly users.
Comment 1•6 years ago
|
||
Jason, is this a code path that the current memoize work is helping with?
Also, do you have any thoughts to under what conditions this path would lead to a longer hang?
Comment 2•6 years ago
|
||
Related stacks
js::WeakMap<js::HeapPtr<JSObject*>, js::HeapPtr<JS::Value> >::lookup(JSObject* const&) const libxul.so
js::WeakMapObject::get(JSContext*, unsigned int, JS::Value*) libxul.so
devtools/client/shared/vendor/reselect.js:93
devtools/client/shared/vendor/reselect.js:93
devtools/client/debugger/src/utils/source-queue.js:17
self-hosted:1037
devtools/shared/transport/local-transport.js:61
devtools/shared/ThreadSafeDevToolsUtils.js:109
devtools/shared/ThreadSafeDevToolsUtils.js:109
XREMain::XRE_main
js::jit::IonGetNameIC::update(JSContext*, JS::Handle<JSScript*>, js::jit::IonGetNameIC*, JS::Handle<JSObject*>, JS::MutableHandle<JS::Value>) libxul.so
devtools/client/shared/vendor/reselect.js:93
devtools/client/shared/vendor/reselect.js:93
devtools/client/debugger/src/utils/source-queue.js:17
self-hosted:1037
devtools/shared/transport/local-transport.js:61
devtools/shared/ThreadSafeDevToolsUtils.js:109
devtools/shared/ThreadSafeDevToolsUtils.js:109
XREMain::XRE_main
Comment 3•6 years ago
|
||
Updated•6 years ago
|
Comment 4•6 years ago
|
||
This is related to new sources arriving, but it is not enough information to know what reselect selector is involved in the hang...
Updated•6 years ago
|
Comment 5•5 years ago
|
||
Florian, is this still happening?
Where can we see the telemetry data?
Honza
| Reporter | ||
Comment 6•5 years ago
|
||
(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #5)
Florian, is this still happening?
Very few stacks involving source-queue.js currently so I would be tempted to say WORKSFORME.
Where can we see the telemetry data?
http://queze.net/bhr/test/#row=0&filter=devtools will show you the stacks for hangs involving devtools.
Comment 7•5 years ago
|
||
Thanks for the update Florian!
Honza
Updated•4 years ago
|
Description
•