Script Preparation code:
Tests:
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 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128 on Linux
View result in a separate tab
ES6 Class
12.5M/s
Function Prototype
11.9M/s
ES6 class with inheritance
10.5M/s
Function prototype with inheritance
10.4M/s
ES6 Class with private properties
1.2M/s
ES6 class with inheritance and private fields declared
1.1M/s
Object Literal
293K/s
View exact numbers
Test name Executions per second
ES6 Class 12,517,496 Ops/sec
Function Prototype 11,917,467 Ops/sec
ES6 class with inheritance 10,541,821 Ops/sec
Function prototype with inheritance 10,432,523 Ops/sec
ES6 Class with private properties 1,153,397 Ops/sec
ES6 class with inheritance and private fields declared 1,144,290 Ops/sec
Object Literal 292,880 Ops/sec