Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
With Iteration and Assignment
4.2M/s
With Iteration and .keys().forEach
3.5M/s
With Object.assign()
2.3M/s

Fastest: With Iteration and Assignment (1.8x faster)

View exact numbers
  • With Iteration and Assignment: 4,197,512 ops/sec
  • With Iteration and .keys().forEach: 3,510,346 ops/sec
  • With Object.assign(): 2,275,095 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Browser OS Engine User Agent When Created
Chrome 135 Windows Benchmark.js Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0 one year ago
Chrome 126 Windows Benchmark.js Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0 2 years ago
Chrome 124 Mac OS X 10.15.7 Benchmark.js Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 2 years ago
Chrome 124 Windows Benchmark.js Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 2 years ago
Safari 17 Mac OS X 10.15.7 Benchmark.js Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15 2 years ago
Safari 17 Mac OS X 10.15.7 Benchmark.js Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15 2 years ago
Chrome 122 Mac OS X 10.15.7 Benchmark.js Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 2 years ago