Introduction

Welcome to zBench, a benchmarking library for the Zig programming language. zBench is designed to offer developers an easy and efficient way to measure and compare the performance of code segments in Zig applications.

Features

  • Simple API — zBench provides a straightforward and intuitive API, making it easy to write benchmarks.
  • Flexibility — It supports various benchmarking scenarios, from simple function performance tests to complex system benchmarks.
  • Performance Metrics — Reports include total operations, average, minimum, maximum durations, and percentile distributions.

Why zBench?

zBench is built with the philosophy of simplicity and effectiveness. Whether you’re a beginner in Zig or an experienced developer, zBench offers the tools to perform reliable and insightful performance evaluations of your code.