I followed the official guide to profile my JS: https://facebook.github.io/react-native/docs/android-ui-performance.html
But when I get the results, there's no js-related code I can look at:
Any idea what happened ? The interface is pretty sluggish, cusuming 100% of a CPU, but I get no infos why.
EDIT: looks like using the latest react-native version could solve that, I'm using 0.30.0
and looks like some related changes were introduced around 0.34.0
You can simply use the chrome profiler over debuggerWorker.js
while debugging:
Profiling while debugging won't give you the most accurate results so be careful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With