Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
test1: if 1364704.9 Ops/sec
test2: callback 1230166.2 Ops/sec
test3: currying 1204689.1 Ops/sec
test3_1: currying reverse 1519401.4 Ops/sec
test4: currying in try...catch 1266328.6 Ops/sec
Script Preparation code:
Tests:
  • test1: if

  • test2: callback

  • test3: currying

  • test3_1: currying reverse

  • test4: currying in try...catch