Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
uderscorejs (1.13.6) vs jQuery (3.7.1) -- each
(version: 0)
Comparing performance of:
underscore.each vs jQuery each
Created:
2 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script src="//underscorejs.org/underscore-esm.js"></script>
Script Preparation code:
// Populate the base array var arr = []; for (var i = 0; i < 1000; i++) { arr[i] = i; } function fn(a) { return a * 2 * 5; }
Tests:
underscore.each
_.forEach(arr,fn)
jQuery each
$.each(arr,fn);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
underscore.each
jQuery each
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
2 years ago
)
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Browser/OS:
Chrome 113 on Linux
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
underscore.each
98087.9 Ops/sec
jQuery each
57546.5 Ops/sec
Related benchmarks:
lodash.each vs jquery each
lodash.each vs Object.forEach vs jQuery each
uderscore.each vs jQuery each
uderscore each vs jQuery each
Comments
Confirm delete:
Do you really want to delete benchmark?