Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Ubuntu
Desktop
9 months ago
Test name Executions per second
ES6 Class 15556764.0 Ops/sec
Function Prototype 14887022.0 Ops/sec
Object Literal 400566.8 Ops/sec
Script Preparation code:
Tests:
  • ES6 Class

  • Function Prototype

  • Object Literal