BSI.util.mixin() vs jQuery.extend() vs. native DOM (v26)

Revision 26 of this benchmark created on


Setup

setstyle

Teardown



            el = null;
        
  

Test runner

Ready to run.

Testing in
TestOps/sec
BSI.util.mixin()
BSI.util.mixin(el.style, {
  background: "#0000FF",
  boxShadow: "1px 1px 5px 5px blue",
  width: "100px",
  height: "100px",
  display: "block"
});
ready
jQuery.extend()
$.extend(el.style, {
  background: "#0000FF",
  boxShadow: "1px 1px 5px 5px blue",
  width: "100px",
  height: "100px",
  display: "block"
});
ready
Native DOM
el.style.background = "#00FF00";
el.style.width = "100px";
el.style.height = "100px";
el.style.display = "block";
el.style.boxShadow = "1px 1px 5px 5px green";
ready
werr
ready

Revisions

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