Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Linux
Desktop
one year ago
Test name Executions per second
String concatentation 7485.8 Ops/sec
Array join 523.5 Ops/sec
Array join (w/ push) 59.8 Ops/sec
Array reduce 10.9 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