InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 Python Performance Projects
-
Project mention: Smoke, stress, spike, soak, and recovery: 5 essential load test profiles | news.ycombinator.com | 2024-08-15
Hi everyone!
Long time lurker, first time poster here. I'm the maintainer of Locust (https://github.com/locustio/locust), and this is the second part of my series about load testing.
Let me know what you think!
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Nuitka
Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4-3.13. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
-
-
Project mention: How to Get Started with Scikit-Learn: A Beginner-Friendly Guide to Machine Learning in Python | dev.to | 2025-04-24
As is the case with most Python libraries, it is open-source and free-to-use, making it easily accessible by anyone willing to learn machine learning, and it is built upon other open-source libraries within Python, like SciPy for advanced scientific operations, NumPy for efficient numerical computations, Matplotlib for data visualization, and Cython for increased efficiency and speed, similar to that of C/C++.
-
Project mention: Scalene: A high-performance, high-precision CPU, GPU, memory profiler for Python | news.ycombinator.com | 2024-10-21
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
Project mention: WordOps: Install/manage a high performance WordPress stack with a few keystrokes | news.ycombinator.com | 2024-10-05
-
-
Project mention: Do you need Redis? PostgreSQL does queuing, locking, and pub/sub | news.ycombinator.com | 2024-11-03
Django has caching built in with support for Redis, and it also has an in-memory caching option which they label as “not for production” (because if you have multiple instances of Django serving requests, their in-memory caches will diverge which is...bad).
But for lots of cases, especially internal business tools, we can scale up a single instance for a long time, and this in-memory caching makes things super fast.
There’s a library, django-cachalot [1], that handles cache invalidation automatically any time a write happens to a table. That’s a rather blunt way to handle cache invalidation, but it’s wonderful because it will give you a boost for free with virtually no effort on your part, and if your internal business app has infrequent updates it basically runs entirely in RAM, and falls back to regular database queries if the data isn’t in the cache.
[1] https://github.com/noripyt/django-cachalot
-
-
-
-
opt_einsum
⚡️Optimizing einsum functions in NumPy, Tensorflow, Dask, and more with contraction order optimization.
-
-
-
-
Project mention: Loopy: Code generator for array-based code on CPUs and GPUs | news.ycombinator.com | 2024-12-29
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Performance discussion
Python Performance related posts
-
Self-contained Python scripts with uv
-
CatBench Vector Search Playground on Postgres
-
py_yyjson – Fast, flexible and practical JSON parser for Python
-
Scalene: A high-performance, high-precision CPU, GPU, memory profiler for Python
-
Python Performance Benchmark Suite
-
Show HN: Fastest regex library for Python. Wrapper of regex (Rust)
-
Improve Your Python Regex Performance Using Rust
-
A note from our sponsor - InfluxDB
www.influxdata.com | 12 May 2025
Index
What are some of the best open-source Performance projects in Python? This list will help you:
# | Project | Stars |
---|---|---|
1 | locust | 26,114 |
2 | Nuitka | 13,110 |
3 | tvm | 12,254 |
4 | Cython | 9,982 |
5 | pyinstrument | 7,058 |
6 | deepsparse | 3,143 |
7 | taurus | 2,060 |
8 | learning | 2,007 |
9 | yappi | 1,569 |
10 | socketify.py | 1,554 |
11 | Minecraft-Performance-Flags-Benchmarks | 1,464 |
12 | WordOps | 1,427 |
13 | requests-cache | 1,411 |
14 | django-cachalot | 1,343 |
15 | pytest-benchmark | 1,304 |
16 | pyopencl | 1,097 |
17 | pyperformance | 910 |
18 | opt_einsum | 902 |
19 | nimporter | 845 |
20 | austin-tui | 644 |
21 | guider | 637 |
22 | loopy | 601 |
23 | devito | 600 |