Check if file (non existing) exists with is_file
<?php
unlink($file = $this->getTempFile());
$this->start($loop);
for ($i = 0; $i < $this->loop; ++$i) {
clearstatcache();
$value = is_file($file);
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.178973 | +199% |
8.3.10 | 100.000 | 0.170112 | +189% |
8.3.9 | 100.000 | 0.160402 | +178% |
7.3.33 | 100.000 | 0.121165 | +135% |
7.3.31 | 100.000 | 0.105516 | +117% |
7.3.30 | 100.000 | 0.099302 | +110% |
7.3.29 | 100.000 | 0.101058 | +112% |
7.3.28 | 100.000 | 0.099568 | +111% |
7.3.27 | 100.000 | 0.126815 | +141% |
7.3.24 | 100.000 | 0.104275 | +116% |
7.3.23 | 100.000 | 0.102551 | +114% |
7.3.22 | 100.000 | 0.099653 | +111% |
7.3.19 | 100.000 | 0.100387 | +112% |
7.3.18 | 100.000 | 0.095404 | +106% |
7.3.17 | 100.000 | 0.089962 | 100% |
7.3.16 | 100.000 | 0.102299 | +114% |
7.3.15 | 100.000 | 0.091369 | +102% |
7.3.14 | 100.000 | 0.099637 | +111% |
7.3.13 | 100.000 | 0.096140 | +107% |
7.3.12 | 100.000 | 0.092568 | +103% |
7.3.11 | 100.000 | 0.190583 | +212% |
7.3.9 | 100.000 | 0.264532 | +294% |
7.3.8 | 100.000 | 0.255754 | +284% |
7.2.29 | 100.000 | 0.095918 | +107% |
8.3.13 | 10.000 | 0.021484 | +172% |
7.2.34 | 100.000 | 0.119405 | +133% |
7.2.33 | 100.000 | 0.098596 | +110% |
7.2.31 | 100.000 | 0.099152 | +110% |
7.2.30 | 100.000 | 0.107244 | +119% |
8.3.10 | 10.000 | 0.021863 | +175% |
7.2.28 | 100.000 | 0.093133 | +104% |
7.2.27 | 100.000 | 0.099579 | +111% |
7.2.26 | 100.000 | 0.098510 | +110% |
7.2.25 | 100.000 | 0.092880 | +103% |
7.2.24 | 100.000 | 0.198073 | +220% |
7.2.22 | 100.000 | 0.279831 | +311% |
7.2.21 | 100.000 | 0.266216 | +296% |
7.1.33 | 100.000 | 0.118930 | +132% |
7.1.32 | 100.000 | 0.290423 | +323% |
7.1.31 | 100.000 | 0.267005 | +297% |
7.1.0 | 100.000 | 0.243304 | +270% |
7.0.33 | 100.000 | 0.124071 | +138% |
7.0.7 | 100.000 | 0.204343 | +227% |
5.6.40 | 100.000 | 0.146371 | +163% |
5.6.22 | 100.000 | 0.315898 | +351% |
5.5.36 | 100.000 | 0.320223 | +356% |
5.4.45 | 100.000 | 0.316885 | +352% |
5.3.29 | 100.000 | 0.358995 | +399% |
8.3.9 | 10.000 | 0.022225 | +178% |
8.0.30 | 100.000 | 0.144694 | +161% |
8.0.29 | 100.000 | 0.095843 | +107% |
8.0.28 | 100.000 | 0.097923 | +109% |
8.0.27 | 100.000 | 0.102148 | +114% |
8.0.26 | 100.000 | 0.111399 | +124% |
8.0.25 | 100.000 | 0.098019 | +109% |
8.0.24 | 100.000 | 0.099990 | +111% |
8.0.23 | 100.000 | 0.107260 | +119% |
8.0.20 | 10.000 | 0.012933 | +103% |
8.0.20 | 100.000 | 0.100138 | +111% |
8.0.19 | 10.000 | 0.019509 | +156% |
8.0.19 | 100.000 | 0.108668 | +121% |
8.0.17 | 10.000 | 0.017972 | +144% |
8.0.17 | 100.000 | 0.108939 | +121% |
8.0.16 | 10.000 | 0.016672 | +133% |
8.0.16 | 100.000 | 0.112182 | +125% |
8.0.14 | 10.000 | 0.018303 | +146% |
8.0.14 | 100.000 | 0.115095 | +128% |
8.0.11 | 100.000 | 0.100807 | +112% |
8.0.10 | 100.000 | 0.103415 | +115% |
8.0.9 | 100.000 | 0.113169 | +126% |
8.0.8 | 100.000 | 0.101846 | +113% |
8.0.7 | 100.000 | 0.104374 | +116% |
8.0.3 | 100.000 | 0.121619 | +135% |
8.0.2 | 100.000 | 0.143922 | +160% |
8.0.0 | 100.000 | 0.105624 | +117% |
7.4.33 | 100.000 | 0.127008 | +141% |
7.4.32 | 100.000 | 0.097856 | +109% |
7.4.30 | 100.000 | 0.100166 | +111% |
7.4.28 | 100.000 | 0.111497 | +124% |
7.4.27 | 100.000 | 0.120668 | +134% |
7.4.24 | 100.000 | 0.100882 | +112% |
7.4.23 | 100.000 | 0.112993 | +126% |
7.4.22 | 100.000 | 0.101362 | +113% |
8.0.11 | 10.000 | 0.016725 | +134% |
8.0.10 | 10.000 | 0.015923 | +127% |
8.0.0 | 10.000 | 0.015626 | +125% |
7.4.29 | 100.000 | 0.105924 | +118% |
7.4.21 | 10.000 | 0.018628 | +149% |
7.4.21 | 100.000 | 0.102761 | +114% |
7.4.20 | 10.000 | 0.017662 | +141% |
7.4.20 | 100.000 | 0.102214 | +114% |
7.4.16 | 100.000 | 0.125571 | +140% |
7.4.15 | 100.000 | 0.145340 | +162% |
7.4.33 | 10.000 | 0.017691 | +142% |
7.4.32 | 10.000 | 0.016589 | +133% |
7.4.30 | 10.000 | 0.013430 | +107% |
7.4.29 | 10.000 | 0.018980 | +152% |
7.4.24 | 10.000 | 0.016473 | +132% |
7.4.23 | 10.000 | 0.016459 | +132% |
7.4.22 | 10.000 | 0.014355 | +115% |
7.4.13 | 100.000 | 0.102797 | +114% |
7.4.12 | 100.000 | 0.109280 | +121% |
7.4.11 | 100.000 | 0.100324 | +112% |
7.4.10 | 100.000 | 0.098219 | +109% |
8.0.2 | 10.000 | 0.020966 | +168% |
7.4.0 | 100.000 | 0.222762 | +248% |
8.0.30 | 10.000 | 0.019398 | +155% |
8.0.29 | 10.000 | 0.014094 | +113% |
8.0.28 | 10.000 | 0.015102 | +121% |
8.0.27 | 10.000 | 0.015563 | +125% |
8.0.26 | 10.000 | 0.014288 | +114% |
8.0.25 | 10.000 | 0.015768 | +126% |
8.0.24 | 10.000 | 0.015225 | +122% |
8.0.23 | 10.000 | 0.015974 | +128% |
8.0.9 | 10.000 | 0.015738 | +126% |
8.0.8 | 10.000 | 0.015990 | +128% |
8.0.7 | 10.000 | 0.017635 | +141% |
8.0.3 | 10.000 | 0.020378 | +163% |
7.4.28 | 10.000 | 0.018212 | +146% |
7.4.27 | 10.000 | 0.019105 | +153% |
7.4.16 | 10.000 | 0.020297 | +162% |
7.4.15 | 10.000 | 0.020862 | +167% |
7.4.13 | 10.000 | 0.014957 | +120% |
7.4.12 | 10.000 | 0.012498 | 100% |
7.4.11 | 10.000 | 0.014122 | +113% |
7.4.10 | 10.000 | 0.014878 | +119% |
7.4.7 | 10.000 | 0.015613 | +125% |
7.4.7 | 100.000 | 0.100648 | +112% |
7.4.6 | 10.000 | 0.015932 | +127% |
7.4.6 | 100.000 | 0.093049 | +103% |
7.4.5 | 10.000 | 0.016553 | +132% |
7.4.5 | 100.000 | 0.092742 | +103% |
7.4.4 | 10.000 | 0.017449 | +140% |
7.4.4 | 100.000 | 0.093102 | +103% |
7.4.3 | 10.000 | 0.015222 | +122% |
7.4.3 | 100.000 | 0.094145 | +105% |
7.4.1 | 100.000 | 0.095312 | +106% |
7.4.2 | 10.000 | 0.017262 | +138% |
7.4.2 | 100.000 | 0.099353 | +110% |
7.4.1 | 10.000 | 0.018710 | +150% |
7.4.0 | 10.000 | 0.023623 | +189% |
7.3.33 | 10.000 | 0.016905 | +135% |
7.3.31 | 10.000 | 0.016466 | +132% |
7.3.30 | 10.000 | 0.016022 | +128% |
7.3.29 | 10.000 | 0.014997 | +120% |
7.3.28 | 10.000 | 0.017770 | +142% |
7.3.27 | 10.000 | 0.020550 | +164% |
7.3.24 | 10.000 | 0.014319 | +115% |
7.3.23 | 10.000 | 0.015625 | +125% |
7.3.22 | 10.000 | 0.014257 | +114% |
7.3.19 | 10.000 | 0.015762 | +126% |
7.3.18 | 10.000 | 0.015789 | +126% |
7.3.17 | 10.000 | 0.016396 | +131% |
7.3.16 | 10.000 | 0.016781 | +134% |
7.3.15 | 10.000 | 0.015426 | +123% |
7.3.14 | 10.000 | 0.017713 | +142% |
7.3.13 | 10.000 | 0.017819 | +143% |
7.3.12 | 10.000 | 0.016418 | +131% |
7.3.11 | 10.000 | 0.020629 | +165% |
7.3.9 | 10.000 | 0.026576 | +213% |
7.3.8 | 10.000 | 0.026251 | +210% |
7.2.34 | 10.000 | 0.017080 | +137% |
7.2.33 | 10.000 | 0.014422 | +115% |
7.2.31 | 10.000 | 0.015090 | +121% |
7.2.30 | 10.000 | 0.016114 | +129% |
7.2.29 | 10.000 | 0.014057 | +112% |
7.2.28 | 10.000 | 0.014527 | +116% |
7.2.27 | 10.000 | 0.017451 | +140% |
7.2.26 | 10.000 | 0.017753 | +142% |
7.2.25 | 10.000 | 0.015758 | +126% |
7.2.24 | 10.000 | 0.019872 | +159% |
7.2.22 | 10.000 | 0.028609 | +229% |
7.2.21 | 10.000 | 0.027244 | +218% |
7.1.33 | 10.000 | 0.017198 | +138% |
7.1.32 | 10.000 | 0.028148 | +225% |
7.1.31 | 10.000 | 0.028252 | +226% |
7.1.0 | 10.000 | 0.025940 | +208% |
7.0.33 | 10.000 | 0.017622 | +141% |
7.0.7 | 10.000 | 0.021761 | +174% |
5.6.40 | 10.000 | 0.019435 | +156% |
5.6.22 | 10.000 | 0.033052 | +264% |
5.5.36 | 10.000 | 0.033433 | +267% |
5.4.45 | 10.000 | 0.033170 | +265% |
5.3.29 | 10.000 | 0.038144 | +305% |