Add _.sum benchmark.

This commit is contained in:
jdalton
2015-06-18 07:51:43 -07:00
parent 56cd679bcd
commit 535eec5366

View File

@@ -1881,6 +1881,18 @@
/*--------------------------------------------------------------------------*/
suites.push(
Benchmark.Suite('`_.sum`')
.add(buildName, '\
lodash.sum(numbers)'
)
.add(otherName, '\
_.sum(numbers)'
)
);
/*--------------------------------------------------------------------------*/
suites.push(
Benchmark.Suite('`_.template` (slow path)')
.add(buildName, {