Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4346.0 Safari/537.36 Edg/89.0.731.0
Chrome 89
Windows
Desktop
3 years ago
Test name Executions per second
closure get 16839828.0 Ops/sec
weakmap get 7384488.5 Ops/sec
closure incr 16053059.0 Ops/sec
weakmap incr 4609284.0 Ops/sec
symbol incr 16489647.0 Ops/sec
Script Preparation code:
Tests:
  • closure get

  • weakmap get

  • closure incr

  • weakmap incr

  • symbol incr


;