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 718.5 Ops/sec
from char code 29.2 Ops/sec
chunk 100 8.5 Ops/sec
chunk 1000 8.7 Ops/sec
chunk 10000 9.8 Ops/sec
chunk 10 7.1 Ops/sec
Script Preparation code:
Tests:
  • append string

  • from char code

  • chunk 100

  • chunk 1000

  • chunk 10000

  • chunk 10