Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Mobile/15E148 Safari/604.1
Mobile Safari 13
iOS 13.3.1
Mobile
4 years ago
Test name Executions per second
Get generated property with eval 1482.6 Ops/sec
Get property 1521.0 Ops/sec
Get dynamic property 1356.2 Ops/sec
Get field 1526.8 Ops/sec
Nothing 4444.1 Ops/sec
Get generated property with Function ctor 1054.6 Ops/sec
Script Preparation code:
Tests:
  • Get generated property with eval

  • Get property

  • Get dynamic property

  • Get field

  • Nothing

  • Get generated property with Function ctor


;