Releases: hendriknielaender/zBench
v0.3.0
What's Changed
- feat: display sys infos by @hendriknielaender & @FObersteiner in #46
- chore: cleanup & refactor quickSort by @hendriknielaender in #45
- chore: add windows encoding note by @hendriknielaender in #50
- Added init/deinit to BenchmarkResults and updated examples by @Bryysen in #51
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
- Various small changes/improvments by @Bryysen in #33
- introduce scoped logging & revise debug print by @FObersteiner in #34
- refactor(build): streamline test setup in setupTesting function by @hendriknielaender in #36
- Store computed metrics in BenchmarkResult and move report/pretty-print functionality into BenchmarkResult by @Bryysen in #38
- Fix small formatting bug, move prettyPrintHeader to utils by @Bryysen in #43
- chore(ci): remove zig master build by @hendriknielaender in #44
- feat(config): Add config struct by @hendriknielaender in #42
Full Changelog: v0.1.2...v0.2.0
v0.1.2
v0.1.1
What's Changed
- Refactor build.zig for Enhanced Readability and Dynamic Test Inclusion by @hendriknielaender in #25
- docs: add guides and update zbench.zig for documentation enhancement by @hendriknielaender in #27
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
- chore(ci): setup basic build, test & fmt jobs by @hendriknielaender in #2
- chore: add logo by @hendriknielaender in #3
- docs: update install via build.zig.zon by @hendriknielaender in #7
- chore: add bubble sort example by @hendriknielaender in #8
- Change from microsecond to nanosecond timer resolution by @FObersteiner in #13
- fix: use duration array length for average calculation by @hendriknielaender in #12
- feat(benchmark): refine operations counting logic by @hendriknielaender in #14
- close memory leak with testing allocator by @FObersteiner in #16
- Migrate to std.time.Timer and tweak benchmark boundaries by @FObersteiner in #19
- docs: add comprehensive doc comments for library types and functions by @hendriknielaender in #20
- chore(ci): add github pages job for docs by @hendriknielaender in #23
New Contributors
- @hendriknielaender made their first contribution in #2
- @FObersteiner made their first contribution in #13
Full Changelog: 0.0.1...v0.1.0
v0.0.1
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.