Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Windows
Desktop
9 months ago
Test name Executions per second
pre-increment 221899904.0 Ops/sec
post-increment 144050352.0 Ops/sec
addition assignment operator 142153456.0 Ops/sec
operation plus (pre number) 146029488.0 Ops/sec
operation plus (post number) 148157488.0 Ops/sec
Script Preparation code:
Tests:
  • pre-increment

  • post-increment

  • addition assignment operator

  • operation plus (pre number)

  • operation plus (post number)