Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135
Linux
Desktop
12 days ago
Test name Executions per second
collect 3130439.2 Ops/sec
collect2 1698214.1 Ops/sec
collect3 8115546.5 Ops/sec
collect4 8222940.0 Ops/sec
collect5 7925631.5 Ops/sec
collect6 8155773.0 Ops/sec
collect7 7964649.5 Ops/sec
Script Preparation code:
Tests:
  • collect

  • collect2

  • collect3

  • collect4

  • collect5

  • collect6

  • collect7