| Test Name | Ubuntu 9 (PHP 5.2) | Ubuntu 9 (PHP 5.2 APC) | Ubuntu 9 (PHP 5.3) | Debain 5.3 (PHP 5.3 APC) | Win Server 08 (PHP 5.2) | Win Server 08 (PHP 5.3) | Win Server 08 (PHP 5.3 APC) | Win Server 08 ASP.NET 2 | ||||||||
| Empty Loop Tests: 20,000,000 Iterations | ||||||||||||||||
| (For Loop) | 2.828475952 | 3.203805923 | 2.005996943 | 2.12923193 | 1.9819839 | 1.44878602 | 1.418018103 | 0.094 | ||||||||
| (While Loop) | 2.617018223 | 3.036768913 | 1.888216019 | 1.958201885 | 2.104375839 | 1.242082119 | 1.248203039 | 0.095 | ||||||||
| (Do While) | 2.512402058 | 2.748417854 | 1.694928885 | 1.935457945 | 1.804476976 | 1.168560982 | 1.169867992 | 0.109 | ||||||||
| String Assignment Tests: 7,000,000 Iterations | ||||||||||||||||
| (For Loop) | 2.062855005 | 2.256713152 | 1.666481972 | 1.632561922 | 1.41030407 | 1.122678995 | 1.1162889 | 0.04 | ||||||||
| (While Loop) | 2.059679985 | 2.207916021 | 1.601251841 | 1.639242887 | 1.450017929 | 1.078024149 | 1.08960104 | 0.04 | ||||||||
| (Do Loop) | 1.991192102 | 2.110488892 | 1.586803913 | 1.594286919 | 1.319509983 | 1.064739943 | 1.06270504 | 0.032 | ||||||||
| Empty Function Calls: 1,500,000 Iterations | ||||||||||||||||
| (For Loop) | 0.81865406 | 0.85570693 | 0.42287302 | 0.434746981 | 1.199342966 | 0.266427994 | 0.272498131 | 0.018 | ||||||||
| (While Loop) | 0.781674147 | 0.831552029 | 0.406836987 | 0.43983984 | 1.238119841 | 0.263069868 | 0.27147913 | 0.017 | ||||||||
| (Do While) | 0.793931007 | 0.801985979 | 0.396706104 | 0.4296 | 1.186038971 | 0.256594181 | 0.300807953 | 0.017 | ||||||||
| String & Integer Tests: 600,000 Iterations | 1.641334057 | 1.698757887 | 1.684029102 | 1.635195971 | 1.478408813 | 1.593749046 | 1.618180037 | 0.617 | ||||||||
| Encryption Tests: 2,000 Iterations | 0.876345873 | 0.878349066 | 0.975692987 | 0.915500879 | 1.303070068 | 4.965342045 | 5.026968002 | 0.318 | ||||||||
| Date Function Tests: 3,000 Iterations | 0.090903997 | 0.08582902 | 0.090613127 | 0.079577923 | 1.866887093 | 0.297261 | 0.298659086 | 0.017 | ||||||||
| SysVar & Array Tests: 10,000 Iterations | 0.439476967 | 0.448114872 | 0.415864944 | 0.403321981 | 1.127076864 | 1.035082102 | 1.018836975 | 0.03 | ||||||||
| File System Tests: | ||||||||||||||||
| File Read Loop ( 2,000 Iterations) | 1.523394823 | 1.501880169 | 1.554808855 | 1.413465977 | 1.169229031 | 1.656471968 | 1.722069025 | 0.306 | ||||||||
| Metadata Read Loop (9,000 Iterations) | 0.562667131 | 0.568568945 | 0.604832172 | 0.452767134 | 1.284364939 | 1.399320126 | 1.41525197 | 0.948 | ||||||||
| File Copy Loop (10,000 Iterations) | 1.663703918 | 1.526586056 | 1.286942959 | 0.963365078 | 1.960055828 | 2.494624853 | 2.524623871 | 6.548 | ||||||||
| Objects Tests: 350,000 Iterations | 1.232107878 | 1.263194084 | 1.187522888 | 1.055711031 | 1.257570982 | 0.861150026 | 0.835683823 | 0.031 | ||||||||
| MySQL DataBase Tests: 1,000 Iterations | 0.251815081 | - N/A - | 0.292975903 | 1.242689133 | 5.431252956 | |||||||||||
| Postgres DataBase Tests: 1,000 Iterations | 0.31003809 | 0.27957201 | 0.331548929 | 0.288539171 | 0.248520136 | 0.220606089 | ||||||||||
| MS SQL Server DataBase Tests: 1,000 Iterations | 0.521141052 | 0.295 | ||||||||||||||