Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Old MutationEvents performance 2
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0
Browser:
Firefox 136
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Normal
4611.0 Ops/sec
MutationEvents
2365.9 Ops/sec
HTML Preparation code:
<div id="b"></div>
Script Preparation code:
function e() {} function a(c) { c && document.addEventListener('DOMNodeInserted', e) for (let i = 100; i--;) { let element = b.cloneNode() document.body.appendChild(element) document.body.removeChild(element) } c && document.removeEventListener('DOMNodeInserted', e) }
Tests:
Normal
a(false)
MutationEvents
a(true)