Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Mac OS X 10.15.7
Desktop
20 hours ago
Test name Executions per second
Function invocation 15061514.0 Ops/sec
Proxy with apply 11243432.0 Ops/sec
Proxy with Reflect 11376991.0 Ops/sec
Object method 14901847.0 Ops/sec
Object With Patched emthod 10851744.0 Ops/sec
Object with proxy proxy 8986416.0 Ops/sec
Script Preparation code:
Tests:
  • Function invocation

  • Proxy with apply

  • Proxy with Reflect

  • Object method

  • Object With Patched emthod

  • Object with proxy proxy


;