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
4 months ago
Test name Executions per second
Constructor parameters 685.1 Ops/sec
Constructor object 364.7 Ops/sec
Factory function with object 300.4 Ops/sec
Factory function with definition and parameters 316.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Constructor parameters

  • Constructor object

  • Factory function with object

  • Factory function with definition and parameters