Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
lodash pick vs omit v2
(version: 0)
Comparing performance of:
omit vs pick
Created:
2 years ago
by:
Guest
Go to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/lodash@3.10.0/index.min.js"></script>
Script Preparation code:
var a = { foo: "foo", bar: "loo" };
Tests:
omit
_.omit(a, "bar")
pick
_.pick(a, "foo")
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
omit
pick
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Browser/OS:
Chrome 135 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
pick
31.1M/s
omit
8.9M/s
View exact numbers
Test name
Executions per second
✓
pick
31,112,894 Ops/sec
omit
8,870,883 Ops/sec
Related benchmarks
Lodash some vs Native some
Lodash isEmpty vs Native Javascript
lodash noop vs new function
Comments
Confirm delete:
Do you really want to delete benchmark?