mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Move lodash instance check up in lodash function and tweak chaining benchmark.
Former-commit-id: 799ae05e5180ee87bb2a5249be3e442ed0425ef7
This commit is contained in:
@@ -482,13 +482,13 @@
|
||||
);
|
||||
|
||||
suites.push(
|
||||
Benchmark.Suite('`_(...).map(...)`')
|
||||
Benchmark.Suite('`_(...).tap(...)`')
|
||||
.add(buildName, {
|
||||
'fn': 'lodashChaining.map(lodash.identity)',
|
||||
'fn': 'lodashChaining.tap(lodash.identity)',
|
||||
'teardown': 'function chaining(){}'
|
||||
})
|
||||
.add(otherName, {
|
||||
'fn': '_chaining.map(_.identity)',
|
||||
'fn': '_chaining.tap(_.identity)',
|
||||
'teardown': 'function chaining(){}'
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user