Benchmarks

Benchmark 1: single clone

Initial
1
2
3
4
5
6
var obj = [
{c: 1, b: 3},
{y: 4, c: 4},
{z: 9, o: 10}
];
var compiled = _r.cloneer();
Pure underscore
1
_.clone(obj);
Objective underscore
1
_(obj).clone();
Chain underscore
1
_.chain(obj).clone().value();
Compiled underscorer
1
compiled(obj);
Initialized underscorer
1
_r(obj).cloneer()();