mui
mui-x
BlogDocsChangelog

[charts] Improve code reuse in `ChartsXAxis` and `ChartsYAxis`

#19198Merged
Comparing
bernardobelchior:improve-charts-y-axis-code-reuse
(
c95e459
) with
master
(
4be419e
)
CodSpeed Performance Gauge
+1%
Untouched
8
Archived
2

Benchmarks

Passed

BarChart with big data amount
test/performance-charts/tests/BarChart.bench.tsx::BarChart
CodSpeed Performance Gauge
+1%
1.9 s1.9 s
BarChartPro with big data amount
test/performance-charts/tests/BarChartPro.bench.tsx::BarChartPro
CodSpeed Performance Gauge
+1%
1.1 s1.1 s
Area chart with big data amount (no marks)
test/performance-charts/tests/LineChart.bench.tsx::LineChart
CodSpeed Performance Gauge
0%
104.2 ms103.9 ms
PieChart with big data amount
test/performance-charts/tests/PieChart.bench.tsx::PieChart
CodSpeed Performance Gauge
0%
105 ms105 ms
FunnelChart with big data amount
test/performance-charts/tests/FunnelChart.bench.tsx::FunnelChart
CodSpeed Performance Gauge
0%
32.7 ms32.6 ms
ScatterChart with big data amount
test/performance-charts/tests/ScatterChart.bench.tsx::ScatterChart
CodSpeed Performance Gauge
0%
795.6 ms796 ms
LineChartPro with big data amount and zoomed in (with marks)
test/performance-charts/tests/LineChartPro.bench.tsx::LineChartPro
CodSpeed Performance Gauge
0%
373.8 ms374.2 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

Commits

Click on a commit to change the comparison range
Base
master
4be419e
+8.1%
Apply same logic to x axis
37f9fe7
2 months ago
by bernardobelchior
-7.78%
Append `Ticks` to some component
58d2889
1 month ago
by bernardobelchior
+7.85%
Move `XAxisRoot` to `ChartsXAxis`
7065878
1 month ago
by bernardobelchior
-7.83%
Avoid exporting XAxisRoot
c09d751
1 month ago
by bernardobelchior
-0.21%
Fix rebase
0680272
1 month ago
by bernardobelchior
+0.03%
Fix static
cac1928
1 month ago
by bernardobelchior
+0.74%
Address PR feedback
c95e459
1 month ago
by bernardobelchior
© 2025 CodSpeed Technology
Home Terms Privacy Docs