Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
Firefox 120
Windows
Desktop
one year ago
Test name Executions per second
WeakMap get 35020544.0 Ops/sec
Symbol with WeakMap fallback get 314160640.0 Ops/sec
WeakMap set 19382890.0 Ops/sec
Symbol with WeakMap fallback set 259768816.0 Ops/sec
Script Preparation code:
Tests:
  • WeakMap get

  • Symbol with WeakMap fallback get

  • WeakMap set

  • Symbol with WeakMap fallback set


;