Re:Why I'm still using jQuery
by Carpetsmoker on Monday May 27, 2019 @08:32AM
(#20021616)
You can build jQuery without the SizzleJS engine and then it'll just use document.querySelectorAll. You can, of course, also still use document.getElementById('foo'), so if you have a specific performance issue you can opt-out for that one function.
Re:Why I'm still using jQuery
by marcosdumay on Monday May 27, 2019 @02:40PM
(#20024313)
The slowest function on that tables gives me 900k ops/second. This will not make any difference in a mostly static page.
https://jsperf.com/getelementbyid-vs-queryselector/25