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
Open deep learning compiler stack for cpu, gpu and specialized acceleratorsProject mention: Making AMD GPUs competitive for LLM inference | news.ycombinator.com | 2023-08-09
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 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.
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.
The most widely used Python to C compilerProject mention: Ask HN: Is there a way to use Python statically typed or with any type-checking? | news.ycombinator.com | 2023-08-06
Fast, asynchronous and elegant Python web framework.Project mention: A Look on Python Web Performance at the end of 2022 | dev.to | 2022-11-14
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.
🚴 Call stack profiler for Python. Shows you why your code is slow!Project mention: How to profile an asynchronous FastAPI server | /r/Python | 2023-08-09
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 :)
Automation-friendly framework for Continuous Testing by (by Blazemeter)Project mention: Implement DevSecOps to Secure your CI/CD pipeline | dev.to | 2022-09-27
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.
Learning Shell，Python，Golang，System，Network (by anzhihe)
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.
Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.
Transparent persistent cache for python requests
Install and manage a high performance WordPress stack with a few keystrokesProject 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.
py.test fixture for benchmarking codeProject mention: Investigating Pydantic v2's Bold Performance Claims | dev.to | 2023-05-17
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.
No effort, no worry, maximum performance.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
OpenCL integration for Python, plus shiny featuresProject mention: An example for OpenCL 3.0? | /r/OpenCL | 2023-03-11
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
Multi-featured system monitorProject 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
Compile Nim Extensions for Python On Import!
⚡️Optimizing einsum functions in NumPy, Tensorflow, Dask, and more with contraction order optimization.
Python Performance Benchmark SuiteProject 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
Sane, Benchmarked Java Flags and Tweaks for MinecraftProject mention: here | /r/feedthebeast | 2023-08-30
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.
The top-like text-based user interface for AustinProject mention: Flameshow: A Terminal Flamegraph Viewer | news.ycombinator.com | 2023-09-24
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...
A Practically Applicable Performance Analysis Tool for Real Product Development
DSL and compiler framework for automated finite-differences and stencil computation
a load testing tool extended from locust
A micro/macro benchmark framework for the Python programming language that helps with optimizing your software.
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
10 projects | news.ycombinator.com | 24 Sep 2023
1 project | /r/feedthebeast | 30 Aug 2023
How to profile an asynchronous FastAPI server
1 project | /r/Python | 9 Aug 2023
How to decrease cpu usage in 1.12.2 Modded?
1 project | /r/feedthebeast | 12 Jul 2023
How to expand to full traceback
1 project | /r/vscode | 11 Jul 2023
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.
5 projects | /r/gnome | 10 Jul 2023
I Wanna Allocate More Ram But...
1 project | /r/CurseForge | 10 Jul 2023
A note from our sponsor - Sonar
www.sonarsource.com | 25 Sep 2023
What are some of the best open-source Performance projects in Python? This list will help you: