Skip to content

v0.0.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@hendriknielaender hendriknielaender released this 24 Jul 22:49
· 126 commits to main since this release
aec1ec8

Initial release of zBench, a simple benchmarking library for the Zig programming language. This first version, v0.0.1, is designed to provide easy-to-use functionality for measuring and comparing the performance of your code.

New Features

  • Benchmark creation: Define benchmark functions and control the number of iterations for accurate measurements.
  • Progress indication: Track the progress of your benchmark for long-running operations.
  • Flexible benchmark duration: Choose the minimum duration for your benchmarks, allowing for extended testing.
  • Statistics generation: Calculate min, max, average, p75, p99, and p995 durations for a thorough understanding of your code's performance.
  • Colorful reports: Enjoy user-friendly, color-coded output reports for better readability.

Examples

Check out our updated README for examples of how to use zBench in your Zig projects.

Future Plans

zBench is still in the early stages of development. The goal is to expand its functionality in future releases, with additional features such as custom benchmark groups, more advanced statistics, memory consumption, and integrated visualization of results.

Feedback

Please feel free to raise issues on our GitHub project page if you encounter any problems, or if you have ideas for future enhancements.