Skip to content

[charts] Bad performance when using large datasets #12960

@bryanjtc

Description

@bryanjtc

Steps to reproduce

Link to live example: https://codesandbox.io/p/sandbox/optimistic-platform-pkqz6s

Steps:

  1. Modify any chart example to use a large dataset. For example one using 6,000 objects

Current behavior

The chart is very slow and freezes applications.

Expected behavior

No problem at all

Context

I use the charts package for finance purposes. There are more than 5000, 10,000 entries. It should be able to handle this amount of entries smoothly.

Your environment

npx @mui/envinfo
   System:
    OS: Windows 11 10.0.22631
  Binaries:
    Node: 20.11.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
    pnpm: 7.18.2 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Chromium (123.0.2420.97)
I use Brave Version 1.65.123 Chromium: 124.0.6367.91 (Official Build) (64-bit)

Search keywords: charts performance

Sub-issues

Metadata

Metadata

Labels

performancescope: chartsChanges related to the charts.umbrellaFor grouping multiple issues to provide a holistic view

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions