Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124
Mac OS X 10.15.7
Desktop
6 months ago
Test name Executions per second
individualParams: Multiple parameters 4607089.5 Ops/sec
individualParams: Existing parameter object 5820198.5 Ops/sec
individualParams: Parameter object with spreading 6207564.0 Ops/sec
individualParams: New parameter object from values 8067005.0 Ops/sec
individualParams: New parameter object from object 3644321.2 Ops/sec
objectInAndUsed: Multiple parameters 4628407.0 Ops/sec
objectInAndUsed: Existing parameter object 8069675.0 Ops/sec
objectInAndUsed: Parameter object with spreading 9138215.0 Ops/sec
objectInAndUsed: New parameter object from values 13815211.0 Ops/sec
objectInAndUsed: New parameter object from object 4631461.5 Ops/sec
objectInAndDestructured: Multiple parameters 4624453.5 Ops/sec
objectInAndDestructured: Existing parameter object 8121443.5 Ops/sec
objectInAndDestructured: Parameter object with spreading 9133798.0 Ops/sec
objectInAndDestructured: New parameter object from values 13813067.0 Ops/sec
objectInAndDestructured: New parameter object from object 4638169.0 Ops/sec
Script Preparation code:
Tests:
  • individualParams: Multiple parameters

  • individualParams: Existing parameter object

  • individualParams: Parameter object with spreading

  • individualParams: New parameter object from values

  • individualParams: New parameter object from object

  • objectInAndUsed: Multiple parameters

  • objectInAndUsed: Existing parameter object

  • objectInAndUsed: Parameter object with spreading

  • objectInAndUsed: New parameter object from values

  • objectInAndUsed: New parameter object from object

  • objectInAndDestructured: Multiple parameters

  • objectInAndDestructured: Existing parameter object

  • objectInAndDestructured: Parameter object with spreading

  • objectInAndDestructured: New parameter object from values

  • objectInAndDestructured: New parameter object from object


;