Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
3 years ago
Test name Executions per second
delete o.p 2537540.8 Ops/sec
delete o["p"] 2482627.0 Ops/sec
o.p = undefined 1965695.1 Ops/sec
o["p"] = undefined; 1583233.5 Ops/sec
o.p = null 2236516.8 Ops/sec
o["p"] = null 2272753.2 Ops/sec
Script Preparation code:
Tests:
  • delete o.p

  • delete o["p"]

  • o.p = undefined

  • o["p"] = undefined;

  • o.p = null

  • o["p"] = null