Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Linux
Desktop
one year ago
Test name Executions per second
Object.defineProperty 32426.7 Ops/sec
Object.assign (immutable) 4536.4 Ops/sec
Object.assign (mutable) 21502.3 Ops/sec
Script Preparation code:
Tests:
  • Object.defineProperty

  • Object.assign (immutable)

  • Object.assign (mutable)