Python Performance

Open-source Python projects categorized as Performance

Top 23 Python Performance Projects

Performance
  1. locust

    Write scalable load tests in plain Python đźš—đź’¨

    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!

  2. 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.

    InfluxDB logo
  3. 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: I built a hardware processor that runs Python | news.ycombinator.com | 2025-04-28
  4. tvm

    Open deep learning compiler stack for cpu, gpu and specialized accelerators

    Project mention: Apache TVM | news.ycombinator.com | 2024-09-11
  5. Cython

    The most widely used Python to C compiler

    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++.

  6. pyinstrument

    🚴 Call stack profiler for Python. Shows you why your code is slow!

    Project mention: Scalene: A high-performance, high-precision CPU, GPU, memory profiler for Python | news.ycombinator.com | 2024-10-21
  7. deepsparse

    Sparsity-aware deep learning inference runtime for CPUs

  8. taurus

    Automation-friendly framework for Continuous Testing by (by Blazemeter)

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. learning

    Learning Shell,Python,Golang,System,Network (by anzhihe)

  11. yappi

    Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.

  12. socketify.py

    Bringing Http/Https and WebSockets High Performance servers for PyPy3 and Python3

  13. Minecraft-Performance-Flags-Benchmarks

    Sane, Benchmarked Java Flags and Tweaks for Minecraft

  14. WordOps

    Install and manage a high performance WordPress stack with a few keystrokes

    Project mention: WordOps: Install/manage a high performance WordPress stack with a few keystrokes | news.ycombinator.com | 2024-10-05
  15. requests-cache

    Transparent persistent cache for python requests

  16. django-cachalot

    No effort, no worry, maximum performance.

    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

  17. pytest-benchmark

    pytest fixture for benchmarking code

  18. pyopencl

    OpenCL integration for Python, plus shiny features

  19. pyperformance

    Python Performance Benchmark Suite

    Project mention: Python Performance Benchmark Suite | news.ycombinator.com | 2024-08-31
  20. opt_einsum

    ⚡️Optimizing einsum functions in NumPy, Tensorflow, Dask, and more with contraction order optimization.

  21. nimporter

    Compile Nim Extensions for Python On Import!

  22. austin-tui

    The top-like text-based user interface for Austin

  23. guider

    Real-time Performance & Fault Detection Service Enabled by Comprehensive Built-in Command

  24. loopy

    A code generator for array-based code on CPUs and GPUs (by inducer)

    Project mention: Loopy: Code generator for array-based code on CPUs and GPUs | news.ycombinator.com | 2024-12-29
  25. devito

    DSL and compiler framework for automated finite-differences and stencil computation

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Performance discussion

Log in or Post with

Python Performance related posts

  • Self-contained Python scripts with uv

    6 projects | news.ycombinator.com | 29 Mar 2025
  • CatBench Vector Search Playground on Postgres

    1 project | news.ycombinator.com | 2 Mar 2025
  • py_yyjson – Fast, flexible and practical JSON parser for Python

    1 project | news.ycombinator.com | 15 Nov 2024
  • Scalene: A high-performance, high-precision CPU, GPU, memory profiler for Python

    5 projects | news.ycombinator.com | 21 Oct 2024
  • Python Performance Benchmark Suite

    1 project | news.ycombinator.com | 31 Aug 2024
  • Show HN: Fastest regex library for Python. Wrapper of regex (Rust)

    1 project | news.ycombinator.com | 4 Jul 2024
  • Improve Your Python Regex Performance Using Rust

    1 project | dev.to | 29 Jun 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 12 May 2025
    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 →

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

Sponsored
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.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?