š Performance troubleshooting
See original GitHub issueQuestion
Hi! Iām currently using a library called react-native-bigheads
that uses react-native-svg
for rendering. The library renders some complex vectors, but it shouldnāt be too much to handle.
My problem is, that the library renders really slow. Iām talking about noticeable delay in initial rendering (mounting) (see this demo), and generally really slow renders on re-rendering when a prop changes (see this demo).
I am trying to debug why this renders so slow, as normally vector rendering should be really fast. Now to my actual question(s):
- What could possibly be the cause of those incredibly slow renders?
- How can I debug/perf-measure this?
- What do I generally have to look out for when using vectors? Stuff like ādonāt use a lot of clipping, thatās really slowā
More info
- The main component that renders all other child SVG components is
Base.tsx
- All other components are in this folder
- Component renderers are stored as variables in maps (like a table lookup)
All kinds of help appreciated š
Issue Analytics
- State:
- Created 3 years ago
- Reactions:10
- Comments:6
Top Results From Across the Web
How To Fix Performance Issues In Windows 11 [Tutorial]
How To Fix Performance Issues In Windows 11 [Tutorial]If you are facing performance -related issues like Non-responding programs, freezing,Ā ...
Read more >My Computer is Running Slow, What Steps Can I Do to Fix It?
Today, spyware and other malware is a big cause of many computer problems, including slower performance. Even if an antivirus scanner isĀ ...
Read more >How to Fix a Slow Windows PC - Support.com TechSolutions
1. Microsoft frequently releases updates to fix bugs, patch security issues, and add new services to the Windows Operating System. In Windows 10,...
Read more >10 things to look for when troubleshooting slow network ...
Outages often impede network performance. These outages could be for a variety of reasons including: router or switch failures; planned or unplanned softwareĀ ......
Read more >Troubleshoot Network Performance Issues
Network performance issues can take hours to fixāunless you have Auvik. ... network performance issues slow snails auvik use caseĀ ...
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
@angadp Iām not having re-render issues. React.memo only prevents unnecessary re-renders, but in my case the actual render times are slow.
I just did most of it natively.