debugger and console are extremely slow to show the contents of a large typed array



Shared Components
2 years ago
a month ago


(Reporter: db48x, Unassigned)



Firefox Tracking Flags

(firefox52 wontfix)



(1 attachment)



2 years ago
Created attachment 8806944 [details]

In the attached testcase, showing the HEAP8 variable in either the console or in the debugger takes quite a long time. I noticed this in a much more complicated case where I was inspecting an object that had half a dozen such large typed arrays; it took several minutes to display the contents of the object. The time it takes appears to be proportional to the length of the array, which is especially annoying since the debugger is going to shorten it significantly once it displays it.
If you were testing with new console/debugger, this may be related to Bug 1313161.

Comment 2

2 years ago
Oh, I forgot to mention memory usage. Watching this in top shows the content process passing 8GB RSS while rendering this value, then dropping back to a few hundred megs when it's done.
What version are you testing in?  We had a similar issue fixed in 49: Bug 1270179
Flags: needinfo?(db48x)
See Also: → bug 1270179

Comment 4

2 years ago
(In reply to Brian Grinstead [:bgrins] from comment #3)
> What version are you testing in?  We had a similar issue fixed in 49: Bug
> 1270179

Trunk, as indicated. Specifically a nightly from this morning (20161102030205).
Flags: needinfo?(db48x)
Component: Developer Tools → Developer Tools: Shared Components
Mass wontfix for bugs affecting firefox 52.
status-firefox52: affected → wontfix


a month ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.