Using the built in Victory charts to render an animated chart with 200 data points, the frame rate drops into the single digits. I've compared it against react-timeseries-charts (running on top of pond js) and the performance is about 3x improved.
This is reproducible by sending a frequently updating sequence of time series data (think system resource utilization dashboard). The number of points added directly impacts the performance. This is less noticeable in other charting frameworks running within Patternfly.
This looks like a bug, as I'd submit that 200 data points in an animated chart should be able to yield a higher frame rate.
I've hosted a patternfly seed app on http://didactic-blood.surge.sh/ that demonstrates this issue and caps the number of points at 200.
You'll notice the Victory-powered charts begin to render more slowly as the points are increased, and plateaus when it reaches the cap. The react-timeseries-charts do not exhibit this slowdown.
Source is available in my fork: https://github.com/ceefit/patternfly-react-seed
Would building a pondjs adapter to work with Patternfly's charts help with the performance?
Using the built in Victory charts to render an animated chart with 200 data points, the frame rate drops into the single digits. I've compared it against react-timeseries-charts (running on top of pond js) and the performance is about 3x improved.
This is reproducible by sending a frequently updating sequence of time series data (think system resource utilization dashboard). The number of points added directly impacts the performance. This is less noticeable in other charting frameworks running within Patternfly.
This looks like a bug, as I'd submit that 200 data points in an animated chart should be able to yield a higher frame rate.
I've hosted a patternfly seed app on http://didactic-blood.surge.sh/ that demonstrates this issue and caps the number of points at 200.
You'll notice the Victory-powered charts begin to render more slowly as the points are increased, and plateaus when it reaches the cap. The react-timeseries-charts do not exhibit this slowdown.
Source is available in my fork: https://github.com/ceefit/patternfly-react-seed
Would building a pondjs adapter to work with Patternfly's charts help with the performance?