Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Safari/605.1.15
Safari 11
Linux
Desktop
2 years ago
Test name Executions per second
Object.defineProperty 9110.6 Ops/sec
Object.assign (immutable) 1513.8 Ops/sec
Object.assign (mutable) 11717.9 Ops/sec
Script Preparation code:
Tests:
  • Object.defineProperty

  • Object.assign (immutable)

  • Object.assign (mutable)