[Performance Issue] Pool Performance on UI FPS on iOS only with victory-native VictoryArea animating.
See original GitHub issueI made a animated VictoryArea like this:
Watch the UI FPS ,please . The animation is bad. But it is much better on Android.
Anyone can help me? Thank you in advance.
dependencies:
"react-native": "0.55.4",
"react-native-svg": "^6.5.2",
"victory-native": "^0.17.4"
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
[Performance Issue] Pool Performance on UI FPS on iOS only ...
I made a animated VictoryArea like this: performance. Watch the UI FPS ,please . The animation is bad. But it is much better...
Read more >Spritekit performance/fps drop aft… | Apple Developer Forums
My FPS drops to about 55 fps once approximately 20 monsters in my game are in the main view. The monsters normally just...
Read more >iOS Animation and Tuning for Efficiency - Toptal
Animating at 60 FPS. One key aspect of perceived performance is making sure your animations run at 60 FPS (frames per second), which...
Read more >UI of react native app (on iOS) lags and fps rate drops regularly
2 Answers 2 · Running in development mode is actually a major performance issue. · Also, try to interpolate as much of the...
Read more >Keeping animations running at 60 FPS in a React Native app ...
In this post, we will take a look at several techniques for improving the performance of animations in a React Native mobile app....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve done some more work on native animation: https://github.com/react-native-community/react-native-svg/pull/757 Any help in testing would be much appreciated 😄
Optimally, someone would implement support for animating string props in react-native using the native animated driver, I started work on it but not currently putting any time/effort into it, that should allow speeding up lots of animations with the flip of a switch.
But in this case, it seems from the gif that the same effect could be achieved using a static chart and a react-native animated view with white background, which starts out covering the entire chart and slides out to the right.
This way, it only needs to render the svg once, and then animate the x position of a white rectangle view using native animation and the simplest possible logic; which should be able to achieve 60fps easily, if it is at all possible to get 60fps using react-native with the specific hardware and operating environment in question.