3 ms·
This is using jQuery 1. You should be using jQuery 2 for this kind of benchmark. As other already said, jQuery adds a lot of padding to support older browsers.
by lightblade 13y ago
This is using jQuery 1. You should be using jQuery 2 for this kind of benchmark. As other already said, jQuery adds a lot of padding to support older browsers. jQuery 2 removed a lot of old browser support for performance improvements.