Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36 Edg/86.0.622.38
Chrome 86
Windows
Desktop
4 years ago
Test name Executions per second
closure get 14314866.0 Ops/sec
weakmap get 6220650.5 Ops/sec
closure incr 13774678.0 Ops/sec
weakmap incr 4054122.5 Ops/sec
symbol incr 14206686.0 Ops/sec
Script Preparation code:
Tests:
  • closure get

  • weakmap get

  • closure incr

  • weakmap incr

  • symbol incr


;