hayai
« Back to VersTracker
Description:
C++ benchmarking framework inspired by the googletest framework
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: benchmarking c++ testing performance development
Install: brew install hayai
About:
Hayai is a C++ benchmarking framework that provides a simple, gtest-inspired API for performance testing. It allows developers to easily measure execution time and throughput of their code with minimal boilerplate. The framework integrates directly into existing build systems and provides clear, actionable performance metrics.
Key Features:
  • Simple, gtest-like syntax for defining benchmarks
  • Low overhead and high-precision timing
  • Support for benchmarking with custom setups and teardowns
  • Outputs results in a human-readable format
Use Cases:
  • Measuring performance of specific C++ functions or algorithms
  • Identifying bottlenecks in performance-critical code paths
  • Continuous performance regression testing
Alternatives:
  • Google Benchmark – More feature-rich and widely adopted, but can be more complex to set up
  • Criterion – A modern C testing framework with benchmarking capabilities, primarily for C but usable with C++
Version History
Detected Version Rev Change Commit
Dec 21, 2024 1:39am 0 VERSION_BUMP 63edba18
Oct 27, 2024 3:46pm 0 VERSION_BUMP c62a4652
Sep 14, 2024 8:43pm 0 VERSION_BUMP 6f082dad