[charts] Migrate some animations from react-spring

#16961Merged
Comparing
bernardobelchior:migrate-css-transitions
(
1527462
) with
master
(
1cc12b9
)
CodSpeed Performance Gauge
+40%
Improvements
3
Regressions
0
Untouched
5
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

PieChart with big data amount
test/performance-charts/tests/PieChart.bench.tsx::PieChart::PieChart with big data amount
CodSpeed Performance Gauge
+40%
183.7 ms
131.3 ms
LineChart with big data amount
test/performance-charts/tests/LineChart.bench.tsx::LineChart::LineChart with big data amount
CodSpeed Performance Gauge
+36%
316.9 ms
232.7 ms
LineChartPro with big data amount
test/performance-charts/tests/LineChartPro.bench.tsx::LineChartPro::LineChartPro with big data amount
CodSpeed Performance Gauge
+30%
146.9 ms
113.2 ms

Passed

BarChartPro with big data amount
test/performance-charts/tests/BarChartPro.bench.tsx::BarChartPro::BarChartPro with big data amount
CodSpeed Performance Gauge
0%
752.6 ms
749.2 ms
ScatterChart with big data amount
test/performance-charts/tests/ScatterChart.bench.tsx::ScatterChart::ScatterChart with big data amount
CodSpeed Performance Gauge
0%
409.1 ms
408.1 ms
BarChart with big data amount
test/performance-charts/tests/BarChart.bench.tsx::BarChart::BarChart with big data amount
CodSpeed Performance Gauge
0%
498.8 ms
499 ms
FunnelChart with big data amount
test/performance-charts/tests/FunnelChart.bench.tsx::FunnelChart::FunnelChart with big data amount
CodSpeed Performance Gauge
0%
23.6 ms
23.6 ms
ScatterChartPro with big data amount
test/performance-charts/tests/ScatterChartPro.bench.tsx::ScatterChartPro::ScatterChartPro with big data amount
CodSpeed Performance Gauge
0%
59.9 ms
60 ms

Commits

Click on a commit to change the comparison range
Base
master
1cc12b9
+35%
Also animate cornerRadius. Flush timers after finish to ensure animation jumps to end.
94610d8
6 days ago
by bernardobelchior
0%
prefer reduced motion in tests
28eef59
6 days ago
by bernardobelchior
+1%
Fix styled in AppearingMask
505c5da
6 days ago
by bernardobelchior
0%
Use emulateMedia to prefer reduced motion
d1b5f1c
6 days ago
by bernardobelchior
+4%
Fix first render in SSR
1527462
5 days ago
by bernardobelchior
© 2025 CodSpeed Technology