The Crystal Programming Language Forum

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

5 Likes