Skip to content

Extreme slowdown on page loading, potential memory leak? #909

Open
@hugoattal

Description

@hugoattal

I've been noticing extreme slowdown on page load with the devtools activated.

(I use the 7.7.7 version on Firefox, but it does the same thing on Chrome)

When I load the page, it works for 1-2 seconds, then it freezes for about 30-40s (I even get a warning if I want to stop the script), and after that it works again! I get this at each page load.

If I disable the extension, it works without any issue.

Here's a performance profiling with the extension activated. As you can see, the CPU is at 100% for a very good amount of time. Also, the memory has this sawtooth shape, which led me to believe it might be some kind of memory leak. The callstack indicates that the "traverse" function is called a lot of times.

Image

For comparison, here's a performance profiling with the extension disabled.

Image

I admit, I don't know how to reproduce easily, my project is fairly big and not open source... I don't expect you guys to be able to solve this without much input, I just want to warn you about this potential issue, maybe it rings a bell.

EDIT: It might have to do with iframe? This bug happens only on the page where I have one, and when I disable it, it's a bit quicker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions