jquery performance test (v7)

Revision 7 of this benchmark created by Sasikumar on


Preparation HTML

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

Test runner

Ready to run.

Testing in
TestOps/sec
with jquery
$('#div').html('').css('display', 'none');
ready
with pure js
if (document.getElementById("div") && document.getElementById("div").innerHTML != "") {
  document.getElementById("div").innerHTML = "";
}
ready

Revisions

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