Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The querySelector method executes thousands of times slower than the other more specific methods

Do you mean this literally?



Yes. Test it yourself on JSBench https://jsbench.github.io/


[flagged]


It’s a benchmark tool that runs in your browser. You have to supply code samples to compare to see the numbers.


Chill out, dude.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: