buidl-labs / polkaviz

Visualization efforts on the Polkadot Network!
https://polkavizproject.surge.sh/
2 stars 3 forks source link

Investigate Memory Leakage #19

Open prastut opened 5 years ago

prastut commented 5 years ago

If I keep the tab open for a very long time http://polkavizproject.surge.sh/#/kusama, the tab hangs.

prastut commented 5 years ago

Remember that freezing is most commonly caused by infinite loops or infinite recursion. If the browser does not unfreeze after a minute or so these are the most likely causes of the problem. Freezes can also by caused by synchronous ajax requests, busy loops, or when a function just ends up running a lot of resource-intensive code.

https://twitter.com/datarade/status/1184556596010999809

prastut commented 5 years ago

https://jaxenter.com/react-profiler-detect-bottlenecks-149412.html https://reactjs.org/blog/2018/09/10/introducing-the-react-profiler.html