Script Preparation code:
Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
pre-increment
47.8M/s
addition assignment operator
47.8M/s
post-increment
47.4M/s
View exact numbers
  • pre-increment: 47,797,536 ops/sec
  • addition assignment operator: 47,790,836 ops/sec
  • post-increment: 47,391,728 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
    pre-increment
    post-increment
    addition assignment operator

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 19 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:152.0) Gecko/20100101 Firefox/152.0
Firefox 152 on Windows
View result in a separate tab
pre-increment
331.8M/s
post-increment
243.9M/s
addition assignment operator
223.6M/s
View exact numbers
Test name Executions per second
pre-increment 331,795,936 Ops/sec
post-increment 243,923,520 Ops/sec
addition assignment operator 223,569,152 Ops/sec