Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
lodash pick vs omit
(version: 0)
Comparing performance of:
omit vs pick
Created:
6 years ago
by:
Guest
Jump 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: undefined };
Tests:
omit
_.omit(a, _.isEmpty)
pick
_.pick(a, _.identity)
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:
5 months ago
)
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Browser/OS:
Chrome 142 on Linux
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
omit
10686573.0 Ops/sec
pick
9798243.0 Ops/sec
Related benchmarks:
Native Undefined vs Lodash isUndefined
lodash isUndefined vs typeof === undefined (take 2)
Lodash isEmpty vs Native Javascript
lodash noop vs new function vs optional chaining
Comments
Confirm delete:
Do you really want to delete benchmark?