Open Bug 1407620 Opened 7 years ago Updated 10 months ago

Navigating away from a page using plenty of blob urls is very slow

Categories

(Core :: DOM: Content Processes, defect, P3)

defect

Tracking

()

People

(Reporter: florian, Unassigned)

References

Details

See this profile https://perfht.ml/2gcWPqS where the main thread was blocked for ~4s when navigating away from a page that displayed ~500 images using blob urls.

About half the time in this profile is spent in PContent::Msg_UnstoreAndBroadcastBlobURLUnregistration
And the other half of the profile seems to be malloc/free taking respectively 1148 and 840ms to return, most likely due to jemalloc being extraordinarily busy deallocating the ~2.3GB of data that was referenced by the blob urls.
Assignee: nobody → amarchesini
See Also: → 1407636
Priority: -- → P3

Hi Florian, can you still see this?

Assignee: amarchesini → nobody
Flags: needinfo?(florian)
Severity: normal → S3

I don't have easy access to the page I profiled in comment 0 anymore, so I'm not seeing this anymore, but that doesn't say anything about whether this is fixed. We have some hangs reported over BHR for RecvUnstoreAndBroadcastBlobURLUnregistration https://fqueze.github.io/hang-stats/#date=20230526&row=2&filter=RecvUnstoreAndBroadcastBlobURLUnregistration, but there are only a few of them.

Flags: needinfo?(florian)
You need to log in before you can comment on or make changes to this bug.