Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0
Firefox 86
Ubuntu
Desktop
3 years ago
Test name Executions per second
canBeAddedToWeakSet_switch_simple 179.7 Ops/sec
canBeAddedToWeakSet_switch_htmlallcollection 162.8 Ops/sec
canBeAddedToWeakSet_from_es6_weakset 185.1 Ops/sec
canBeAddedToWeakSet_3eq_typeof_x2 160.5 Ops/sec
canBeAddedToWeakSet_2eq_typeof_x2 190.0 Ops/sec
canBeAddedToWeakSet_implicit_typeof_x2 169.7 Ops/sec
canBeAddedToWeakSet_boolean_typeof_x2 172.5 Ops/sec
canBeAddedToWeakSet_try_catch 1.5 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


;