Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Linux
Desktop
one year ago
Benchmark.js
Using batching - grouping multiple DOM manipulations together
11K/s
Using multiple calls to host objects (DOM) v2
11K/s
Using multiple calls to host objects (DOM)
9K/s
View exact numbers
Test name Executions per second
Using batching - grouping multiple DOM manipulations together 11,342 Ops/sec
Using multiple calls to host objects (DOM) v2 10,713 Ops/sec
Using multiple calls to host objects (DOM) 8,997 Ops/sec
HTML Preparation code:
Tests: