Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Ubuntu
Desktop
one year ago
Test name Executions per second
String concatentation 8454.3 Ops/sec
Array join 3065.3 Ops/sec
Array join (w/ push) 52.8 Ops/sec
Array reduce 8.4 Ops/sec
Array reduce trim 6.5 Ops/sec
Script Preparation code:
Tests:
  • String concatentation

  • Array join

  • Array join (w/ push)

  • Array reduce

  • Array reduce trim