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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -