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 6223133.5 Ops/sec
proxy target[key] 8680945.0 Ops/sec
proxy reflect.get 3390830.0 Ops/sec
get function wrapped in proxy 3668758.2 Ops/sec
proxy wrapped in proxy 4294172.5 Ops/sec
proxy reflect.get wrapped in proxy 2418093.8 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.get wrapped in proxy


;