Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
Chrome 88
Mac OS X 11.1.0
Desktop
3 years ago
Test name Executions per second
Object.values / Object.assign 712785.5 Ops/sec
filter 5618109.0 Ops/sec
filter / findIndex 10111002.0 Ops/sec
for / includes 8332516.5 Ops/sec
underscore 1947506.8 Ops/sec
reduce / some 10400034.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Object.values / Object.assign

  • filter

  • filter / findIndex

  • for / includes

  • underscore

  • reduce / some


;