Create loop with for
<?php
$values = $this->getRange($loop);
$this->start($loop);
$count = count($values);
for ($i = 0; $i < $count; $i++) {
$values[$i]++;
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.003202 | +229% |
8.3.10 | 100.000 | 0.003031 | +217% |
8.3.9 | 100.000 | 0.002641 | +189% |
7.3.33 | 100.000 | 0.002146 | +154% |
7.3.31 | 100.000 | 0.001711 | +122% |
7.3.30 | 100.000 | 0.001717 | +123% |
7.3.29 | 100.000 | 0.001763 | +126% |
7.3.28 | 100.000 | 0.001648 | +118% |
7.3.27 | 100.000 | 0.002314 | +166% |
7.3.24 | 100.000 | 0.001819 | +130% |
7.3.23 | 100.000 | 0.001854 | +133% |
7.3.22 | 100.000 | 0.002016 | +144% |
7.3.19 | 100.000 | 0.001866 | +134% |
7.3.18 | 100.000 | 0.001762 | +126% |
7.3.17 | 100.000 | 0.001917 | +137% |
7.3.16 | 100.000 | 0.001934 | +138% |
7.3.15 | 100.000 | 0.001722 | +123% |
7.3.14 | 100.000 | 0.001918 | +137% |
7.3.13 | 100.000 | 0.001987 | +142% |
7.3.12 | 100.000 | 0.001761 | +126% |
7.3.11 | 100.000 | 0.001927 | +138% |
7.3.9 | 100.000 | 0.002147 | +154% |
7.3.8 | 100.000 | 0.002232 | +160% |
7.2.29 | 100.000 | 0.001955 | +140% |
8.3.13 | 10.000 | 0.000599 | +373% |
7.2.34 | 100.000 | 0.002122 | +152% |
7.2.33 | 100.000 | 0.001853 | +133% |
7.2.31 | 100.000 | 0.001733 | +124% |
7.2.30 | 100.000 | 0.002072 | +148% |
8.3.10 | 10.000 | 0.000575 | +358% |
7.2.28 | 100.000 | 0.002784 | +199% |
7.2.27 | 100.000 | 0.001869 | +134% |
7.2.26 | 100.000 | 0.001946 | +139% |
7.2.25 | 100.000 | 0.001573 | +113% |
7.2.24 | 100.000 | 0.001856 | +133% |
7.2.22 | 100.000 | 0.002130 | +152% |
7.2.21 | 100.000 | 0.002350 | +168% |
7.1.33 | 100.000 | 0.003077 | +220% |
7.1.32 | 100.000 | 0.003274 | +234% |
7.1.31 | 100.000 | 0.003646 | +261% |
7.1.0 | 100.000 | 0.018781 | +1343% |
7.0.33 | 100.000 | 0.002536 | +181% |
7.0.7 | 100.000 | 0.021671 | +1550% |
5.6.40 | 100.000 | 0.006068 | +434% |
5.6.22 | 100.000 | 0.042197 | +3019% |
5.5.36 | 100.000 | 0.042018 | +3006% |
5.4.45 | 100.000 | 0.043531 | +3114% |
5.3.29 | 100.000 | 0.038950 | +2786% |
8.3.9 | 10.000 | 0.000508 | +316% |
8.0.30 | 100.000 | 0.002355 | +168% |
8.0.29 | 100.000 | 0.001510 | +108% |
8.0.28 | 100.000 | 0.001402 | 100% |
8.0.27 | 100.000 | 0.001683 | +120% |
8.0.26 | 100.000 | 0.001733 | +124% |
8.0.25 | 100.000 | 0.001598 | +114% |
8.0.24 | 100.000 | 0.001644 | +118% |
8.0.23 | 100.000 | 0.001652 | +118% |
8.0.20 | 10.000 | 0.000212 | +132% |
8.0.20 | 100.000 | 0.001481 | +106% |
8.0.19 | 10.000 | 0.000272 | +169% |
8.0.19 | 100.000 | 0.001882 | +135% |
8.0.17 | 10.000 | 0.000286 | +178% |
8.0.17 | 100.000 | 0.001821 | +130% |
8.0.16 | 10.000 | 0.000289 | +180% |
8.0.16 | 100.000 | 0.001557 | +111% |
8.0.14 | 10.000 | 0.000265 | +165% |
8.0.14 | 100.000 | 0.001586 | +113% |
8.0.11 | 100.000 | 0.001593 | +114% |
8.0.10 | 100.000 | 0.001532 | +110% |
8.0.9 | 100.000 | 0.001629 | +117% |
8.0.8 | 100.000 | 0.001591 | +114% |
8.0.7 | 100.000 | 0.001479 | +106% |
8.0.3 | 100.000 | 0.002102 | +150% |
8.0.2 | 100.000 | 0.002265 | +162% |
8.0.0 | 100.000 | 0.001665 | +119% |
7.4.33 | 100.000 | 0.002043 | +146% |
7.4.32 | 100.000 | 0.001687 | +121% |
7.4.30 | 100.000 | 0.001576 | +113% |
7.4.28 | 100.000 | 0.001909 | +137% |
7.4.27 | 100.000 | 0.001666 | +119% |
7.4.24 | 100.000 | 0.001429 | +102% |
7.4.23 | 100.000 | 0.001472 | +105% |
7.4.22 | 100.000 | 0.001523 | +109% |
8.0.11 | 10.000 | 0.000263 | +164% |
8.0.10 | 10.000 | 0.000309 | +193% |
8.0.0 | 10.000 | 0.000274 | +171% |
7.4.29 | 100.000 | 0.001750 | +125% |
7.4.21 | 10.000 | 0.000291 | +181% |
7.4.21 | 100.000 | 0.001398 | 100% |
7.4.20 | 10.000 | 0.000232 | +144% |
7.4.20 | 100.000 | 0.001407 | +101% |
7.4.16 | 100.000 | 0.001973 | +141% |
7.4.15 | 100.000 | 0.002508 | +179% |
7.4.33 | 10.000 | 0.000308 | +192% |
7.4.32 | 10.000 | 0.000231 | +144% |
7.4.30 | 10.000 | 0.000222 | +138% |
7.4.29 | 10.000 | 0.000311 | +193% |
7.4.24 | 10.000 | 0.000243 | +151% |
7.4.23 | 10.000 | 0.000283 | +176% |
7.4.22 | 10.000 | 0.000213 | +132% |
7.4.13 | 100.000 | 0.001494 | +107% |
7.4.12 | 100.000 | 0.001602 | +115% |
7.4.11 | 100.000 | 0.001662 | +119% |
7.4.10 | 100.000 | 0.001468 | +105% |
8.0.2 | 10.000 | 0.000350 | +218% |
7.4.0 | 100.000 | 0.001786 | +128% |
8.0.30 | 10.000 | 0.000393 | +244% |
8.0.29 | 10.000 | 0.000161 | 100% |
8.0.28 | 10.000 | 0.000188 | +117% |
8.0.27 | 10.000 | 0.000243 | +152% |
8.0.26 | 10.000 | 0.000231 | +144% |
8.0.25 | 10.000 | 0.000213 | +133% |
8.0.24 | 10.000 | 0.000238 | +148% |
8.0.23 | 10.000 | 0.000337 | +210% |
8.0.9 | 10.000 | 0.000233 | +145% |
8.0.8 | 10.000 | 0.000315 | +196% |
8.0.7 | 10.000 | 0.000310 | +193% |
8.0.3 | 10.000 | 0.000345 | +215% |
7.4.28 | 10.000 | 0.000255 | +159% |
7.4.27 | 10.000 | 0.000294 | +183% |
7.4.16 | 10.000 | 0.000326 | +203% |
7.4.15 | 10.000 | 0.000347 | +216% |
7.4.13 | 10.000 | 0.000228 | +142% |
7.4.12 | 10.000 | 0.000252 | +157% |
7.4.11 | 10.000 | 0.000249 | +155% |
7.4.10 | 10.000 | 0.000277 | +173% |
7.4.7 | 10.000 | 0.000258 | +161% |
7.4.7 | 100.000 | 0.001514 | +108% |
7.4.6 | 10.000 | 0.000259 | +161% |
7.4.6 | 100.000 | 0.001454 | +104% |
7.4.5 | 10.000 | 0.000322 | +201% |
7.4.5 | 100.000 | 0.001679 | +120% |
7.4.4 | 10.000 | 0.000278 | +173% |
7.4.4 | 100.000 | 0.001624 | +116% |
7.4.3 | 10.000 | 0.000265 | +165% |
7.4.3 | 100.000 | 0.001475 | +106% |
7.4.1 | 100.000 | 0.001554 | +111% |
7.4.2 | 10.000 | 0.000323 | +201% |
7.4.2 | 100.000 | 0.001553 | +111% |
7.4.1 | 10.000 | 0.000348 | +217% |
7.4.0 | 10.000 | 0.000232 | +145% |
7.3.33 | 10.000 | 0.000347 | +216% |
7.3.31 | 10.000 | 0.000339 | +211% |
7.3.30 | 10.000 | 0.000307 | +191% |
7.3.29 | 10.000 | 0.000310 | +193% |
7.3.28 | 10.000 | 0.000387 | +241% |
7.3.27 | 10.000 | 0.000397 | +247% |
7.3.24 | 10.000 | 0.000321 | +200% |
7.3.23 | 10.000 | 0.000299 | +186% |
7.3.22 | 10.000 | 0.000333 | +208% |
7.3.19 | 10.000 | 0.000327 | +203% |
7.3.18 | 10.000 | 0.000304 | +189% |
7.3.17 | 10.000 | 0.000304 | +189% |
7.3.16 | 10.000 | 0.000312 | +194% |
7.3.15 | 10.000 | 0.000324 | +201% |
7.3.14 | 10.000 | 0.000406 | +253% |
7.3.13 | 10.000 | 0.000412 | +257% |
7.3.12 | 10.000 | 0.000389 | +242% |
7.3.11 | 10.000 | 0.000254 | +158% |
7.3.9 | 10.000 | 0.000254 | +158% |
7.3.8 | 10.000 | 0.000264 | +164% |
7.2.34 | 10.000 | 0.000357 | +222% |
7.2.33 | 10.000 | 0.000323 | +201% |
7.2.31 | 10.000 | 0.000354 | +221% |
7.2.30 | 10.000 | 0.000325 | +202% |
7.2.29 | 10.000 | 0.000307 | +191% |
7.2.28 | 10.000 | 0.000240 | +149% |
7.2.27 | 10.000 | 0.000318 | +198% |
7.2.26 | 10.000 | 0.000392 | +244% |
7.2.25 | 10.000 | 0.000307 | +191% |
7.2.24 | 10.000 | 0.000301 | +187% |
7.2.22 | 10.000 | 0.000243 | +152% |
7.2.21 | 10.000 | 0.000259 | +161% |
7.1.33 | 10.000 | 0.000506 | +315% |
7.1.32 | 10.000 | 0.000409 | +254% |
7.1.31 | 10.000 | 0.000380 | +237% |
7.1.0 | 10.000 | 0.002004 | +1247% |
7.0.33 | 10.000 | 0.000410 | +255% |
7.0.7 | 10.000 | 0.002291 | +1426% |
5.6.40 | 10.000 | 0.001193 | +743% |
5.6.22 | 10.000 | 0.005616 | +3496% |
5.5.36 | 10.000 | 0.005435 | +3384% |
5.4.45 | 10.000 | 0.005195 | +3235% |
5.3.29 | 10.000 | 0.004732 | +2946% |