יובל קוג'מן (Yuval Kogman) > Cache-Profile > Cache::Profile::CorrelateMissTiming

Download:
Cache-Profile-0.02.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.02   Source  

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) 2011 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.

syntax highlighting: