Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
spread 73.4 Ops/sec
assign 72.1 Ops/sec
assign null 74.5 Ops/sec
Object setPrototypeOf 3124338.2 Ops/sec
Object setPrototypeOf null 1784975.0 Ops/sec
Reflect setPrototypeOf 2657243.8 Ops/sec
Reflect setPrototypeOf null 1762902.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • spread

  • assign

  • assign null

  • Object setPrototypeOf

  • Object setPrototypeOf null

  • Reflect setPrototypeOf

  • Reflect setPrototypeOf null


;