Skip to content

Massive perf drop in probably 5.41.1 #16990

@gyzerok

Description

@gyzerok

Describe the bug

After recent upgrade from 5.19.12 to 5.41.1 I found our app is freezing to multiple seconds (got as much as 5s in some cases) when I click through UI.

Image

Reproduction

I am not yet sure how to make a reproduction for it outside our code, but I think the problem is important enough to start discussion about it and iterate on the findings.

What I know so far:

  1. We are not using async
  2. It seems like the regression appears in 5.41.1. I can't say for sure, because I don't quite know a specific set of steps that lead to it. My guess it's branch refactoring PR
  3. The best way to trigger it seems to be fast clicking through some tabs in our UI. So probably something isn't cleaned up correctly and get interleaved?

Bottoms up
Image

Source with timings
Image

Logs

System Info

I can repro it both in Chrome and Firefox, so seems like env is irrelevant

Severity

blocking an upgrade to

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions