moremoreappend

JavaScript performance comparison

Test case created by string test

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
 

Preparation code output

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
firsttest
var deBar = $("<div id='directEditDetails'></div>");
var deBottomBar = $("<div id='deBottom'></div>");
deBar.append("<a id='disableDE' class='btn btn-warning' title='Toggle Direct Edit'><i class='icon2-disable'></i></a>");
deBar.append("<div id='de-top'><a href='' class='homeLink'><span class='logo'><strong>more</strong>TEXT Site </span></a><div class='btn-toolbar' style='margin-top: 35px'></div></div>");


$('#de-top').append("<div id='userDetails'><span class='DEuser'></a></div>");
 
pending…
secondtest
var deBar = $("<div id='directEditDetails'></div>");
        var deBottomBar = $("<div id='deBottom'></div>");
        deBar.append("<a id='disableDE' class='btn btn-warning' title='Toggle Direct Edit'><i class='icon2-disable'></i></a>");
        var deTop = $("<div id='de-top'><a href='' class='homeLink'><span class='logo'><strong>more</strong>TEXT Site </span></a><div class='btn-toolbar' style='margin-top: 35px'></div></div>");
deBar.append(deTop);

        $(deTop).append("<div id='userDetails'><span class='DEuser'></a></div>");
pending…

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

Compare results of other browsers

0 comments

Add a comment