Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Firefox 91
Windows
Desktop
2 years ago
Test name Executions per second
append string 9390790.0 Ops/sec
from char code 595902.1 Ops/sec
chunk 100 291436.2 Ops/sec
chunk 1000 227820.4 Ops/sec
chunk 10000 40602.1 Ops/sec
chunk 10 271268.9 Ops/sec
Script Preparation code:
Tests:
  • append string

  • from char code

  • chunk 100

  • chunk 1000

  • chunk 10000

  • chunk 10