Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Chrome 95
Linux
Desktop
3 years ago
Test name Executions per second
querySelectorAll 84181.9 Ops/sec
evaluate (ask for big array, copy elements) 7506.3 Ops/sec
evaluate2 (add elements one by one to empty array) 7763.6 Ops/sec
evaluate (ordered) 5605.2 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)


;