Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63
Fedora
Desktop
5 years ago
Test name Executions per second
querySelectorAll 63124.1 Ops/sec
evaluate (ask for big array, copy elements) 9425.5 Ops/sec
evaluate2 (add elements one by one to empty array) 9228.3 Ops/sec
evaluate (ordered) 9230.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)


;