Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
Chrome 94
Linux
Desktop
2 years ago
Test name Executions per second
Using multiple calls to host objects (DOM) 4976.4 Ops/sec
Using batching - grouping multiple DOM manipulations together 5070.1 Ops/sec
Using multiple calls to host objects (DOM) v2 4789.3 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