Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
orange8
on April 2, 2020
|
parent
|
context
|
favorite
| on:
How to manage HTML DOM with vanilla JavaScript onl...
> The querySelector method executes thousands of times slower than the other more specific methods
Do you mean this literally?
austincheney
on April 3, 2020
[β]
Yes. Test it yourself on JSBench
https://jsbench.github.io/
orange8
on April 3, 2020
|
parent
[3 more]
[flagged]
austincheney
on April 3, 2020
|
root
|
parent
|
next
[β]
Itβs a benchmark tool that runs in your browser. You have to supply code samples to compare to see the numbers.
dillonmckay
on April 3, 2020
|
root
|
parent
|
prev
[β]
Chill out, dude.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Do you mean this literally?