Skip to main content

group

Attribute Macro group 

Source
#[group]
Expand description

Define a benchmark group

§Example

#[flux::group(
    id = "parsing",
    description = "Parser performance tests",
    tags = "hot-path, critical"
)]
struct ParsingGroup;

// Nested groups
#[flux::group(
    id = "json_parsing",
    parent = "parsing",
    description = "JSON-specific parsing benchmarks"
)]
struct JsonParsingGroup;