logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Fix::Bind::benchmark - a binder that calculates the execution time of Fix functions

Configuration

output
       Required. The path of a file to which the benchmark statistics will be written.

Description

       The benchmark binder computes all the Fix function plus as side effect calculates the execution time of
       all wrapped functions over all input records.

Name

       Catmandu::Fix::Bind::benchmark - a binder that calculates the execution time of Fix functions

See Also

       Catmandu::Fix::Bind

perl v5.40.0                                       2025-01-17                Catmandu::Fix::Bind::benchmark(3pm)

Synopsis

        do benchmark(output:/dev/stderr)
           foo()
        end

        # will create as side effect computation statistics on the stderr

        elapsed   command              calls    sec/comm
        -------------------------------------------------------------
        0.000006  Catmandu::Fix::foo   1 times  0.000006 secs/command

See Also