bhaskarGyan / react-native-memory-profile

66 stars 3 forks source link

Memory profiling tool #21

Open shivenmian opened 2 years ago

shivenmian commented 2 years ago

@bhaskarGyan thanks for this work! Just wondering - what tool did you use for actually profiling the memory and get the graphs? The repo doesn't seem to have any of the profiling code.

shivenmian commented 2 years ago

@bhaskarGyan ?

bhaskarGyan commented 2 years ago

@shivenmian , it is the internal tool in my company which I was using, basically, it is taking periodic data from adb dumpsys and segregate into native memory and JS memory consumption

shivenmian commented 2 years ago

@bhaskarGyan Thanks a lot! Quick follow up: from adb dumpsys, are you using the Private Other memory as JS memory? I have written a tool myself and this is what I am using, but I am not sure if there is a better metric of JS memory in adb or some other tool. Any pointers?