Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Some context from one of the replies to that tweet:

> This is a graph of CPU utilization for the web services that power PyPI. Today we upgraded from 3.10 to 3.11 and saw a significant and correlated drop in CPU usage -- nearly half.

>

> The CPython team has been putting a lot of effort into improving performance recently and it shows!



[flagged]


If you have some substantive insight about the code in https://github.com/pypi/warehouse please post your ideas in https://pypi.org/help/#feedback ;-)


He means the CPython code not the PyPI one.


How do we know that?


Because the post and graph is about 3.10 --> 3.11 upgrade, not about the PyPi core.


i wad replying to one specific post about the python package index Pypi


A post which said "The CPython team has been putting a lot of effort into improving performance recently".


If you're talking about the older approach to implementation CPython used to take then I must say if was pretty efficient for what it did (all while keeping the code clean). It took a 2-3 days deep dive for a moderately prepared programmer to understand ins/outs of the interpreter.

Optimisations coming to Python are a departure from the "clean-first code" approach. It's performance coming at a price of complexity.


and it was about time!


Perhaps. That still doesn't mean that this is a major improvement.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: