Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
Chrome 70
Linux
Desktop
5 years ago
Test name Executions per second
querySelectorAll 61624.8 Ops/sec
evaluate (ask for big array, copy elements) 6326.1 Ops/sec
evaluate2 (add elements one by one to empty array) 6679.4 Ops/sec
evaluate (ordered) 5435.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • querySelectorAll

  • evaluate (ask for big array, copy elements)

  • evaluate2 (add elements one by one to empty array)

  • evaluate (ordered)


;