Catmandu::Fix::Bind::benchmark(3pm)

Catmandu::Fix::Bind::benchmark3pm

A binder that calculates the execution time of fix functions

Usage

 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

Overview

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

Configuration

output

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

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From libcatmandu-perl 1.2024-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.