Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36
Chrome 101
Windows
Desktop
2 years ago
Test name Executions per second
append string 1315900.1 Ops/sec
from char code 313031.2 Ops/sec
chunk 100 104239.8 Ops/sec
chunk 1000 78285.1 Ops/sec
chunk 10000 54275.6 Ops/sec
chunk 10 93379.8 Ops/sec
Script Preparation code:
Tests:
  • append string

  • from char code

  • chunk 100

  • chunk 1000

  • chunk 10000

  • chunk 10