mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Add _.omit as an alias of _.drop.
Former-commit-id: 630b0897bb49161fbc3b51a38c816b4bce548fba
This commit is contained in:
12
perf/perf.js
12
perf/perf.js
@@ -1065,6 +1065,18 @@
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
suites.push(
|
||||
Benchmark.Suite('`_.omit`')
|
||||
.add('Lo-Dash', '\
|
||||
lodash.omit(object, "key6", "key13")'
|
||||
)
|
||||
.add('Underscore', '\
|
||||
_.omit(object, "key6", "key13")'
|
||||
)
|
||||
);
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
suites.push(
|
||||
Benchmark.Suite('`_.pick`')
|
||||
.add('Lo-Dash', '\
|
||||
|
||||
Reference in New Issue
Block a user