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
Post a Comment