Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
test-lodash-and-native-methods
Test
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Mobile Safari/537.36
Browser:
Chrome Mobile 117
Operating system:
Android
Device Platform:
Mobile
Date tested:
2 years ago
Test name
Executions per second
Lodash
90.5 Ops/sec
Native
74.8 Ops/sec
HTML Preparation code:
<script src='https://cdn.jsdelivr.net/npm/lodash@4.17.10/lodash.min.js'></script>
Script Preparation code:
var value = _.times(1000000).map(x => ({ a: x }));
Tests:
Lodash
_.each(value, function(v,i) { v.a += i })
Native
value.forEach(function(v,i) { v.a += i })