Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
Chrome 79
Linux
Desktop
4 years ago
Test name Executions per second
Get generated property with eval 2287.0 Ops/sec
Get property 2313.9 Ops/sec
Get dynamic property 2075.7 Ops/sec
Get field 2357.3 Ops/sec
Nothing 8260.3 Ops/sec
Get generated property with Function ctor 1170.1 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


;