Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
canBeAddedToWeakSet_switch_simple 300.3 Ops/sec
canBeAddedToWeakSet_switch_htmlallcollection 266.4 Ops/sec
canBeAddedToWeakSet_from_es6_weakset 403.3 Ops/sec
canBeAddedToWeakSet_3eq_typeof_x2 355.7 Ops/sec
canBeAddedToWeakSet_2eq_typeof_x2 342.3 Ops/sec
canBeAddedToWeakSet_implicit_typeof_x2 295.3 Ops/sec
canBeAddedToWeakSet_boolean_typeof_x2 269.3 Ops/sec
canBeAddedToWeakSet_try_catch 2.7 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


;