Skip to main content

Crate pgrx_bench

Crate pgrx_bench 

Source

Modules§

pgrx
Internal support API for pgrx-generated benchmark wrappers and cargo pgrx bench.

Structs§

Bencher
Timing harness passed to a #[pg_bench] benchmark function.

Enums§

BatchSize
Re-export of Criterion’s batching strategy enum for Bencher::iter_batched.

Functions§

black_box
Re-export of std::hint::black_box, which helps keep the optimizer from removing the work you intend to measure.