Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
native-slice-vs-chunk
(version: 0)
Comparing performance of:
Native slice vs lodash chunk
Created:
5 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js'></script>
Script Preparation code:
var test = Array.from({ length: 100000 }, () => Math.random())
Tests:
Native slice
test.slice(0,5000)
lodash chunk
_.chunk(test,5000)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Native slice
lodash chunk
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
5 months ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0
Browser/OS:
Firefox 145 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Native slice
139272.9 Ops/sec
lodash chunk
4230.0 Ops/sec
Related benchmarks:
native slice vs lodash slice
native slice vs lodash slice 1M
native slice vs lodash chunk
native-splice-vs-chunk
Comments
Confirm delete:
Do you really want to delete benchmark?