RequireOnceTest

Include file with require_once


<?php 

$file 
$this->getTempFile();

$this->start($loop);

for (
$i 0$i $this->loop; ++$i) {
    
clearstatcache();
    require_once 
$file;
}

unlink($file);

return 
$this->end();
PHP Loops Seconds Percent
8.0.30 10.000 0.004716 +144%
8.0.30 100.000 0.035013 +125%
8.0.9 100.000 0.040633 +145%
8.0.8 100.000 0.034333 +123%
7.3.13 100.000 0.042505 +152%
7.3.12 100.000 0.038131 +136%
7.3.11 100.000 0.045461 +162%
7.2.34 100.000 0.037665 +135%
7.2.33 100.000 0.036420 +130%
7.2.31 100.000 0.037890 +135%
7.2.30 100.000 0.035298 +126%
7.2.29 100.000 0.038564 +138%
7.2.28 100.000 0.033378 +119%
7.2.27 100.000 0.042233 +151%
7.2.26 100.000 0.039290 +140%
7.2.25 100.000 0.035290 +126%
7.2.24 100.000 0.037711 +135%
7.2.22 100.000 0.041320 +148%
7.2.21 100.000 0.036523 +130%
7.1.33 100.000 0.034533 +123%
7.1.32 100.000 0.033271 +119%
7.1.31 100.000 0.034390 +123%
7.1.0 100.000 0.124257 +444%
7.0.33 100.000 0.039000 +139%
7.0.7 100.000 0.111488 +398%
5.6.40 100.000 0.048985 +175%
5.6.22 100.000 0.158879 +567%
5.5.36 100.000 0.147749 +528%
5.4.45 100.000 0.154220 +551%
5.3.29 100.000 0.168658 +602%
8.0.29 10.000 0.003274 100%
8.0.29 100.000 0.028003 100%
8.0.28 100.000 0.029605 +106%
8.0.27 100.000 0.034214 +122%
8.0.26 100.000 0.033246 +119%
8.0.25 100.000 0.033520 +120%
8.0.24 100.000 0.032473 +116%
8.0.23 100.000 0.033755 +121%
8.0.20 100.000 0.031172 +111%
8.0.19 100.000 0.036154 +129%
8.0.17 100.000 0.034518 +123%
8.0.16 100.000 0.031790 +114%
8.0.14 100.000 0.034608 +124%
8.0.11 10.000 0.005055 +154%
8.0.11 100.000 0.033615 +120%
8.0.10 10.000 0.004226 +129%
8.0.10 100.000 0.032471 +116%
7.3.15 100.000 0.037925 +135%
8.0.28 10.000 0.003736 +114%
8.0.27 10.000 0.004876 +149%
8.0.26 10.000 0.004147 +127%
8.0.25 10.000 0.005216 +159%
8.0.24 10.000 0.004269 +130%
8.0.23 10.000 0.003944 +120%
8.0.20 10.000 0.003837 +117%
8.0.19 10.000 0.005342 +163%
8.0.17 10.000 0.004955 +151%
8.0.16 10.000 0.004385 +134%
8.0.14 10.000 0.005031 +154%
7.3.14 100.000 0.043183 +154%
8.0.9 10.000 0.004273 +131%
8.0.7 100.000 0.032987 +118%
8.0.8 10.000 0.004790 +146%
8.0.3 100.000 0.039148 +140%
8.0.2 100.000 0.049619 +177%
8.0.0 100.000 0.032705 +117%
7.4.33 100.000 0.038343 +137%
8.0.7 10.000 0.004965 +152%
7.4.32 100.000 0.037489 +134%
7.4.30 100.000 0.035703 +127%
7.4.29 100.000 0.042418 +151%
7.4.27 100.000 0.040871 +146%
8.0.3 10.000 0.005923 +181%
7.4.28 100.000 0.039755 +142%
7.4.24 100.000 0.038466 +137%
7.4.7 100.000 0.039505 +141%
7.4.6 100.000 0.037936 +135%
7.4.5 100.000 0.037462 +134%
7.4.4 100.000 0.040907 +146%
8.0.2 10.000 0.007745 +237%
8.0.0 10.000 0.004335 +132%
7.4.3 100.000 0.038132 +136%
7.4.33 10.000 0.005105 +156%
7.4.32 10.000 0.005151 +157%
7.4.30 10.000 0.004590 +140%
7.4.29 10.000 0.005900 +180%
7.3.17 100.000 0.038993 +139%
7.3.16 100.000 0.041410 +148%
7.4.28 10.000 0.005596 +171%
7.4.23 100.000 0.037172 +133%
7.4.21 100.000 0.042279 +151%
7.4.20 100.000 0.038677 +138%
7.4.24 10.000 0.006502 +199%
7.4.16 100.000 0.047618 +170%
7.4.15 10.000 0.007278 +222%
7.4.15 100.000 0.054257 +194%
7.4.13 100.000 0.037132 +133%
7.4.27 10.000 0.006229 +190%
7.4.23 10.000 0.005995 +183%
7.4.22 10.000 0.005294 +162%
7.4.22 100.000 0.037536 +134%
7.4.21 10.000 0.006199 +189%
7.4.20 10.000 0.006144 +188%
7.4.16 10.000 0.006998 +214%
7.4.13 10.000 0.005418 +166%
7.4.12 10.000 0.005788 +177%
7.4.12 100.000 0.040456 +144%
7.4.11 100.000 0.043429 +155%
7.4.11 10.000 0.005248 +160%
7.4.10 10.000 0.004531 +138%
7.4.10 100.000 0.039044 +139%
7.4.7 10.000 0.005492 +168%
7.4.6 10.000 0.005329 +163%
7.4.5 10.000 0.005010 +153%
7.4.4 10.000 0.004847 +148%
7.4.2 10.000 0.007111 +217%
7.4.2 100.000 0.039693 +142%
7.4.3 10.000 0.005857 +179%
7.4.1 10.000 0.006158 +188%
7.4.1 100.000 0.040099 +143%
7.4.0 100.000 0.046350 +166%
7.3.33 100.000 0.039273 +140%
7.3.31 100.000 0.039748 +142%
7.3.18 100.000 0.040981 +146%
7.3.33 10.000 0.005243 +160%
7.3.30 100.000 0.038072 +136%
7.4.0 10.000 0.005494 +168%
7.3.31 10.000 0.005988 +183%
7.3.29 10.000 0.005450 +166%
7.3.29 100.000 0.037877 +135%
7.3.28 10.000 0.007215 +220%
7.3.28 100.000 0.040720 +145%
7.3.27 10.000 0.007345 +224%
7.3.27 100.000 0.048217 +172%
7.3.30 10.000 0.005453 +167%
7.3.24 10.000 0.005424 +166%
7.3.24 100.000 0.039589 +141%
7.3.23 10.000 0.006214 +190%
7.3.23 100.000 0.040024 +143%
7.3.22 10.000 0.005586 +171%
7.3.22 100.000 0.036959 +132%
7.3.19 10.000 0.006068 +185%
7.3.19 100.000 0.039298 +140%
7.3.18 10.000 0.006154 +188%
7.3.17 10.000 0.005305 +162%
7.3.9 10.000 0.006037 +184%
7.3.9 100.000 0.053394 +191%
7.3.8 10.000 0.005834 +178%
7.3.8 100.000 0.051059 +182%
7.3.16 10.000 0.006062 +185%
7.3.15 10.000 0.004991 +152%
7.3.14 10.000 0.006985 +213%
7.3.13 10.000 0.006456 +197%
7.3.12 10.000 0.005669 +173%
7.3.11 10.000 0.005583 +171%
7.2.34 10.000 0.005222 +160%
7.2.33 10.000 0.005552 +170%
7.2.31 10.000 0.005998 +183%
7.2.30 10.000 0.005120 +156%
7.2.29 10.000 0.005348 +163%
7.2.28 10.000 0.004252 +130%
7.2.27 10.000 0.007178 +219%
7.2.26 10.000 0.007145 +218%
7.2.25 10.000 0.005437 +166%
7.2.24 10.000 0.004502 +138%
7.2.22 10.000 0.004858 +148%
7.2.21 10.000 0.004082 +125%
7.1.33 10.000 0.004777 +146%
7.1.32 10.000 0.003599 +110%
7.1.31 10.000 0.003908 +119%
7.1.0 10.000 0.013201 +403%
7.0.33 10.000 0.005719 +175%
7.0.7 10.000 0.011894 +363%
5.6.40 10.000 0.007353 +225%
5.6.22 10.000 0.017711 +541%
5.5.36 10.000 0.016142 +493%
5.4.45 10.000 0.016546 +505%
5.3.29 10.000 0.017536 +536%