software-mansion / react-native-svg

SVG library for React Native, React Native Web, and plain React web projects.
MIT License
7.52k stars 1.13k forks source link

Performance Comparison #2131

Open zzzkasper-1995 opened 1 year ago

zzzkasper-1995 commented 1 year ago

Hello. I thought about how productive this library is, especially in comparison with others. Please tell me what ways there are to measure the performance of react-native-svg, and for example compare with react-native fast-image?

AdamGerthel commented 1 year ago

I'm really curious about this as well, especially compared to React Native Skia. I've had 9-slice components where I had to switch from using react-native-svg to react-native-fast-image due to bad performance on Android.

LukasMod commented 1 week ago

I discovered that a small simple svg image used on an item in a listing of about 100 items was severely slowing down the scroll (mid-range android). After changing to fast-image and png format I noticeably improved the scroll. On iOS I did not notice the problem.