Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 23 Python Performance Projects
-
Yes, this is coming! Myself and others at OctoML and in the TVM community are actively working on multi-gpu support in the compiler and runtime. Here are some of the merged and active PRs on the multi-GPU (multi-device) roadmap:
Support in TVM’s graph IR (Relax) - https://github.com/apache/tvm/pull/15447
-
Nuitka
Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
Project mention: Briefcase: Convert a Python project into a standalone native application | news.ycombinator.com | 2023-08-03Nuitka deals pretty well with those in general: https://nuitka.net/
-
Mergify
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
-
Project mention: Ask HN: Is there a way to use Python statically typed or with any type-checking? | news.ycombinator.com | 2023-08-06
-
After year of japronto dominance as the firsy place of TechEmPower PlaintText for Python, a new library called vibora appears... and it's another project without any updates since 2019. Ok let's filter vibora and japronto and go for the next one that is active, a new library called socketify.py and also another new library called robyn arrives on the millions req/s in the live results.
-
I was wondering if you have any synchronous routes in your app? We have an open issue regarding those and would love some ideas for solutions :)
-
We can use Jmeter, Taurus, Postman, and SoapUI tools for API testing. Below is a small example using Jmeter where test.jmx contains the API test cases.
-
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
-
-
Project mention: [Guide] Do a full setup of WordPress using Nginx, Redis and WP CLI | /r/selfhosted | 2023-03-24
https://wordops.net is also nice to automate parts, if you don't mind that it's all running under the same user.
-
To test this, we will setup some benchmarks using pytest-benchmark, some sample data with a simple schema, and compare results between Python's dataclass, Pydantic v1, and v2.
-
Project mention: Easiest way to add write-through cache for auth_user queries? | /r/django | 2023-05-16
Particularly I use django-cachalot, as it's easy to use and very feature complete for my use cases: https://github.com/noripyt/django-cachalot
-
Please note that OpenCL consists of two parts: host API and a separate language which is used to write kernels (code which is going to be offloaded to devices). OpenCL specification describes host APIs as C-style APIs and that is what implementors has to provide. However, there are number of various libraries which provides bindings for other languages: - C++ - Python - Go - Rust
-
Project mention: Does anyone else find Gnome "System Monitor" not so pretty? I know this app is harder to re-write or convert to GTK4 compare to others like an image viewer etc. I appreciate the hard work put in to these apps. | /r/gnome | 2023-07-10
-
-
opt_einsum
⚡️Optimizing einsum functions in NumPy, Tensorflow, Dask, and more with contraction order optimization.
-
Project mention: Phoronix: PyPerformance benchmark is on average 32% faster on Python 3.11 compared to 3.10 (on a Ryzen 9 5950X) | /r/Python | 2022-10-26
PyPerformance benchmark: https://github.com/python/pyperformance
-
If that doesn't work, try using Java arguments: https://github.com/brucethemoose/Minecraft-Performance-Flags-Benchmarks and/or increase the amount of allocated ram to 10GB.
-
There is a "live" flamegraph TUI that uses Austin for those interested in Python profiling https://github.com/P403n1x87/austin-tui. The data collected can be exported and then converted into pprof, and analysed further with flameshow etc...
-
-
-
Project mention: Grasshopper – An Open Source Python Library for Load Testing | news.ycombinator.com | 2023-05-01
For what it's worth, the repo and package name is `locust-grasshopper`
-
python-benchmark-harness
A micro/macro benchmark framework for the Python programming language that helps with optimizing your software.
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
Python Performance related posts
- Flameshow: A Terminal Flamegraph Viewer
- here
- How to profile an asynchronous FastAPI server
- How to decrease cpu usage in 1.12.2 Modded?
- How to expand to full traceback
- Does anyone else find Gnome "System Monitor" not so pretty? I know this app is harder to re-write or convert to GTK4 compare to others like an image viewer etc. I appreciate the hard work put in to these apps.
- I Wanna Allocate More Ram But...
-
A note from our sponsor - Sonar
www.sonarsource.com | 25 Sep 2023
Index
What are some of the best open-source Performance projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | tvm | 10,337 |
2 | Nuitka | 9,708 |
3 | Cython | 8,371 |
4 | vibora | 5,705 |
5 | pyinstrument | 5,578 |
6 | taurus | 1,887 |
7 | learning | 1,478 |
8 | yappi | 1,227 |
9 | requests-cache | 1,160 |
10 | WordOps | 1,141 |
11 | pytest-benchmark | 1,125 |
12 | django-cachalot | 1,072 |
13 | pyopencl | 985 |
14 | system-monitoring-center | 812 |
15 | nimporter | 787 |
16 | opt_einsum | 750 |
17 | pyperformance | 746 |
18 | Minecraft-Performance-Flags-Benchmarks | 704 |
19 | austin-tui | 596 |
20 | guider | 543 |
21 | devito | 465 |
22 | locust-grasshopper | 153 |
23 | python-benchmark-harness | 141 |