Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Lodash omit Vs. es6 rest spread
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15
Browser:
Safari 26
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
8 months ago
Benchmark engine:
Benchmark.js
ES6 spread
2K/s
Lodash Omit
899/s
View exact numbers
Test name
Executions per second
✓
ES6 spread
1,825 Ops/sec
Lodash Omit
899 Ops/sec
HTML Preparation code:
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js'></script>
Script Preparation code:
var n = 10000; var o = {}; while (n) { o["entry"+ n] = true; n--; }
Tests:
Lodash Omit
_.omit(o, "entry1", "entry2", "entry3", "entry4", "entry5", "entry6", "entry7", "entry8", "entry9", "entry10");
ES6 spread
const {entry1, entry2, entry3, entry4, entry5, entry6, entry7, entry8, entry9, entry10, ...props} = o;