Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Firefox 104
Windows
Desktop
2 years ago
Test name Executions per second
individualParams: Multiple parameters 1104474624.0 Ops/sec
individualParams: Existing parameter object 2391276.0 Ops/sec
individualParams: Parameter object with spreading 1701074.2 Ops/sec
individualParams: New parameter object from values 2396119.5 Ops/sec
individualParams: New parameter object from object 2153088.8 Ops/sec
objectInAndUsed: Multiple parameters 1263353472.0 Ops/sec
objectInAndUsed: Existing parameter object 326647264.0 Ops/sec
objectInAndUsed: Parameter object with spreading 5162284.5 Ops/sec
objectInAndUsed: New parameter object from values 960232320.0 Ops/sec
objectInAndUsed: New parameter object from object 1270133248.0 Ops/sec
objectInAndDestructured: Multiple parameters 57562136.0 Ops/sec
objectInAndDestructured: Existing parameter object 53671088.0 Ops/sec
objectInAndDestructured: Parameter object with spreading 5171663.0 Ops/sec
objectInAndDestructured: New parameter object from values 28208784.0 Ops/sec
objectInAndDestructured: New parameter object from object 27111168.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


;