Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.41 YaBrowser/21.2.0.2458 Yowser/2.5 Safari/537.36
Yandex Browser 21
Mac OS X 10.14.6
Desktop
3 years ago
Test name Executions per second
replace 3038944.8 Ops/sec
createContextualFragment 98031.1 Ops/sec
innerHTML 92190.7 Ops/sec
Tests:
  • replace

  • createContextualFragment

  • innerHTML