Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15
Safari 14
Mac OS X 10.14.6
Desktop
3 months ago
Test name Executions per second
querySelectorAll 104871.1 Ops/sec
evaluate (ask for big array, copy elements) 7603.8 Ops/sec
evaluate2 (add elements one by one to empty array) 5988.8 Ops/sec
evaluate (ordered) 4966.5 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)