Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Firefox 55
Ubuntu
Other
7 years ago
Test name Executions per second
canBeAddedToWeakSet_switch_simple 514.9 Ops/sec
canBeAddedToWeakSet_switch_htmlallcollection 409.7 Ops/sec
canBeAddedToWeakSet_from_es6_weakset 491.0 Ops/sec
canBeAddedToWeakSet_3eq_typeof_x2 510.4 Ops/sec
canBeAddedToWeakSet_2eq_typeof_x2 423.0 Ops/sec
canBeAddedToWeakSet_implicit_typeof_x2 341.6 Ops/sec
canBeAddedToWeakSet_boolean_typeof_x2 326.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


;