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texcqsftbaz/a9/3ak0mEk5w1Ho9fXFVvymw97bES391V9fYkl57g0wIAAIBv1Fq7eiEBfiCzTZ7+V5Kfaq3dMJlMLp5Op1sf58dt6brusiSvbK39zoZpznYXBwAAYHMN62kfrspmtiv4gSS7W2vvq6rr+r6/Yn19/byFH9uyvLx89mQyOX8ymVzc9/0VmbUt+mi+cbfm+7uu27FpJwcAAABz0+l0a2vtDUm+uGEzqgeq6t4k+4ZNoH6o7/tXd13X+r7/5qEH75uS/J2q+uSGtb4PJnnnyeopDAAAAE/YQiK8ZzERrqp7hirxgQ3Tmh8akuO9izs5V9WddkoGAADgdLClqq5vrf1qjq8P8Z7W2nds9uABAADguCW5dNipefdCort32CjrM1X1gWEn6Zdu9lgBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABOgNtvv/3jt99++2EhhBBCCCGEOE3i45udR3Gaul0CLIQQQgghhDi9QgIMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnIn+P3ZSsZtysKDsAAAAAElFTkSuQmCC");

Here you find the average performance (time & memory) of each version. A grayed 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.1.100.0060.00817.60
7.1.70.0030.00716.68
7.1.60.0200.00319.30
7.1.50.0150.00616.52
7.1.00.0000.08022.35
7.0.200.0000.00716.61
7.0.140.0000.07022.18
7.0.120.0070.06722.09
7.0.60.0030.08320.02
7.0.50.0070.03717.80
7.0.40.0000.09320.40
7.0.30.0370.05720.16
7.0.20.0230.04320.21
7.0.10.0130.06720.02
7.0.00.0070.08720.10
5.6.280.0070.07020.78
5.6.210.0070.06320.53
5.6.200.0100.08018.11
5.6.190.0030.05020.32
5.6.180.0530.06720.45
5.6.170.0430.08020.33
5.6.160.0130.08320.38
5.6.150.0130.04318.12
5.6.140.0200.04718.20
5.6.130.0030.07318.11
5.6.120.0100.08321.04
5.6.110.0000.04721.09
5.6.100.0070.07721.00
5.6.90.0030.06321.03
5.6.80.0070.05720.51
5.5.350.0200.08020.41
5.5.340.0070.08018.02
5.5.330.0030.05320.41
5.5.320.0370.06020.28
5.5.310.0170.04720.20
5.5.300.0030.04017.98
5.5.290.0030.08017.98
5.5.280.0000.05320.96
5.5.270.0130.06720.95
5.5.260.0130.06020.87
5.5.250.0070.03720.77
5.5.240.0030.07720.35
5.4.450.0070.05019.43
5.4.440.0030.05319.46
5.4.430.0070.06019.48
5.4.420.0070.07319.24
5.4.410.0030.06018.98
5.4.400.0130.07319.18
5.4.390.0070.07019.16
5.4.380.0030.08019.11
5.4.370.0070.03718.92
5.4.360.0030.08019.18
5.4.350.0170.03318.78
5.4.340.0030.05319.18
5.4.320.0070.07019.16
5.4.310.0130.07319.09
5.4.300.0030.08019.14
5.4.290.0030.08019.07
5.4.280.0100.03318.91
5.4.270.0070.06319.18
5.4.260.0100.07318.91
5.4.250.0070.07318.78
5.4.240.0200.02319.17
5.4.230.0000.04319.00
5.4.220.0100.07019.17
5.4.210.0070.07019.13
5.4.200.0130.06719.06
5.4.190.0130.06018.99
5.4.180.0100.07719.17
5.4.170.0100.05319.13
5.4.160.0070.04719.06
5.4.150.0070.04019.05
5.4.140.0070.07016.27
5.4.130.0070.05016.24
5.4.120.0130.05716.43
5.4.110.0070.06316.23
5.4.100.0100.06316.16
5.4.90.0030.03716.30
5.4.80.0000.04016.29
5.4.70.0130.06316.25
5.4.60.0030.08016.32
5.4.50.0030.08316.34
5.4.40.0030.07716.32
5.4.30.0100.06016.21
5.4.20.0030.05016.25
5.4.10.0030.08016.58
5.4.00.0030.07315.73
5.3.290.0070.07314.55
5.3.280.0100.07714.48
5.3.270.0130.07314.45
5.3.260.0270.06014.54
5.3.250.0030.06014.43
5.3.240.0070.06714.71
5.3.230.0070.07014.62
5.3.220.0100.04014.40
5.3.210.0070.05014.47
5.3.200.0000.04014.50
5.3.190.0070.04014.59
5.3.180.0070.03314.66
5.3.170.0030.04314.50
5.3.160.0070.04714.39
5.3.150.0130.03714.53
5.3.140.0000.06014.48
5.3.130.0070.05714.48
5.3.120.0070.06714.48
5.3.110.0070.04314.48
5.3.100.0100.07313.98
5.3.90.0070.03313.96
5.3.80.0100.04014.04
5.3.70.0030.04313.86
5.3.60.0130.06013.95
5.3.50.0030.05313.84
5.3.40.0070.07013.94
5.3.30.0070.05313.75
5.3.20.0030.03713.63
5.3.10.0030.04013.59
5.3.00.0030.03313.57
5.2.170.0030.06311.04
5.2.160.0100.03011.11
5.2.150.0030.04311.32
5.2.140.0030.03311.10
5.2.130.0030.03011.02
5.2.120.0030.03310.97
5.2.110.0000.03011.04
5.2.100.0000.03011.11
5.2.90.0030.02710.97
5.2.80.0000.03011.11
5.2.70.0130.02711.27
5.2.60.0000.03311.05
5.2.50.0030.03310.98
5.2.40.0000.03310.83
5.2.30.0000.03310.97
5.2.20.0000.03310.82
5.2.10.0000.03710.87
5.2.00.0000.03010.63
5.1.60.0070.0409.98
5.1.50.0070.0439.85
5.1.40.0070.02010.03
5.1.30.0070.02010.42
5.1.20.0130.02310.36
5.1.10.0000.02710.07
5.1.00.0000.02710.07
5.0.50.0000.0208.98
5.0.40.0000.0208.98
5.0.30.0000.0308.98
5.0.20.0000.0208.98
5.0.10.0030.0178.98
5.0.00.0000.0308.98
4.4.90.0030.0138.98
4.4.80.0030.0138.98
4.4.70.0000.0178.98
4.4.60.0030.0138.98
4.4.50.0000.0408.98
4.4.40.0000.0278.98
4.4.30.0030.0238.98
4.4.20.0000.0178.98
4.4.10.0070.0108.98
4.4.00.0000.0278.98
4.3.110.0030.0138.98
4.3.100.0000.0138.98
4.3.90.0000.0138.98
4.3.80.0000.0238.98
4.3.70.0000.0178.98
4.3.60.0030.0108.98
4.3.50.0000.0178.98
4.3.40.0000.0238.98
4.3.30.0000.0138.98
4.3.20.0000.0178.98
4.3.10.0000.0178.98
4.3.00.0000.0138.98