Check if file (non existing) exists with file_exists
<?php
unlink($file = $this->getTempFile());
$this->start($loop);
for ($i = 0; $i < $this->loop; ++$i) {
clearstatcache();
$value = file_exists($file);
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.3.13 | 100.000 | 0.250277 | +226% |
8.3.10 | 100.000 | 0.245833 | +222% |
8.3.9 | 100.000 | 0.238541 | +215% |
7.3.33 | 100.000 | 0.153112 | +138% |
7.3.31 | 100.000 | 0.120776 | +109% |
7.3.30 | 100.000 | 0.120162 | +108% |
7.3.29 | 100.000 | 0.139930 | +126% |
7.3.28 | 100.000 | 0.123227 | +111% |
7.3.27 | 100.000 | 0.150655 | +136% |
7.3.24 | 100.000 | 0.123981 | +112% |
7.3.23 | 100.000 | 0.122216 | +110% |
7.3.22 | 100.000 | 0.125205 | +113% |
7.3.19 | 100.000 | 0.122496 | +110% |
7.3.18 | 100.000 | 0.115202 | +104% |
7.3.17 | 100.000 | 0.112275 | +101% |
7.3.16 | 100.000 | 0.112918 | +102% |
7.3.15 | 100.000 | 0.111938 | +101% |
7.3.14 | 100.000 | 0.118483 | +107% |
7.3.13 | 100.000 | 0.112610 | +102% |
7.3.12 | 100.000 | 0.111142 | 100% |
7.3.11 | 100.000 | 0.234913 | +212% |
7.3.9 | 100.000 | 0.313532 | +283% |
7.3.8 | 100.000 | 0.291931 | +263% |
7.2.29 | 100.000 | 0.114727 | +103% |
8.3.13 | 10.000 | 0.030938 | +223% |
7.2.34 | 100.000 | 0.149940 | +135% |
7.2.33 | 100.000 | 0.124782 | +113% |
7.2.31 | 100.000 | 0.121243 | +109% |
7.2.30 | 100.000 | 0.117984 | +106% |
8.3.10 | 10.000 | 0.028871 | +208% |
7.2.28 | 100.000 | 0.114451 | +103% |
7.2.27 | 100.000 | 0.118754 | +107% |
7.2.26 | 100.000 | 0.114998 | +104% |
7.2.25 | 100.000 | 0.111329 | 100% |
7.2.24 | 100.000 | 0.233499 | +211% |
7.2.22 | 100.000 | 0.330410 | +298% |
7.2.21 | 100.000 | 0.306643 | +277% |
7.1.33 | 100.000 | 0.146240 | +132% |
7.1.32 | 100.000 | 0.320320 | +289% |
7.1.31 | 100.000 | 0.318650 | +287% |
7.1.0 | 100.000 | 0.269527 | +243% |
7.0.33 | 100.000 | 0.155371 | +140% |
7.0.7 | 100.000 | 0.238230 | +215% |
5.6.40 | 100.000 | 0.175666 | +158% |
5.6.22 | 100.000 | 0.352283 | +318% |
5.5.36 | 100.000 | 0.365182 | +329% |
5.4.45 | 100.000 | 0.363279 | +328% |
5.3.29 | 100.000 | 0.440134 | +397% |
8.3.9 | 10.000 | 0.027563 | +199% |
8.0.30 | 100.000 | 0.191155 | +172% |
8.0.29 | 100.000 | 0.121714 | +110% |
8.0.28 | 100.000 | 0.124779 | +113% |
8.0.27 | 100.000 | 0.127339 | +115% |
8.0.26 | 100.000 | 0.133714 | +121% |
8.0.25 | 100.000 | 0.124899 | +113% |
8.0.24 | 100.000 | 0.123296 | +111% |
8.0.23 | 100.000 | 0.123803 | +112% |
8.0.20 | 10.000 | 0.014943 | +108% |
8.0.20 | 100.000 | 0.124654 | +112% |
8.0.19 | 10.000 | 0.020539 | +148% |
8.0.19 | 100.000 | 0.133987 | +121% |
8.0.17 | 10.000 | 0.021368 | +154% |
8.0.17 | 100.000 | 0.129113 | +116% |
8.0.16 | 10.000 | 0.018507 | +133% |
8.0.16 | 100.000 | 0.129178 | +116% |
8.0.14 | 10.000 | 0.020879 | +151% |
8.0.14 | 100.000 | 0.148133 | +134% |
8.0.11 | 100.000 | 0.125851 | +113% |
8.0.10 | 100.000 | 0.131528 | +119% |
8.0.9 | 100.000 | 0.115451 | +104% |
8.0.8 | 100.000 | 0.124503 | +112% |
8.0.7 | 100.000 | 0.120213 | +108% |
8.0.3 | 100.000 | 0.148197 | +134% |
8.0.2 | 100.000 | 0.167765 | +151% |
8.0.0 | 100.000 | 0.122874 | +111% |
7.4.33 | 100.000 | 0.165181 | +149% |
7.4.32 | 100.000 | 0.124802 | +113% |
7.4.30 | 100.000 | 0.123548 | +111% |
7.4.28 | 100.000 | 0.130428 | +118% |
7.4.27 | 100.000 | 0.138116 | +125% |
7.4.24 | 100.000 | 0.126141 | +114% |
7.4.23 | 100.000 | 0.119239 | +108% |
7.4.22 | 100.000 | 0.119782 | +108% |
8.0.11 | 10.000 | 0.018717 | +135% |
8.0.10 | 10.000 | 0.018971 | +137% |
8.0.0 | 10.000 | 0.016615 | +120% |
7.4.29 | 100.000 | 0.131858 | +119% |
7.4.21 | 10.000 | 0.018172 | +131% |
7.4.21 | 100.000 | 0.120880 | +109% |
7.4.20 | 10.000 | 0.019538 | +141% |
7.4.20 | 100.000 | 0.122899 | +111% |
7.4.16 | 100.000 | 0.146292 | +132% |
7.4.15 | 100.000 | 0.168384 | +152% |
7.4.33 | 10.000 | 0.020113 | +145% |
7.4.32 | 10.000 | 0.017736 | +128% |
7.4.30 | 10.000 | 0.014750 | +106% |
7.4.29 | 10.000 | 0.020661 | +149% |
7.4.24 | 10.000 | 0.018802 | +136% |
7.4.23 | 10.000 | 0.018564 | +134% |
7.4.22 | 10.000 | 0.017141 | +124% |
7.4.13 | 100.000 | 0.120826 | +109% |
7.4.12 | 100.000 | 0.130588 | +118% |
7.4.11 | 100.000 | 0.120686 | +109% |
7.4.10 | 100.000 | 0.118566 | +107% |
8.0.2 | 10.000 | 0.024161 | +174% |
7.4.0 | 100.000 | 0.257337 | +232% |
8.0.30 | 10.000 | 0.023121 | +167% |
8.0.29 | 10.000 | 0.013877 | 100% |
8.0.28 | 10.000 | 0.014796 | +107% |
8.0.27 | 10.000 | 0.015861 | +114% |
8.0.26 | 10.000 | 0.015495 | +112% |
8.0.25 | 10.000 | 0.015044 | +108% |
8.0.24 | 10.000 | 0.015819 | +114% |
8.0.23 | 10.000 | 0.013872 | 100% |
8.0.9 | 10.000 | 0.017032 | +123% |
8.0.8 | 10.000 | 0.017559 | +127% |
8.0.7 | 10.000 | 0.019038 | +137% |
8.0.3 | 10.000 | 0.022401 | +161% |
7.4.28 | 10.000 | 0.019050 | +137% |
7.4.27 | 10.000 | 0.019506 | +141% |
7.4.16 | 10.000 | 0.022730 | +164% |
7.4.15 | 10.000 | 0.025020 | +180% |
7.4.13 | 10.000 | 0.017373 | +125% |
7.4.12 | 10.000 | 0.016388 | +118% |
7.4.11 | 10.000 | 0.016557 | +119% |
7.4.10 | 10.000 | 0.016474 | +119% |
7.4.7 | 10.000 | 0.018057 | +130% |
7.4.7 | 100.000 | 0.121312 | +109% |
7.4.6 | 10.000 | 0.017746 | +128% |
7.4.6 | 100.000 | 0.116074 | +105% |
7.4.5 | 10.000 | 0.018244 | +132% |
7.4.5 | 100.000 | 0.114078 | +103% |
7.4.4 | 10.000 | 0.017374 | +125% |
7.4.4 | 100.000 | 0.113003 | +102% |
7.4.3 | 10.000 | 0.017197 | +124% |
7.4.3 | 100.000 | 0.110896 | 100% |
7.4.1 | 100.000 | 0.114256 | +103% |
7.4.2 | 10.000 | 0.019780 | +143% |
7.4.2 | 100.000 | 0.115799 | +104% |
7.4.1 | 10.000 | 0.019463 | +140% |
7.4.0 | 10.000 | 0.026607 | +192% |
7.3.33 | 10.000 | 0.019187 | +138% |
7.3.31 | 10.000 | 0.018558 | +134% |
7.3.30 | 10.000 | 0.019169 | +138% |
7.3.29 | 10.000 | 0.021001 | +151% |
7.3.28 | 10.000 | 0.020298 | +146% |
7.3.27 | 10.000 | 0.023226 | +167% |
7.3.24 | 10.000 | 0.015910 | +115% |
7.3.23 | 10.000 | 0.018161 | +131% |
7.3.22 | 10.000 | 0.017829 | +129% |
7.3.19 | 10.000 | 0.017010 | +123% |
7.3.18 | 10.000 | 0.018405 | +133% |
7.3.17 | 10.000 | 0.017416 | +126% |
7.3.16 | 10.000 | 0.019949 | +144% |
7.3.15 | 10.000 | 0.016172 | +117% |
7.3.14 | 10.000 | 0.019992 | +144% |
7.3.13 | 10.000 | 0.020114 | +145% |
7.3.12 | 10.000 | 0.018052 | +130% |
7.3.11 | 10.000 | 0.023174 | +167% |
7.3.9 | 10.000 | 0.031243 | +225% |
7.3.8 | 10.000 | 0.029770 | +215% |
7.2.34 | 10.000 | 0.019436 | +140% |
7.2.33 | 10.000 | 0.017259 | +124% |
7.2.31 | 10.000 | 0.017434 | +126% |
7.2.30 | 10.000 | 0.017117 | +123% |
7.2.29 | 10.000 | 0.017486 | +126% |
7.2.28 | 10.000 | 0.017689 | +128% |
7.2.27 | 10.000 | 0.020126 | +145% |
7.2.26 | 10.000 | 0.020567 | +148% |
7.2.25 | 10.000 | 0.017787 | +128% |
7.2.24 | 10.000 | 0.023383 | +169% |
7.2.22 | 10.000 | 0.031394 | +226% |
7.2.21 | 10.000 | 0.031250 | +225% |
7.1.33 | 10.000 | 0.019658 | +142% |
7.1.32 | 10.000 | 0.031740 | +229% |
7.1.31 | 10.000 | 0.031623 | +228% |
7.1.0 | 10.000 | 0.027869 | +201% |
7.0.33 | 10.000 | 0.019886 | +143% |
7.0.7 | 10.000 | 0.024815 | +179% |
5.6.40 | 10.000 | 0.021872 | +158% |
5.6.22 | 10.000 | 0.036526 | +263% |
5.5.36 | 10.000 | 0.038271 | +276% |
5.4.45 | 10.000 | 0.038000 | +274% |
5.3.29 | 10.000 | 0.044688 | +322% |