Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0
Chrome 130
Linux
Desktop
3 months ago
Test name Executions per second
Object.defineProperty 15687.9 Ops/sec
Object.assign (immutable) 572.5 Ops/sec
Object.assign (mutable) 14597.5 Ops/sec
Script Preparation code:
Tests:
  • Object.defineProperty

  • Object.assign (immutable)

  • Object.assign (mutable)