A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-July/154595.html below:

[Python-Dev] Micro-benchmarks for PEP 580

[Python-Dev] Micro-benchmarks for PEP 580 [Python-Dev] Micro-benchmarks for PEP 580Victor Stinner vstinner at redhat.com
Wed Jul 11 04:50:15 EDT 2018
2018-07-11 2:12 GMT+02:00 INADA Naoki <songofacandy at gmail.com>:
> If my idea has 50% gain and current PEP 580 has only 5% gain,
> why we should accept PEP 580?
> But no one know real gain, because there are no realistic application
> which bottleneck is calling overhead.

I'm skeptical about "50% gain": I want to see a working implementation
and reproduce benchmarks myself to believe that :-) As you wrote, the
cost of function costs is unlikely the bottleneck of application.

Sorry, I didn't read all these PEPs about function calls, but IMHO a
minor speedup on micro benchmarks must not drive a PEP. If someone
wants to work on CPython performance, I would suggest to think bigger
and target 2x speedup on applications. To get to this point, the
bottleneck is the C API and so we have to fix our C API first.

http://vstinner.readthedocs.io/python_new_stable_api.html

Victor
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4