HTML Preparation code:
AخA
 
1
<div id="b"></div>
Script Preparation code:
 
function a(c) {
    c && document.addEventListener('DOMNodeInserted', () => {})
    for (let i = 100; i--;) {
        let element = b.cloneNode()
        document.body.appendChild(element)
        document.body.removeChild(element)
    }
}
Tests:
  • Normal

     
    a(false)
  • MutationEvents

     
    a(true)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Normal
    MutationEvents

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 days ago)
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126 on Chrome OS 14541.0.0
View result in a separate tab
Test name Executions per second
Normal 4046.4 Ops/sec
MutationEvents 35.1 Ops/sec