Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 YaBrowser/22.11.0.2408 Yowser/2.5 Safari/537.36
Yandex Browser 22
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
WeakMap get 6970935.0 Ops/sec
Symbol with WeakMap fallback get 7225331.0 Ops/sec
WeakMap set 6858983.0 Ops/sec
Symbol with WeakMap fallback set 7058484.5 Ops/sec
has 6955865.5 Ops/sec
Script Preparation code:
Tests:
  • WeakMap get

  • Symbol with WeakMap fallback get

  • WeakMap set

  • Symbol with WeakMap fallback set

  • has


;