Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Chrome 98
Windows
Desktop
2 years ago
Test name Executions per second
canBeAddedToWeakSet_switch_simple 333.9 Ops/sec
canBeAddedToWeakSet_switch_htmlallcollection 153.3 Ops/sec
canBeAddedToWeakSet_from_es6_weakset 332.5 Ops/sec
canBeAddedToWeakSet_3eq_typeof_x2 347.3 Ops/sec
canBeAddedToWeakSet_2eq_typeof_x2 431.8 Ops/sec
canBeAddedToWeakSet_implicit_typeof_x2 414.3 Ops/sec
canBeAddedToWeakSet_boolean_typeof_x2 383.3 Ops/sec
canBeAddedToWeakSet_try_catch 2.1 Ops/sec
Script Preparation code:
Tests:
  • canBeAddedToWeakSet_switch_simple

  • canBeAddedToWeakSet_switch_htmlallcollection

  • canBeAddedToWeakSet_from_es6_weakset

  • canBeAddedToWeakSet_3eq_typeof_x2

  • canBeAddedToWeakSet_2eq_typeof_x2

  • canBeAddedToWeakSet_implicit_typeof_x2

  • canBeAddedToWeakSet_boolean_typeof_x2

  • canBeAddedToWeakSet_try_catch


;