Skip to main content

Crate pbench_macros

Crate pbench_macros 

Source
Expand description

Proc macros for pbench benchmark registration.

Provides #[bench] and #[bench_group] attribute macros that generate static registration code using linker sections for pre-main initialization.

Attribute Macrosยง

bench
Mark a function as a benchmark.
bench_group
Mark a module as a benchmark group.