Python Performance

Open-source Python projects categorized as Performance

Top 23 Python Performance Projects

  • tvm

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

    Project 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

    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-03

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

  • Cython

    The most widely used Python to C compiler

    Project mention: Ask HN: Is there a way to use Python statically typed or with any type-checking? | news.ycombinator.com | 2023-08-06
  • vibora

    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.

  • pyinstrument

    🚴 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 :)

  • taurus

    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

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

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

  • yappi

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

  • requests-cache

    Transparent persistent cache for python requests

  • WordOps

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

    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.

  • pytest-benchmark

    py.test fixture for benchmarking code

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

  • django-cachalot

    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

  • pyopencl

    OpenCL integration for Python, plus shiny features

    Project 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

  • system-monitoring-center

    Multi-featured system monitor

    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
  • nimporter

    Compile Nim Extensions for Python On Import!

  • opt_einsum

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

  • pyperformance

    Python Performance Benchmark Suite

    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

  • Minecraft-Performance-Flags-Benchmarks

    Sane, Benchmarked Java Flags and Tweaks for Minecraft

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

  • austin-tui

    The top-like text-based user interface for Austin

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

  • guider

    A Practically Applicable Performance Analysis Tool for Real Product Development

  • devito

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

  • locust-grasshopper

    a load testing tool extended from locust

    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`

    https://github.com/alteryx/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.

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). The latest post mention was on 2023-09-24.

Python Performance related posts

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
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.
www.sonarsource.com