The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Cache::Profile::CorrelateMissTiming

SYNOPSIS

    # see Cache::Profile

DESCRIPTION

This class will make a guess at the time it took to generate values, by saving the time just before returning from a get with a cache miss, until the begining of a set.

This value is a guess and may be completely wrong.

It also fails to account for the overhead of profiling/delegating/etc, so it's only really useful when the cost of a cache miss is more than a simple computation.

Otherwise it works exactly like Cache::Profile

NAME

Cache::Profile::CorrelateMissTiming - Guess the time to compute a cache miss by correlating set and get

AUTHOR

  Yuval Kogman

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Yuval Kogman.

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