Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Array.prototype.slice vs Lodash slice
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36
Browser:
Chrome 151
Operating system:
Windows
Device Platform:
Desktop
Date tested:
14 hours ago
Lodash slice
1396.2M/s
Array.prototype.slice
86.5M/s
View exact numbers
Test name
Executions per second
✓
Lodash slice
1,396,219,392 Ops/sec
Array.prototype.slice
86,505,624 Ops/sec
HTML Preparation code:
<script src="lodash.js"></script>
Script Preparation code:
var array = [...Array(100).keys()];
Tests:
Lodash slice
_.slice(55,77)
Array.prototype.slice
array.slice(55,77)