Run details:
Mozilla/5.0 (Linux; Android 10; SM-G970F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile Safari/537.36
Chrome Mobile 79
Android
Mobile
4 years ago
Test name Executions per second
Get generated property with eval 1062.4 Ops/sec
Get property 1120.2 Ops/sec
Get dynamic property 1026.2 Ops/sec
Get field 1073.4 Ops/sec
Nothing 3534.5 Ops/sec
Get generated property with Function ctor 554.2 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


;