performance testing - How to check which javascript loads and preforms quicker -


i have written in javascript 2 different ways hover on links , have background of window change color, 1 using event delegation , 1 not.

how check option best performance wise (probably checking in browser developer tools)?

from reading conventions have learned event delegation way go code seems less clear , readable want check if perform better.

in chrome developer tools can use timeline section , create recording of these events , time how long take.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -