how i did that one thing that one time

Some technical ramblings by Adam Perry.

Rust Performance: A story featuring perf and flamegraph on Linux

Gaining some performance wins in a Rust program with a 7 line diff, using cargo bench, perf, and flamegraph on Linux.

Read More

cue: a little parallel pipeline

I published a quick little crate for long-running “streaming” parallel tasks.

Read More

Baby Steps: Slowly Porting musl to Rust

TLDR: I’m toying with writing a C standard library in Rust by porting musl-libc over function-by-function. The work is in progress at

Read More

Measuring Rust Runtime Performance: cargo bench vs. getrusage()

TLDR: Comparing cargo bench results to a slightly more robust method eliminates a lot of the noise, but there still appear to be a few performance regressions that both methods agree on. If someone has the statistics expertise to set me straight or help me take this further or both, please get in touch.

Read More

(Almost) 6 Months of Rust Runtime Performance

After reading this issue, I decided to poke around in the history of rustc’s runtime performance.

Read More