Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Sort lodash vs native
(version: 0)
Comparing performance of:
lodash vs native
Created:
4 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="lodash.js"></script>
Script Preparation code:
var array = Array.from({length: 10000}, () => Math.floor(Math.random() * 10000));
Tests:
lodash
_.sortBy(array)
native
array.sort()
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
lodash
native
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
7 months ago
)
User agent:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Mobile Safari/537.36
Browser/OS:
Chrome Mobile 140 on Android
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
lodash
324.3 Ops/sec
native
7376.6 Ops/sec
Related benchmarks:
Lodash sortBy vs array.prototype.sort small array
Lodash sortBy vs array.prototype.sort with small array
Lodash sort vs array.prototype.sort with localeCompare
Lodash sort vs array.prototype.sort with strings
Comments
Confirm delete:
Do you really want to delete benchmark?