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. Learn more →
Top 17 Rust Performance Projects
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.
I recently wrote a JIT compiler and got lazy compilation of machine code working and I'm nowhere near beginning optimisation
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.
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
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.
A high performance concurrent caching library for RustProject 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.
[wip] A Python package manager written in Rust inspired by Cargo.Project mention: Why is poetry such a mess? | /r/Python | 2023-04-28
Load testing framework, inspired by Locust (by tag1consulting)
Website for graphing performance of rustcProject 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.
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.
Fast function for printing integer primitives to a decimal string (by dtolnay)
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 - Continuous BenchmarkingProject 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
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.
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 is an HTTP load testing application written in RustProject 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
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
quickly find all "blackhole" directories with a huge amount of filesystem entries in a flat structure
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
Code for comparing CDN speeds!
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.
Rust Performance related posts
Adding runtime benchmarks to the Rust compiler benchmark suite
3 projects | news.ycombinator.com | 30 Sep 2023
[rustc-perf] Runtime benchmarks got finally merged
1 project | /r/rust | 29 Jul 2023
LinuxCon: Catch performance regressions in Rust
1 project | /r/rust | 30 May 2023
Grasshopper – An Open Source Python Library for Load Testing
3 projects | news.ycombinator.com | 1 May 2023
New release of Goku!
1 project | /r/rust | 10 Apr 2023
Ask HN: Was programming more interesting when memory usage was a concern?
1 project | news.ycombinator.com | 2 Apr 2023
Can Rust's compile time match its runtime performance?
3 projects | /r/rust | 27 Mar 2023
A note from our sponsor - Onboard AI
getonboard.dev | 3 Oct 2023
What are some of the best open-source Performance projects in Rust? This list will help you: