Skip to main content

Mojo module

quick_bench

Provides simplified benchmarking interface with automatic boilerplate handling.

This module implements the QuickBench type, which wraps the full Bench infrastructure to provide a simpler interface for common benchmarking tasks. It automatically handles Bencher setup and the keep() calls needed to prevent optimization, supporting functions with 0-10 arguments.

Structs

  • QuickBench: Defines a struct to facilitate benchmarking and avoiding Bencher boilerplate.

Was this page helpful?