Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 YaBrowser/23.3.3.704 Yowser/2.5 Safari/537.36
Yandex Browser 23
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
parentNode 13497115.0 Ops/sec
nextSibling 13583668.0 Ops/sec
parentElement 13459077.0 Ops/sec
previousSibling 13537247.0 Ops/sec
getElementById 3968518.2 Ops/sec
freeze 5643988.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • parentNode

  • nextSibling

  • parentElement

  • previousSibling

  • getElementById

  • freeze