Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Chrome 60
Mac OS X 10.12.6
Other
7 years ago
Test name Executions per second
canBeAddedToWeakSet_switch_simple 222.6 Ops/sec
canBeAddedToWeakSet_switch_htmlallcollection 113.5 Ops/sec
canBeAddedToWeakSet_from_es6_weakset 230.2 Ops/sec
canBeAddedToWeakSet_3eq_typeof_x2 228.4 Ops/sec
canBeAddedToWeakSet_2eq_typeof_x2 225.7 Ops/sec
canBeAddedToWeakSet_implicit_typeof_x2 208.9 Ops/sec
canBeAddedToWeakSet_boolean_typeof_x2 211.4 Ops/sec
canBeAddedToWeakSet_try_catch 2.7 Ops/sec
canBeAddedToWeakSet_short_circuit_typeof 268.2 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

  • canBeAddedToWeakSet_short_circuit_typeof


;