I have been asked to update speed.python.org, so here are some data. I
didn't look into the details.

Python 3.8 compared to 3.7 (compare development branches):

At least 10% difference: 10 faster, 3 slower

haypo@speed-python$ PYTHONPATH=~/pyperf python3 -m pyperf compare_to
/home/haypo/json/uploaded/2019-10-10_11-17-3.7-ca012360b103.json.gz
/home/haypo/json/uploaded/2019-10-10_11-19-3.8-baf8a9b03a56.json.gz -G
--min-speed=10 --table

+-----------------------+-----------------------------------+-----------------------------------+
| Benchmark             | 2019-10-10_11-17-3.7-ca012360b103 |
2019-10-10_11-19-3.8-baf8a9b03a56 |
+=======================+===================================+===================================+
| sympy_expand          | 1.07 sec                          | 843 ms:
1.27x faster (-22%)       |
+-----------------------+-----------------------------------+-----------------------------------+
| sympy_integrate       | 45.6 ms                           | 37.1 ms:
1.23x faster (-19%)      |
+-----------------------+-----------------------------------+-----------------------------------+
| sympy_str             | 651 ms                            | 540 ms:
1.21x faster (-17%)       |
+-----------------------+-----------------------------------+-----------------------------------+
| pickle_dict           | 55.4 us                           | 46.3 us:
1.20x faster (-16%)      |
+-----------------------+-----------------------------------+-----------------------------------+
| unpickle_pure_python  | 726 us                            | 618 us:
1.18x faster (-15%)       |
+-----------------------+-----------------------------------+-----------------------------------+
| sympy_sum             | 369 ms                            | 315 ms:
1.17x faster (-15%)       |
+-----------------------+-----------------------------------+-----------------------------------+
| sqlalchemy_imperative | 73.0 ms                           | 64.3 ms:
1.14x faster (-12%)      |
+-----------------------+-----------------------------------+-----------------------------------+
| pickle                | 23.1 us                           | 20.3 us:
1.14x faster (-12%)      |
+-----------------------+-----------------------------------+-----------------------------------+
| mako                  | 31.6 ms                           | 28.2 ms:
1.12x faster (-11%)      |
+-----------------------+-----------------------------------+-----------------------------------+
| django_template       | 292 ms                            | 264 ms:
1.11x faster (-10%)       |
+-----------------------+-----------------------------------+-----------------------------------+
| nbody                 | 234 ms                            | 266 ms:
1.14x slower (+14%)       |
+-----------------------+-----------------------------------+-----------------------------------+
| scimark_fft           | 640 ms                            | 730 ms:
1.14x slower (+14%)       |
+-----------------------+-----------------------------------+-----------------------------------+
| logging_silent        | 316 ns                            | 391 ns:
1.24x slower (+24%)       |
+-----------------------+-----------------------------------+-----------------------------------+


More verbose, at least 5% difference:


haypo@speed-python$ PYTHONPATH=~/pyperf python3 -m pyperf compare_to
/home/haypo/json/uploaded/2019-10-10_11-17-3.7-ca012360b103.json.gz
/home/haypo/json/uploaded/2019-10-10_11-19-3.8-baf8a9b03a56.json.gz -G
--min-speed=5 --table
+-------------------------+-----------------------------------+-----------------------------------+
| Benchmark               | 2019-10-10_11-17-3.7-ca012360b103 |
2019-10-10_11-19-3.8-baf8a9b03a56 |
+=========================+===================================+===================================+
| sympy_expand            | 1.07 sec                          | 843
ms: 1.27x faster (-22%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| sympy_integrate         | 45.6 ms                           | 37.1
ms: 1.23x faster (-19%)      |
+-------------------------+-----------------------------------+-----------------------------------+
| sympy_str               | 651 ms                            | 540
ms: 1.21x faster (-17%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| pickle_dict             | 55.4 us                           | 46.3
us: 1.20x faster (-16%)      |
+-------------------------+-----------------------------------+-----------------------------------+
| unpickle_pure_python    | 726 us                            | 618
us: 1.18x faster (-15%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| sympy_sum               | 369 ms                            | 315
ms: 1.17x faster (-15%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| sqlalchemy_imperative   | 73.0 ms                           | 64.3
ms: 1.14x faster (-12%)      |
+-------------------------+-----------------------------------+-----------------------------------+
| pickle                  | 23.1 us                           | 20.3
us: 1.14x faster (-12%)      |
+-------------------------+-----------------------------------+-----------------------------------+
| mako                    | 31.6 ms                           | 28.2
ms: 1.12x faster (-11%)      |
+-------------------------+-----------------------------------+-----------------------------------+
| django_template         | 292 ms                            | 264
ms: 1.11x faster (-10%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| dulwich_log             | 155 ms                            | 145
ms: 1.07x faster (-7%)        |
+-------------------------+-----------------------------------+-----------------------------------+
| regex_compile           | 364 ms                            | 340
ms: 1.07x faster (-6%)        |
+-------------------------+-----------------------------------+-----------------------------------+
| xml_etree_iterparse     | 189 ms                            | 178
ms: 1.06x faster (-5%)        |
+-------------------------+-----------------------------------+-----------------------------------+
| pickle_list             | 7.24 us                           | 6.85
us: 1.06x faster (-5%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| regex_effbot            | 5.10 ms                           | 4.85
ms: 1.05x faster (-5%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| scimark_monte_carlo     | 200 ms                            | 211
ms: 1.05x slower (+5%)        |
+-------------------------+-----------------------------------+-----------------------------------+
| fannkuch                | 883 ms                            | 932
ms: 1.06x slower (+6%)        |
+-------------------------+-----------------------------------+-----------------------------------+
| pyflate                 | 1.30 sec                          | 1.38
sec: 1.06x slower (+6%)      |
+-------------------------+-----------------------------------+-----------------------------------+
| chameleon               | 20.9 ms                           | 22.2
ms: 1.06x slower (+6%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| python_startup          | 11.5 ms                           | 12.3
ms: 1.07x slower (+7%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| spectral_norm           | 247 ms                            | 265
ms: 1.07x slower (+7%)        |
+-------------------------+-----------------------------------+-----------------------------------+
| unpack_sequence         | 114 ns                            | 122
ns: 1.08x slower (+8%)        |
+-------------------------+-----------------------------------+-----------------------------------+
| pickle_pure_python      | 934 us                            | 1.02
ms: 1.09x slower (+9%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| regex_dna               | 271 ms                            | 295
ms: 1.09x slower (+9%)        |
+-------------------------+-----------------------------------+-----------------------------------+
| scimark_sparse_mat_mult | 8.61 ms                           | 9.38
ms: 1.09x slower (+9%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| nbody                   | 234 ms                            | 266
ms: 1.14x slower (+14%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| scimark_fft             | 640 ms                            | 730
ms: 1.14x slower (+14%)       |
+-------------------------+-----------------------------------+-----------------------------------+
| logging_silent          | 316 ns                            | 391
ns: 1.24x slower (+24%)       |
+-------------------------+-----------------------------------+-----------------------------------+

Victor
-- 
Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________
Speed mailing list -- speed@python.org
To unsubscribe send an email to speed-le...@python.org

Reply via email to