Skip to content

[BUG] Regressed rendering performance in MantineProvider after Dash 3.x / DMC 2.x upgrade #3504

@DavidKatz-il

Description

@DavidKatz-il

Describe the bug

After upgrading Dash 2.18.2 to 3.2.0 and Dash Mantine Components (DMC) 0.12.0 to 2.3.0, I noticed a significant slowdown when using MantineProvider.

In DMC 0.12.0, the app ran exceptionally fast without MantineProvider, with an INP of around 50–60 ms. However, when I added MantineProvider in the same version, performance plummeted sharply, reaching 600–700 ms. After upgrading to DMC 2.x, performance improved significantly, dropping to approximately 120 ms. However, it still lags behind the original setup without MantineProvider.

Unfortunately, MantineProvider is now mandatory in the latest versions.

As mentioned in the issue here, it appears to be an upstream issue, possibly related to the dash_renderer.

Could you please provide an update on whether there’s a plan to fix this issue? If not, could you suggest a workaround or offer some insights into the potential source of the problem?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething broken

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions