python-speed
multi-core-python
Our great sponsors
python-speed | multi-core-python | |
---|---|---|
3 | 1 | |
13 | 237 | |
- | - | |
3.0 | 10.0 | |
3 months ago | over 1 year ago | |
Python | ||
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python-speed
-
Python 3.11 beta vs. 3.10 benchmark
Compared speed to Python 3.9 using python-speed benchmark [1]
Basically overall 24% increase in performance "for free". Impressive. Stack usage and multiprocessing had the largest gain.
python-speed v1.3 using python v3.9.2
string/mem: 2400.67 ms
pi calc/math: 2996.1 ms
regex: 3201.59 ms
fibonnaci/stack: 2487.13 ms
multiprocess: 812.37 ms
total: 11897.85 ms (lower is better)
-----
python-speed v1.3 using python v3.11.0
string/mem: 2234.78 ms
pi calc/math: 2667.84 ms
regex: 2548.81 ms
fibonnaci/stack: 1149.57 ms
multiprocess: 480.25 ms
total: 9081.25 ms (lower is better)
-----
[1] https://github.com/vprelovac/python-speed
-
Show HN: Easy cloud instance comparison (AWS, GCP, Azure, IBM, Alibaba and more)
https://github.com/vprelovac/python-speed
These were coming mostly from the fact that some providers updated to the latest AMD chips.
- I created a simple Python-based speed test for measuring peroformance of different hosting providers
multi-core-python
-
Python 3.11 beta vs. 3.10 benchmark
At this point, I've given up hope that CPython will ever lose the GIL.
The best we can hope for is having multiple interpreters[0], each with their own GIL[1].
[0] https://peps.python.org/pep-0554/
[1] https://github.com/ericsnowcurrently/multi-core-python/issue...
What are some alternatives?
speedtest-cli - Command line interface for testing internet bandwidth using speedtest.net
CPython - The Python programming language
ideas