Tests:
  • ES6 Class

  • Function Prototype

  • Object Literal

  • Class extends

  • class extends twce

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    ES6 Class
    Function Prototype
    Object Literal
    Class extends
    class extends twce

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 16 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Windows
View result in a separate tab
Test name Executions per second
ES6 Class 275767.2 Ops/sec
Function Prototype 216945.4 Ops/sec
Object Literal 794893.5 Ops/sec
Class extends 145156.5 Ops/sec
class extends twce 111965.1 Ops/sec