me (v3)

Revision 3 of this benchmark created on


Preparation HTML



<div id="parent">
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
    <div class="item">something</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

Setup

items = document.getElementsByClassName('item');
items = Array.from(items);

Test runner

Ready to run.

Testing in
TestOps/sec
test1
$('.item').on('unused_event', function() {});
ready
test2
$('#parent').on('unused_event', '.item', function() {});
ready

Revisions

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