Script Preparation code:
Tests:
  • class

  • function constructor

  • object literal

  • object literal & sum.call

  • __proto__

  • Object.create

  • Object.setPrototypeOf

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    class
    function constructor
    object literal
    object literal & sum.call
    __proto__
    Object.create
    Object.setPrototypeOf

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 17 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130 on Windows
View result in a separate tab
Test name Executions per second
class 1142340.9 Ops/sec
function constructor 1106223.8 Ops/sec
object literal 969796.2 Ops/sec
object literal & sum.call 1029964.4 Ops/sec
__proto__ 23787.5 Ops/sec
Object.create 8007.3 Ops/sec
Object.setPrototypeOf 5304.3 Ops/sec


;