Sprint.js - map() (v2)

Revision 2 of this benchmark created on


Preparation HTML

<p class=foo></p>

<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://sprintjs.com/prod"></script>
<script src="https://zeptojs.com/zepto.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
Sprint 0.9.2
Sprint(".foo").map(function() { return this })
ready
jQuery 2.1.3
jQuery(".foo").map(function() { return this })
ready
Zepto 1.1.6
Zepto(".foo").map(function() { return this })
ready
raw
document.getElementsByClassName('foo').map(function() { return this })
ready

Revisions

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