@@ -14,6 +14,32 @@ curl https://raw.githubusercontent.com/SergiX44/php-benchmark-script/master/benc
1414
1515Or upload the file ` bench.php ` to your web document root and visit it.
1616
17+ # Example Output
18+ ```
19+ --------------------------------------------------
20+ | PHP BENCHMARK SCRIPT v.1.0 by @SergiX44 |
21+ --------------------------------------------------
22+ PHP version................................. 8.2.1
23+ Platform.................................... Linux
24+ Server:.................................. hostname
25+ OPCache status:........................... enabled
26+ OPCache JIT:.............................. enabled
27+ PCRE JIT:................................. enabled
28+ Started at:............... 17/01/2023 15:22:51.079
29+ --------------------------------------------------
30+ math..................................... 0.1551 s
31+ loops.................................... 0.0223 s
32+ ifelse................................... 0.0305 s
33+ switch................................... 0.0283 s
34+ strings.................................. 0.4240 s
35+ array.................................... 0.7684 s
36+ regex.................................... 0.2929 s
37+ is_{type}................................ 0.0611 s
38+ --------------------------------------------------
39+ Total time............................... 1.7828 s
40+ Peak memory usage........................... 2 MiB
41+ ```
42+
1743## Authors
1844
1945- [ @SergiX44 ] ( https://www.github.com/SergiX44 )
0 commit comments