Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Windows
Desktop
one month ago
Test name Executions per second
innerHTML 2393813.8 Ops/sec
replaceChildren 1947323.5 Ops/sec
remove by while 22930084.0 Ops/sec
removeChild by while 19834692.0 Ops/sec
remove by forEach'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' 1232102.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML

  • replaceChildren

  • remove by while

  • removeChild by while

  • remove by forEach