Updating style

Benchmark created on


Preparation HTML

<div id="loh" style="transition: none"></div>

Setup

const loh = document.querySelector('#loh')

Test runner

Ready to run.

Testing in
TestOps/sec
Direct
loh.style.transition = '';
ready
setProperty
loh.style.setProperty('transition', '')
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.