Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36
Chrome 91
Windows
Desktop
3 years ago
Test name Executions per second
closure get 11945993.0 Ops/sec
weakmap get 4733221.0 Ops/sec
closure incr 7153784.0 Ops/sec
weakmap incr 2025373.8 Ops/sec
symbol incr 8275275.0 Ops/sec
Script Preparation code:
Tests:
  • closure get

  • weakmap get

  • closure incr

  • weakmap incr

  • symbol incr


;