Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Chrome 113
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Using multiple calls to host objects (DOM) 30238.5 Ops/sec
Using batching - grouping multiple DOM manipulations together 30640.6 Ops/sec
Using multiple calls to host objects (DOM) v2 28936.7 Ops/sec
HTML Preparation code:
Tests:
  • Using multiple calls to host objects (DOM)

  • Using batching - grouping multiple DOM manipulations together

  • Using multiple calls to host objects (DOM) v2