Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4878.0 Safari/537.36
Chrome 100
Linux
Desktop
2 years ago
Test name Executions per second
String concatentation 3233.8 Ops/sec
Array join 7673.8 Ops/sec
Array join (w/ push) 86.0 Ops/sec
Array reduce 11.0 Ops/sec
Array reduce trim 9.3 Ops/sec
Script Preparation code:
Tests:
  • String concatentation

  • Array join

  • Array join (w/ push)

  • Array reduce

  • Array reduce trim


;