jQuery.fadeOut(0) vs jQuery.hide()

Benchmark created on


Preparation HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<div id="lol">huehue</div>

Setup

$("#lol").show();

Test runner

Ready to run.

Testing in
TestOps/sec
jQuery.fadeOut(0)
$("#lol").fadeOut(0);
ready
jQuery.hide()
$("#lol").hide();
ready

Revisions

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