remove-dp (v4)

Revision 4 of this benchmark created by Rick Waldron on


Preparation HTML

<script src="https://rawgit.com/jbedard/463bd93237fe177b2658/raw/d219cb5c4fc4f291bcaf1b23d752bfdfb750c6d7/gistfile1.js"></script>
<script>
window.jq14839 = jQuery.noConflict(true);
</script>

<script src="https://rawgit.com/jbedard/6b055c14169866696a3f/raw/5d0ec4744aab2bef6bc47aea47db7b00bffd5034/jquery-2.1+.js"></script>
 
<script>
    var testDOM = document.createElement("div");
    for (var i=0; i<10; i++) {
      testDOM.appendChild(document.createElement("span"));
    }
</script>

Setup

this.a = jQuery(testDOM.cloneNode(true)), 
    this.b = jq14839(testDOM.cloneNode(true))

Test runner

Ready to run.

Testing in
TestOps/sec
defineProperties
this.a.children().data("test", 123);
 
ready
assign
this.b.children().data("test", 123);
 
ready

Revisions

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

  • Revision 4: published by Rick Waldron on