Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
closure get 14144836.0 Ops/sec
weakmap get 6339715.0 Ops/sec
closure incr 13852426.0 Ops/sec
weakmap incr 3967695.2 Ops/sec
symbol incr 14174389.0 Ops/sec
Script Preparation code:
Tests:
  • closure get

  • weakmap get

  • closure incr

  • weakmap incr

  • symbol incr


;