Script Preparation code:
Tests:
  • ES6 Class

  • Function Prototype

  • Object Literal

  • ES6 Class with private properties

  • ES6 class with inheritance

  • ES6 class with inheritance and private fields declared

  • Function prototype with inheritance

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    ES6 Class
    Function Prototype
    Object Literal
    ES6 Class with private properties
    ES6 class with inheritance
    ES6 class with inheritance and private fields declared
    Function prototype with inheritance

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
ES6 Class 16353829.0 Ops/sec
Function Prototype 7643619.0 Ops/sec
Object Literal 1765667.8 Ops/sec
ES6 Class with private properties 16166979.0 Ops/sec
ES6 class with inheritance 15926383.0 Ops/sec
ES6 class with inheritance and private fields declared 9682011.0 Ops/sec
Function prototype with inheritance 3320733.5 Ops/sec


;