Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Chrome 81
Windows
Desktop
4 years ago
Test name Executions per second
closure get 7425715.0 Ops/sec
weakmap get 3354453.2 Ops/sec
closure incr 7211359.5 Ops/sec
weakmap incr 2074014.1 Ops/sec
symbol incr 7430512.5 Ops/sec
Script Preparation code:
Tests:
  • closure get

  • weakmap get

  • closure incr

  • weakmap incr

  • symbol incr


;