mui
mui-x
BlogDocsChangelog

[charts] Use more performant data structure for closest point

#19615Closed
Comparing
bernardobelchior:flatbush-closest-point
(
8776e41
) with
master
(
4093fe0
)
CodSpeed Performance Gauge
-22%
Improvements
1
Regressions
2
Untouched
9

Benchmarks

Failed

ScatterChartPro with big data amount and zoomed in (single renderer)
test/performance-charts/tests/ScatterChartPro.bench.tsx::ScatterChartPro
Regression
CodSpeed Performance Gauge
-18%
56.9 ms68.9 ms
ScatterChartPro with big data amount and zoomed in (batch renderer)
test/performance-charts/tests/ScatterChartPro.bench.tsx::ScatterChartPro::using renderer="svg-batch"
Regression
CodSpeed Performance Gauge
-22%
57.5 ms73.7 ms

Improved

ScatterChartPro with big data amount (batch renderer)
test/performance-charts/tests/ScatterChartPro.bench.tsx::ScatterChartPro::using renderer="svg-batch"
CodSpeed Performance Gauge
+10%
71.9 ms65.3 ms

Passed

ScatterChart with big data amount
test/performance-charts/tests/ScatterChart.bench.tsx::ScatterChart
CodSpeed Performance Gauge
+4%
804.5 ms774.6 ms
ScatterChartPro with big data amount (single renderer)
test/performance-charts/tests/ScatterChartPro.bench.tsx::ScatterChartPro
CodSpeed Performance Gauge
+3%
405.4 ms395.4 ms
BarChart with big data amount
test/performance-charts/tests/BarChart.bench.tsx::BarChart
CodSpeed Performance Gauge
0%
2 s2 s
PieChart with big data amount
test/performance-charts/tests/PieChart.bench.tsx::PieChart
CodSpeed Performance Gauge
0%
109.9 ms109.7 ms
BarChartPro with big data amount
test/performance-charts/tests/BarChartPro.bench.tsx::BarChartPro
CodSpeed Performance Gauge
0%
1.2 s1.2 s
FunnelChart with big data amount
test/performance-charts/tests/FunnelChart.bench.tsx::FunnelChart
CodSpeed Performance Gauge
0%
34.2 ms34.3 ms
Area chart with big data amount (no marks)
test/performance-charts/tests/LineChart.bench.tsx::LineChart
CodSpeed Performance Gauge
0%
105.9 ms106.1 ms
LineChart with big data amount (with marks)
test/performance-charts/tests/LineChart.bench.tsx::LineChart
CodSpeed Performance Gauge
0%
1.4 s1.4 s
LineChartPro with big data amount and zoomed in (with marks)
test/performance-charts/tests/LineChartPro.bench.tsx::LineChartPro
CodSpeed Performance Gauge
-1%
382 ms384 ms

Commits

Click on a commit to change the comparison range
Base
master
4093fe0
-21.92%
Ensure test fails without fix
8776e41
24 days ago
by bernardobelchior
© 2025 CodSpeed Technology
Home Terms Privacy Docs