Optimize getRawExecutionSteps by preallocating
Optimize getRawExecutionSteps by preallocating

name                                                                                                              old time/op    new time/op    delta
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:/normal-8                                                        560µs ± 3%     302µs ± 3%  -46.11%  (p=0.000 n=19+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:/rollercoaster-8                                                5.97ms ± 2%    2.80ms ± 3%  -53.04%  (p=0.000 n=18+19)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:0:1/normal-8                                                     561µs ± 2%     303µs ± 3%  -45.93%  (p=0.000 n=19+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:0:1/rollercoaster-8                                             5.94ms ± 3%    2.81ms ± 3%  -52.63%  (p=0.000 n=20+19)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.3,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.3/normal-8                        161µs ± 2%      86µs ± 4%  -46.52%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.3,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.3/rollercoaster-8                2.07ms ± 1%    1.08ms ± 3%  -47.87%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.1/normal-8           43.5µs ± 2%    30.0µs ± 3%  -31.11%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.1/rollercoaster-8     654µs ± 2%     331µs ± 2%  -49.46%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2/5:4/5/normal-8                                                 215µs ± 2%     114µs ± 4%  -46.86%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2/5:4/5/rollercoaster-8                                         2.64ms ± 2%    1.33ms ± 3%  -49.72%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2235/5213:4/5/normal-8                                           202µs ± 2%     111µs ± 3%  -45.27%  (p=0.000 n=20+19)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2235/5213:4/5/rollercoaster-8                                   2.43ms ± 2%    1.21ms ± 3%  -50.08%  (p=0.000 n=20+20)

name                                                                                                              old alloc/op   new alloc/op   delta
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:/normal-8                                                       1.07MB ± 0%    0.25MB ± 0%  -77.10%  (p=0.000 n=17+19)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:/rollercoaster-8                                                14.6MB ± 0%     2.6MB ± 0%  -81.87%  (p=0.000 n=19+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:0:1/normal-8                                                    1.07MB ± 0%    0.25MB ± 0%  -77.09%  (p=0.000 n=15+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:0:1/rollercoaster-8                                             14.6MB ± 0%     2.6MB ± 0%  -81.87%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.3,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.3/normal-8                        254kB ± 0%      74kB ± 0%  -70.93%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.3,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.3/rollercoaster-8                4.62MB ± 0%    0.79MB ± 0%  -82.80%  (p=0.000 n=18+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.1/normal-8           49.3kB ± 0%    24.7kB ± 0%  -49.86%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.1/rollercoaster-8    1.38MB ± 0%    0.27MB ± 0%  -80.47%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2/5:4/5/normal-8                                                 352kB ± 0%      98kB ± 0%  -72.06%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2/5:4/5/rollercoaster-8                                         5.83MB ± 0%    1.06MB ± 0%  -81.88%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2235/5213:4/5/normal-8                                           352kB ± 0%      90kB ± 0%  -74.39%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2235/5213:4/5/rollercoaster-8                                   5.83MB ± 0%    0.98MB ± 0%  -83.14%  (p=0.000 n=19+20)

name                                                                                                              old allocs/op  new allocs/op  delta
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:/normal-8                                                         20.0 ± 0%       1.0 ± 0%  -95.00%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:/rollercoaster-8                                                  31.0 ± 0%       1.0 ± 0%  -96.77%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:0:1/normal-8                                                      22.0 ± 0%       3.0 ± 0%  -86.36%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:0:1/rollercoaster-8                                               33.0 ± 0%       3.0 ± 0%  -90.91%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.3,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.3/normal-8                         19.0 ± 0%       5.0 ± 0%  -73.68%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.3,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.3/rollercoaster-8                  30.0 ± 0%       5.0 ± 0%  -83.33%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.1/normal-8             16.0 ± 0%       6.0 ± 0%  -62.50%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1;segment:0:0.1/rollercoaster-8      26.0 ± 0%       6.0 ± 0%  -76.92%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2/5:4/5/normal-8                                                  19.0 ± 0%       4.0 ± 0%  -78.95%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2/5:4/5/rollercoaster-8                                           30.0 ± 0%       4.0 ± 0%  -86.67%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2235/5213:4/5/normal-8                                            19.0 ± 0%       4.0 ± 0%  -78.95%  (p=0.000 n=20+20)
VariableLoopingVUsGetRawExecutionSteps/seq:;segment:2235/5213:4/5/rollercoaster-8                                     30.0 ± 0%       4.0 ± 0%  -86.67%  (p=0.000 n=20+20)

loadimpact/k6,loadimpact/k6