Rust Performance

Open-source Rust projects categorized as Performance

Top 17 Rust Performance Projects

  • sozu

    Sōzu HTTP reverse proxy, configurable at runtime, fast and safe, built in Rust. It is awesome!

    Project mention: Erlang: More Optimizations in the Compiler and JIT | news.ycombinator.com | 2023-04-19

    This is interesting, thank you.

    I really should learn from BEAM and the OTP and learn Erlang. I get the feeling it's super robust and reliable and low maintenance. I wrote a userspace multithreaded scheduler which distributes N lightweight threads to M kernel threads.

    https://github.com/samsquire/preemptible-thread

    I recently wrote a JIT compiler and got lazy compilation of machine code working and I'm nowhere near beginning optimisation

    https://github.com/samsquire/compiler

    How do you write robust software, that doesn't crash when something unexpected goes on?

    I looked at sozo https://github.com/sozu-proxy/sozu

    and I'm thinking how to create something that just stays up and running regardless.

  • woodpecker

    Drill is an HTTP load testing application written in Rust (by fcsonline)

    Project mention: What are some less popular but well-made crates you'd like others to know about? | /r/rust | 2023-01-08
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • moka

    A high performance concurrent caching library for Rust

    Project mention: Python deserves a good in-memory cache library! | /r/Python | 2023-02-08

    If you know Caffeine(Java)/Ristretto(Go)/Moka(Rust), you know what Theine is. Python deserves a good in-memory cache library.

  • huak

    [wip] A Python package manager written in Rust inspired by Cargo.

    Project mention: Why is poetry such a mess? | /r/Python | 2023-04-28
  • goose

    Load testing framework, inspired by Locust (by tag1consulting)

  • rustc-perf

    Website for graphing performance of rustc

    Project mention: Adding runtime benchmarks to the Rust compiler benchmark suite | news.ycombinator.com | 2023-09-30

    > what do people use to run benchmarks on CI?

    Typically, you purchase/rent a server that does nothing but sequentially run queued benchmarks (and the size/performance of this server doesn't really matter, as long as the performance is consistent), then sends the report somewhere for hosting and processing. Of course, this could be triggered by something running in CI, and the CI job could wait for the results, if benchmarking is an important part of your workflow.

    But CI and benchmarks really shouldn't be run on the same host.

    > What does the rust project use?

    It's not clear exactly where the Rust benchmark "perf-runner" is hosted, but here are the specifications of the machine at least: https://github.com/rust-lang/rustc-perf/blob/414230abc695bd7...

    > What do other projects use?

    Essentially what I described above, a dedicated machine that runs benchmarks. The Rust project seems to do it via GitHub comments (as I understand https://github.com/rust-lang/rustc-perf/tree/master/collecto...), others have API servers that respond to HTTP requests done from CI/chat, others have remote GUIs that triggers the runs. I don't think there is a single solution that everyone/most are using.

  • binjs-ref

    Reference implementation for the JavaScript Binary AST format

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • itoa

    Fast function for printing integer primitives to a decimal string (by dtolnay)

  • ZenithTA

    A high performance python technical analysis library written in Rust and the Numpy C API.

    Project mention: Easiest way to get a pandas dataframe from python to rust? | /r/rust | 2023-01-21

    I have a technical analysis library written for Python using Rust and PyO3 called ZenithTA. A typical Dataframe for a stock has four columns: open, high, low, and close. Currently, I am converting each of the rows into lists to pass into Rust. It would be way easier if the end user could just pass in the dataframe, and I could just manipulate it in Rust. Does anyone have any tips or advice for doing this?

  • bencher

    🐰 Bencher - Continuous Benchmarking

    Project mention: LinuxCon: Catch performance regressions in Rust | /r/rust | 2023-05-30

    +1 and an `iai` adapter is in the works for Bencher: https://github.com/bencherdev/bencher/issues/82

  • perf-ninja-rs

    Rust port of dendibakh/perf-ninja - an online course where you can learn and master the skill of low-level performance analysis and tuning.

    Project mention: Announcing `compact_str` version 0.7! A small string optimization for Rust | /r/rust | 2023-02-22

    For benchmarking I follow the guide at grahamking/perf-ninja-rs. They detail how to disable hyper threading, pin execution to a single core, and other things, so you can create an environment for the most accurate and repeatable testing.

  • quadim

    High-performance Quadtree image compression/stylization, 100+FPS on modern computers and avoiding ugly non-squares 💢

    Project mention: Fast image quadtree stylization impl using Rust (>100FPS with multithreading) | news.ycombinator.com | 2023-05-12
  • goku

    Goku is an HTTP load testing application written in Rust

    Project mention: What's everyone working on this week (17/2023)? | /r/rust | 2023-04-24

    I'm working on giving it some more functionality to goku

  • java-2-times-faster-than-c

    An inquiry into nondogmatic software development. An experiment showing double performance of the code running on JVM comparing to equivalent native C code.

    Project mention: "Clean" Code, Horrible Performance | /r/programming | 2023-02-28

    As far as the absolute performance you have this sort of effect too. https://github.com/xemantic/java-2-times-faster-than-c

  • findlargedir

    quickly find all "blackhole" directories with a huge amount of filesystem entries in a flat structure

  • tailcall

    A high-performance GraphQL proxy, optimized for cloud-native environments, covering edge, middle, and service layers.

    Project mention: API Orchestrator for Scale | news.ycombinator.com | 2023-07-12
  • speed-tests

    Code for comparing CDN speeds!

  • Revelo Payroll

    Free Global Payroll designed for tech teams. Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.

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

Rust Performance related posts

Index

What are some of the best open-source Performance projects in Rust? This list will help you:

Project Stars
1 sozu 2,575
2 woodpecker 1,787
3 moka 997
4 huak 570
5 goose 564
6 rustc-perf 539
7 binjs-ref 421
8 itoa 250
9 ZenithTA 215
10 bencher 164
11 perf-ninja-rs 143
12 quadim 118
13 goku 94
14 java-2-times-faster-than-c 51
15 findlargedir 49
16 tailcall 35
17 speed-tests 27
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.
www.influxdata.com