Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Mac OS X 10.15.7
Desktop
one month ago
Test name Executions per second
Get Function 2827007.5 Ops/sec
proxy target[key] 8516738.0 Ops/sec
proxy Reflect.get 3260483.5 Ops/sec
get function wrapped in proxy 12656738.0 Ops/sec
proxy wrapped in proxy 4294401.5 Ops/sec
proxy Reflect wrapped in proxy 12784567.0 Ops/sec
Script Preparation code:
Tests:
  • Get Function

  • proxy target[key]

  • proxy Reflect.get

  • get function wrapped in proxy

  • proxy wrapped in proxy

  • proxy Reflect wrapped in proxy


;