Karen Etheridge > Cache-Profile > Cache::Profile::CorrelateMissTiming

Download:
Cache-Profile-0.04.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.04   Source  

NAME ^

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

VERSION ^

version 0.04

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 beginning 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

SUPPORT ^

Bugs may be submitted through the RT bug tracker (or bug-Cache-Profile@rt.cpan.org).

AUTHOR ^

יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>

COPYRIGHT AND LICENCE ^

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.

syntax highlighting: