The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Benchmark::Perl::Formance::Plugin::Skeleton - benchmark plugin - Skeleton - An example plugin

ABOUT

You can create your own plugins by just creating a module in the namespace Benchmark::Perl::Formance::Plugin::* which simply has to provide a

sub main {
my ($options) = @_;
# do something
return { result_key1 => $value1,
result_key2 => $value2,
}
}

To use it call the frontend tool and provide your pluginname via --plugins:

$ benchmark-perlformance --plugins=HotStuff

If your module should become a default part of the Benchmark::Perl::Formance suite, then patch the $DEFAULT_PLUGINS in lib/Benchmark/Perl/Formance.pm and/or email me.

AUTHOR

Steffen Schwigon <ss5@renormalist.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 by Steffen Schwigon.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.