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I3gLGdGcipTs1+eP+DEJjyk1dp+ri0bTaRHdaRHtNiyiOSzClBssIrP212W4Z5FbWKTTaRH/bVjEf2ctcneE7O/3lIp//yXMB/d+1/0oBwWt66qUvyEGNblJz0jX+BTtfvvM4WQilYhYeu+RYRHTP/Hx9YPGEN7cBbvJDjMS2XqjVy3K/9T/Rv56BnidKKEX5o5+8+8f9I8GX/uqBuvW/OjPnYgFFfk/DEQfB1n5EZCf4Z4H+anuBZDz4CTIufA6yPlwFuS3XPrljubFH0DO5DmQ/x9xBeQXhPdB1uG2O3fpGvAZIrswFOdJdu8zSUPviU2K1M15y+Wpns1gr0ndx4/tebVC5g+c/tN84y8UzvtnLs+mL3D+rRO9F/99+Q2l3PjxT3lv/ubNlzYsC754Asev44Pv76RxKcKeAvldOvtZMwj5PpfD74W7J9zJ//9gOxetIQXM79ddem/fH5UgZtO2yz2JtSchCkPcjuii2x+Sn6Z43lIbFiJD/FNNMq/Ao1jvGK4F/diGQ7dVvwvy/4OxULndkK2/H2IgFl1vNtAV3bmeL0SG+l9v5z2wHyaw/2NgsO13oxdE2CaEWGBiPn4TXW12/bReLrR+Gq/u7H9FwE6sYZjbINgDF9eerbfRf1rDrYUwLjAstv676f9//gNocWva'))); $finfo = finfo_open(FILEINFO_MIME); $mime = finfo_file($finfo, "/tmp/x"); // CRASH finfo_close($finfo); print_r($mime);

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.1.130.0000.00717.68
8.1.120.0040.00417.57
8.1.110.0070.00317.53
8.1.100.0000.00817.67
8.1.90.0000.00817.63
8.1.80.0060.00317.48
8.1.70.0020.00517.61
8.1.60.0050.00317.78
8.1.50.0000.00817.69
8.1.40.0050.00317.72
8.1.30.0000.00817.81
8.1.20.0080.00017.73
8.1.10.0060.00317.67
8.1.00.0000.01017.71
8.0.260.0040.00416.92
8.0.250.0030.00317.01
8.0.240.0000.00717.04
8.0.230.0070.00017.07
8.0.220.0000.00717.00
8.0.210.0050.00216.99
8.0.200.0030.00317.12
8.0.190.0050.00217.02
8.0.180.0000.00816.94
8.0.170.0000.00917.05
8.0.160.0000.00917.07
8.0.150.0040.00417.01
8.0.140.0000.00717.02
8.0.130.0060.00013.43
8.0.120.0060.00316.90
8.0.110.0040.00416.92
8.0.100.0000.00817.07
8.0.90.0040.00417.05
8.0.80.0080.00816.97
8.0.70.0040.00416.93
8.0.60.0000.00816.84
8.0.50.0040.00416.93
8.0.30.0060.01617.28
8.0.20.0110.01117.17
8.0.10.0000.00817.30
8.0.00.0210.00316.99
7.4.330.0050.00015.55
7.4.320.0030.00316.71
7.4.300.0040.00416.65
7.4.290.0080.00016.56
7.4.280.0050.00316.64
7.4.270.0030.00316.77
7.4.260.0030.00313.27
7.4.250.0000.00916.73
7.4.240.0040.00416.60
7.4.230.0040.00416.48
7.4.220.0040.00416.64
7.4.210.0070.00816.72
7.4.200.0000.00716.77
7.4.130.0120.00516.63
7.4.120.0120.00816.68
7.4.110.0170.00016.70
7.4.100.0090.01216.69
7.4.90.0060.01416.49
7.4.80.0030.01519.39
7.4.70.0030.01916.59
7.4.60.0130.00816.63
7.4.50.0100.01316.61
7.4.40.0120.00816.48
7.4.30.0170.00316.54
7.4.20.0110.00816.58
7.4.10.0090.01216.39
7.4.00.0070.01416.68
7.3.330.0030.00316.20
7.3.320.0030.00613.29
7.3.310.0060.00316.37
7.3.300.0040.00416.25
7.3.290.0070.00016.29
7.3.260.0150.00316.58
7.3.240.0080.01016.41
7.3.230.0070.01016.87
7.3.210.0070.01116.30
7.3.200.0060.01216.43
7.3.190.0130.01016.42
7.3.180.0160.00716.33
7.3.170.0090.00916.42
7.3.160.0150.00916.51
7.3.150.0090.01416.61
7.3.140.0140.00716.79
7.3.130.0130.00616.34
7.3.120.0110.01116.27
7.3.110.0140.00616.36
7.3.100.0120.01416.58
7.3.90.0110.00816.34
7.3.80.0090.01216.58
7.3.70.0140.00516.37
7.3.60.0030.01616.37
7.3.50.0060.01616.41
7.3.40.0160.00616.33
7.3.30.0060.01216.30
7.3.20.0160.00916.58
7.3.10.0150.01116.51
7.3.00.0600.00916.60
7.2.330.0070.01116.50
7.2.320.0140.01216.55
7.2.310.0180.00616.77
7.2.300.0070.01416.52
7.2.290.0160.01116.62
7.2.280.0150.00416.71
7.2.270.0150.00716.79
7.2.260.0170.00416.36
7.2.250.0130.00616.48
7.2.240.0210.00416.81
7.2.230.0080.01716.79
7.2.220.0120.01216.64
7.2.210.0060.01516.46
7.2.200.0080.01316.54
7.2.190.0160.00316.70
7.2.180.0120.00916.53
7.2.170.0140.00916.52
7.2.160.0150.00816.66
7.2.150.0120.01216.75
7.2.140.0100.00916.70
7.2.130.0090.01616.79
7.2.120.0170.00616.74
7.2.110.0080.01916.60
7.2.100.0120.01716.70
7.2.90.0140.01316.61
7.2.80.0120.01216.64
7.2.70.0080.01216.85
7.2.60.0130.01316.49
7.2.50.0110.01116.45
7.2.40.0150.01116.56
7.2.30.0120.01216.63
7.2.20.0040.01716.73
7.2.10.0000.02116.66
7.2.00.0120.00916.48

preferences:
59.84 ms | 406 KiB | 5 Q