Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Chrome 53
Windows 7
Other
8 years ago
Test name Executions per second
lodash filter small healthy creep 22131.0 Ops/sec
lodash filter small hurt creep 26528.6 Ops/sec
lodash filter large healthy creep 11603.5 Ops/sec
lodash filter large hurt creep 12873.0 Ops/sec
lodash sum small healthy creep 11407.5 Ops/sec
lodash sum small hurt creep 11407.5 Ops/sec
lodash sum large healthy creep 1549.4 Ops/sec
lodash sum large hurt creep 1594.6 Ops/sec
custom small healthy creep 51831.1 Ops/sec
custom small hurt creep 57490.3 Ops/sec
custom large healthy creep 23480.0 Ops/sec
custom large hurt creep 46507.1 Ops/sec
Script Preparation code:
Tests:
  • lodash filter small healthy creep

  • lodash filter small hurt creep

  • lodash filter large healthy creep

  • lodash filter large hurt creep

  • lodash sum small healthy creep

  • lodash sum small hurt creep

  • lodash sum large healthy creep

  • lodash sum large hurt creep

  • custom small healthy creep

  • custom small hurt creep

  • custom large healthy creep

  • custom large hurt creep