Benchy: A benchmark tool

We built a small tool that simplifies how to perform some benchmarks to measure time & memory of a process. Not only crystal programs.

In essence, it’s a wrapper to /usr/bin/time -l (mac) or /usr/bin/time -v (linux) with some handy support to integrate with load generators like ab while measuring the main process.

It’s a tiny app, but might be helpful for someone else as is.

Repo: https://github.com/manastech/benchy
Docs: https://github.com/manastech/benchy/blob/master/DOCS.md
Sample: https://github.com/manastech/benchy/tree/master/sample

6 Likes

As a follow up, the tool has evolved in the last couple of weeks a bit.

And we’ve created https://observablehq.com/@bcardiff/benchy-viewer to view the results as a chart easily.
Currently some sample data shown in the notebook is about the memory, time, and binary size of a simple program across different versions.

2 Likes