Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
spread big 136963.8 Ops/sec
concat big 1409220.2 Ops/sec
spread small 11836159.0 Ops/sec
concat small 8426919.0 Ops/sec
spread big smal 1314117.5 Ops/sec
spread small big 149564.7 Ops/sec
concat big small 2799274.0 Ops/sec
concat small big 1885578.1 Ops/sec
shallow copy spread 3805911.0 Ops/sec
shallow copy concat 3703314.8 Ops/sec
Script Preparation code:
Tests:
  • spread big

  • concat big

  • spread small

  • concat small

  • spread big smal

  • spread small big

  • concat big small

  • concat small big

  • shallow copy spread

  • shallow copy concat