that one thing that one time

ramblings by Adam Perry

Home / RSS / Email / GitHub / Twitter /


"rust exploration serialization format"

moxie: incremental declarative UI in Rust

2019-12-02 | ui

Read More

lolbench: automagically and empirically discovering Rust performance regressions

2018-09-29 | performance

lolbench compiles ~350 benchmarks with every Rust nightly. It then runs them and highlights potential performance regressions in the standard library and the output of the compiler. Each toolchain's run is summarized with a list of likely candidates, as seen in the image below, and we're now getting started using these to safeguard the performance of Rust programs. Come help!

Read More

Snapshots: Automating Golden Master Regression Tests in Rust

2017-08-18 | rust

I've been playing around with snapshot, a crate for automating golden master tests in Rust. It's experimental and unstable, but I think it's a cool example of how easy it is to build procedural macro helpers with the newer Rust APIs.

Read More

Rust Performance: A story featuring perf and flamegraph on Linux

2016-07-24 | rust, performance

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


Update: the cue crate on has been transfered to someone working with CUE format files for compact discs.

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

Read More

Baby Steps: Slowly Porting musl to Rust


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()

2016-02-24 | performance

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

2016-02-16 | performance

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

Read More