NAME

Measure::Everything::Adapter::Test - Test Adapter: for testing...

VERSION

version 1.003

SYNOPSIS

Measure::Everything::Adapter->set( 'Test' );

DESCRIPTION

Collect stats in an in-memory array. Useful when you want to test if things are measured.

METHODS

get_stats

my $stats = $stats->get_stats;

Returns all the stats collected in the raw format (i.e. as an array).

reset

$stats->reset;

Flushes all stats collected so far, starts from a clean slate.

AUTHOR

Thomas Klausner <domm@plix.at>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 - 2021 by Thomas Klausner.

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