Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
adadad
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Browser:
Chrome 131
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
1
26371.6 Ops/sec
2
26825.2 Ops/sec
HTML Preparation code:
<!--your p<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js'></script>reparation HTML code goes here-->
Script Preparation code:
var arr1 = []; for(let i = 0; i < 100; i++) { arr1.push('' + i); } var arr2 = []; for(let i = 49; i >= 0; i--) { arr2.push('' + i); }
Tests:
1
const combo = [..._.difference(arr2, arr1), ..._.difference(arr1, arr2)]
2
const combo = _.difference(arr2, arr1).concat(_.difference(arr1, arr2))