ark_algebra_bench_templates

Macro bench

Source
macro_rules! bench {
    (
        Name = $name:expr,
        Pairing = $Pairing:ident,
        G1 = $G1:ident,
        G2 = $G2:ident,
        ScalarField = $Fr:ident,
        G1BaseField = $Fq:ident,
        G2BaseField = $FqExt:ident,
        TargetField = $FqTarget:ident,
    ) => { ... };
    (
        Name = $name:expr,
        Group = $G:ident,
        ScalarField = $Fr:ident,
        BaseField = $Fq:ident,
    ) => { ... };
    (
        Name = $name:expr,
        Group = $G:ident,
        ScalarField = $Fr:ident,
        PrimeBaseField = $Fq:ident,
    ) => { ... };
}