mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Add slow path note to _.times with thisArg benchmark. [ci skip]
This commit is contained in:
@@ -1856,7 +1856,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
suites.push(
|
suites.push(
|
||||||
Benchmark.Suite('`_.times` with `thisArg`')
|
Benchmark.Suite('`_.times` with `thisArg` (slow path)')
|
||||||
.add(buildName, '\
|
.add(buildName, '\
|
||||||
var result = [];\
|
var result = [];\
|
||||||
lodash.times(limit, function(n) { result.push(this.sin(n)); }, Math)'
|
lodash.times(limit, function(n) { result.push(this.sin(n)); }, Math)'
|
||||||
|
|||||||
Reference in New Issue
Block a user