is vs prop (v28)

Revision 28 of this benchmark created on


Preparation HTML

<div id="container">
  <input type="checkbox" checked />
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
1
$("#container input").prop ("checked");
ready
2
$("#container input").is (":checked");
ready

Revisions

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