SumForTest

Create loop with for and sum value


<?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.003889 +296%
8.3.10 100.000 0.003092 +235%
8.3.9 100.000 0.002569 +196%
7.3.33 100.000 0.002087 +159%
7.3.31 100.000 0.001735 +132%
7.3.30 100.000 0.001898 +144%
7.3.29 100.000 0.001942 +148%
7.3.28 100.000 0.001837 +140%
7.3.27 100.000 0.002311 +176%
7.3.24 100.000 0.001789 +136%
7.3.23 100.000 0.001840 +140%
7.3.22 100.000 0.002042 +155%
7.3.19 100.000 0.001815 +138%
7.3.18 100.000 0.001731 +132%
7.3.17 100.000 0.001956 +149%
7.3.16 100.000 0.001680 +128%
7.3.15 100.000 0.001736 +132%
7.3.14 100.000 0.001701 +130%
7.3.13 100.000 0.001951 +149%
7.3.12 100.000 0.001678 +128%
7.3.11 100.000 0.001898 +144%
7.3.9 100.000 0.002094 +159%
7.3.8 100.000 0.002166 +165%
7.2.29 100.000 0.001867 +142%
8.3.13 10.000 0.000722 +395%
7.2.34 100.000 0.002071 +158%
7.2.33 100.000 0.001710 +130%
7.2.31 100.000 0.001683 +128%
7.2.30 100.000 0.001897 +144%
8.3.10 10.000 0.000562 +307%
7.2.28 100.000 0.001657 +126%
7.2.27 100.000 0.001735 +132%
7.2.26 100.000 0.001824 +139%
7.2.25 100.000 0.001506 +115%
7.2.24 100.000 0.001898 +144%
7.2.22 100.000 0.002155 +164%
7.2.21 100.000 0.002271 +173%
7.1.33 100.000 0.003090 +235%
7.1.32 100.000 0.003301 +251%
7.1.31 100.000 0.003491 +266%
7.1.0 100.000 0.019263 +1467%
7.0.33 100.000 0.002523 +192%
7.0.7 100.000 0.020399 +1553%
5.6.40 100.000 0.005842 +445%
5.6.22 100.000 0.036836 +2805%
5.5.36 100.000 0.036374 +2769%
5.4.45 100.000 0.038433 +2926%
5.3.29 100.000 0.033502 +2551%
8.3.9 10.000 0.000550 +301%
8.0.30 100.000 0.002392 +182%
8.0.29 100.000 0.001574 +120%
8.0.28 100.000 0.001452 +111%
8.0.27 100.000 0.001769 +135%
8.0.26 100.000 0.002138 +163%
8.0.25 100.000 0.001586 +121%
8.0.24 100.000 0.001593 +121%
8.0.23 100.000 0.001586 +121%
8.0.20 10.000 0.000205 +112%
8.0.20 100.000 0.001460 +111%
8.0.19 10.000 0.000295 +161%
8.0.19 100.000 0.001714 +130%
8.0.17 10.000 0.000310 +169%
8.0.17 100.000 0.001625 +124%
8.0.16 10.000 0.000309 +169%
8.0.16 100.000 0.001583 +120%
8.0.14 10.000 0.000266 +146%
8.0.14 100.000 0.001536 +117%
8.0.11 100.000 0.001531 +117%
8.0.10 100.000 0.001593 +121%
8.0.9 100.000 0.002283 +174%
8.0.8 100.000 0.001753 +133%
8.0.7 100.000 0.001736 +132%
8.0.3 100.000 0.001915 +146%
8.0.2 100.000 0.002596 +198%
8.0.0 100.000 0.001581 +120%
7.4.33 100.000 0.002007 +153%
7.4.32 100.000 0.001727 +131%
7.4.30 100.000 0.001587 +121%
7.4.28 100.000 0.001552 +118%
7.4.27 100.000 0.001504 +115%
7.4.24 100.000 0.001602 +122%
7.4.23 100.000 0.001432 +109%
7.4.22 100.000 0.001409 +107%
8.0.11 10.000 0.000256 +140%
8.0.10 10.000 0.000308 +168%
8.0.0 10.000 0.000287 +157%
7.4.29 100.000 0.001673 +127%
7.4.21 10.000 0.000296 +162%
7.4.21 100.000 0.001626 +124%
7.4.20 10.000 0.000302 +165%
7.4.20 100.000 0.001479 +113%
7.4.16 100.000 0.001830 +139%
7.4.15 100.000 0.002046 +156%
7.4.33 10.000 0.000321 +176%
7.4.32 10.000 0.000269 +147%
7.4.30 10.000 0.000223 +122%
7.4.29 10.000 0.000345 +188%
7.4.24 10.000 0.000260 +142%
7.4.23 10.000 0.000276 +151%
7.4.22 10.000 0.000257 +140%
7.4.13 100.000 0.001458 +111%
7.4.12 100.000 0.001839 +140%
7.4.11 100.000 0.001790 +136%
7.4.10 100.000 0.001505 +115%
8.0.2 10.000 0.000390 +213%
7.4.0 100.000 0.001819 +138%
8.0.30 10.000 0.000389 +213%
8.0.29 10.000 0.000186 +102%
8.0.28 10.000 0.000201 +110%
8.0.27 10.000 0.000217 +119%
8.0.26 10.000 0.000236 +129%
8.0.25 10.000 0.000260 +142%
8.0.24 10.000 0.000231 +126%
8.0.23 10.000 0.000183 100%
8.0.9 10.000 0.000299 +163%
8.0.8 10.000 0.000329 +180%
8.0.7 10.000 0.000355 +194%
8.0.3 10.000 0.000394 +215%
7.4.28 10.000 0.000285 +156%
7.4.27 10.000 0.000293 +160%
7.4.16 10.000 0.000351 +192%
7.4.15 10.000 0.000451 +246%
7.4.13 10.000 0.000264 +144%
7.4.12 10.000 0.000308 +169%
7.4.11 10.000 0.000340 +186%
7.4.10 10.000 0.000239 +131%
7.4.7 10.000 0.000288 +157%
7.4.7 100.000 0.001750 +133%
7.4.6 10.000 0.000265 +145%
7.4.6 100.000 0.001510 +115%
7.4.5 10.000 0.000253 +138%
7.4.5 100.000 0.001479 +113%
7.4.4 10.000 0.000228 +124%
7.4.4 100.000 0.001313 100%
7.4.3 10.000 0.000280 +153%
7.4.3 100.000 0.001552 +118%
7.4.1 100.000 0.001569 +119%
7.4.2 10.000 0.000307 +168%
7.4.2 100.000 0.001590 +121%
7.4.1 10.000 0.000325 +178%
7.4.0 10.000 0.000219 +120%
7.3.33 10.000 0.000324 +177%
7.3.31 10.000 0.000305 +167%
7.3.30 10.000 0.000318 +174%
7.3.29 10.000 0.000311 +170%
7.3.28 10.000 0.000332 +181%
7.3.27 10.000 0.000445 +243%
7.3.24 10.000 0.000297 +162%
7.3.23 10.000 0.000312 +170%
7.3.22 10.000 0.000319 +174%
7.3.19 10.000 0.000372 +203%
7.3.18 10.000 0.000329 +180%
7.3.17 10.000 0.000343 +187%
7.3.16 10.000 0.000336 +183%
7.3.15 10.000 0.000291 +159%
7.3.14 10.000 0.000377 +206%
7.3.13 10.000 0.000366 +200%
7.3.12 10.000 0.000313 +171%
7.3.11 10.000 0.000258 +141%
7.3.9 10.000 0.000280 +153%
7.3.8 10.000 0.000237 +129%
7.2.34 10.000 0.000354 +193%
7.2.33 10.000 0.000296 +162%
7.2.31 10.000 0.000330 +180%
7.2.30 10.000 0.000350 +191%
7.2.29 10.000 0.000343 +187%
7.2.28 10.000 0.000283 +155%
7.2.27 10.000 0.000383 +209%
7.2.26 10.000 0.000414 +226%
7.2.25 10.000 0.000326 +178%
7.2.24 10.000 0.000251 +137%
7.2.22 10.000 0.000279 +152%
7.2.21 10.000 0.000262 +143%
7.1.33 10.000 0.000508 +277%
7.1.32 10.000 0.000381 +208%
7.1.31 10.000 0.000358 +196%
7.1.0 10.000 0.002083 +1138%
7.0.33 10.000 0.000417 +228%
7.0.7 10.000 0.002294 +1254%
5.6.40 10.000 0.000958 +523%
5.6.22 10.000 0.005099 +2786%
5.5.36 10.000 0.004993 +2729%
5.4.45 10.000 0.005009 +2737%
5.3.29 10.000 0.004474 +2445%