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 4426.3 Ops/sec
Object.assign (immutable) 617.2 Ops/sec
Object.assign (mutable) 4677.7 Ops/sec
Script Preparation code:
Tests:
  • Object.defineProperty

  • Object.assign (immutable)

  • Object.assign (mutable)