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 4040.5 Ops/sec
from char code 288.2 Ops/sec
chunk 100 210.1 Ops/sec
chunk 1000 161.4 Ops/sec
chunk 10000 87.2 Ops/sec
chunk 10 165.3 Ops/sec
Script Preparation code:
Tests:
  • append string

  • from char code

  • chunk 100

  • chunk 1000

  • chunk 10000

  • chunk 10