Tests:

Historical Performance Data aggregated from 18 community runs

Desktop Results:
Chrome 10 runs
Terinary
105.2M/s
boring
105.2M/s
spread
36.5M/s
Object.assign
30.5M/s

Fastest: Terinary (3.5x faster)

View exact numbers
  • Terinary: 105,219,280 ops/sec
  • boring: 105,200,048 ops/sec
  • spread: 36,548,416 ops/sec
  • Object.assign: 30,450,228 ops/sec
Firefox 8 runs
boring
103.8M/s
Terinary
101.8M/s
Object.assign
25.6M/s
spread
20.7M/s

Fastest: boring (5.0x faster)

View exact numbers
  • boring: 103,825,144 ops/sec
  • Terinary: 101,795,376 ops/sec
  • Object.assign: 25,643,344 ops/sec
  • spread: 20,746,062 ops/sec

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

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    boring
    spread
    Object.assign
    Terinary

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36
Chrome 152 on Windows
View result in a separate tab
Terinary
69.3M/s
boring
66.3M/s
spread
18.6M/s
Object.assign
12.5M/s
View exact numbers
Test name Executions per second
Terinary 69,345,056 Ops/sec
boring 66,305,428 Ops/sec
spread 18,589,244 Ops/sec
Object.assign 12,474,527 Ops/sec