Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
Chrome 88
Mac OS X 11.2.0
Desktop
3 years ago
Test name Executions per second
eval 2594463.2 Ops/sec
new Function 15691530.0 Ops/sec
regular function 15406678.0 Ops/sec
Script Preparation code:
Tests:
  • eval

  • new Function

  • regular function