[Python-Dev] Benchmarks why we need PEP 576/579/580
Guido van Rossum
guido at python.org
Sat Jul 21 16:46:21 EDT 2018
Given the cost of a mistake here I recommend a higher standard. But in the
end it’s no longer my decision.
On Sat, Jul 21, 2018 at 11:18 AM Jeroen Demeyer <J.Demeyer at ugent.be> wrote:
> On 2018-07-21 19:55, Guido van Rossum wrote:
> > I don’t think we can safely assume Python 3.7 has the same performance,
> > actually. A lot has changed.
>
> I'm not denying that some things have changed. Rather, I claim that
> those changes wouldn't invalidate the benchmarks.
>
> I am comparing calls through tp_call (A) versus optimized call paths
> (B). I only need to assume that the speed improvements to (A) between
> 2.7 and 3.7 are not bigger than the speed improvements to (B).
>
> Most optimizations which have been done in Python 3.x target (B). In
> fact, I'm not aware of any optimization to (A) apart from maybe some
> minor code improvements. So I think it's a relatively safe assumption
> that the speed difference between (A) and (B) did not decrease from 2.7
> to 3.7.
>
>
> Jeroen.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/guido%40python.org
>
--
--Guido (mobile)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180721/cf21017b/attachment.html>
More information about the Python-Dev
mailing list