How do I figure out which Javascript code is periodically hanging the browser? -
it's not freezing page until refresh, it's every 10 seconds or hanging few seconds while i'm typing or clicking in page (i of course won't notice if i'm not interacting page, , there's no moving graphics).
i didn't build page or form, it's heavy javascript , i'm unable edit javascript source code (except in chrome dev tools) i'd know if there's way catch code keeps hanging user interactivity.
you can use collect javascript cpu profile
in chrome dev tools, press record, click around, stop, , evaluate. details:
https://developer.chrome.com/devtools/docs/cpu-profiling
if have access source code can use performance api
Comments
Post a Comment