Closed Bug 1515181 Opened 5 years ago Closed 5 years ago

Huge amount of time spent in StatsCellCallback/JSRope::hash when collecting memory report

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1504926

People

(Reporter: bholley, Unassigned)

Details

I just took a memory report on a recent OSX Nightly, and it took several minutes. I took a profile near the end, and found this:

https://perfht.ml/2QXLkEj

Not sure exactly what it means, but presumably something unexpected is happening here.
I didn't look at the profile, but it sounds like the part of the memory reporter that detects duplicate strings.
There's a known weakness in the memory reporter for strings when there are large numbers of strings, especially near/identical ones, especially if the strings are larte and build in pieces (JSRopes).  See bug 1504926
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.