Cache-Profile

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         }
      },
      "runtime" : {
         "requires" : {
            "Carp" : "0",
            "Class::MOP" : "0",
            "Guard" : "0",
            "Moose" : "0",
            "Time::HiRes" : "1.84",
            "Try::Tiny" : "0",
            "namespace::autoclean" : "0",
            "perl" : "5.006"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {
            "ExtUtils::MakeMaker" : "0",
            "File::Spec" : "0",

META.yml  view on Meta::CPAN

  Cache::Profile::CorrelateMissTiming:
    file: lib/Cache/Profile/CorrelateMissTiming.pm
    version: '0.06'
requires:
  Carp: '0'
  Class::MOP: '0'
  Guard: '0'
  Moose: '0'
  Time::HiRes: '1.84'
  Try::Tiny: '0'
  namespace::autoclean: '0'
  perl: '5.006'
resources:
  bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Cache-Profile
  homepage: https://github.com/karenetheridge/Cache-Profile
  repository: https://github.com/karenetheridge/Cache-Profile.git
version: '0.06'
x_Dist_Zilla:
  perl:
    version: '5.025005'
  plugins:

Makefile.PL  view on Meta::CPAN

  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.006",
  "NAME" => "Cache::Profile",
  "PREREQ_PM" => {
    "Carp" => 0,
    "Class::MOP" => 0,
    "Guard" => 0,
    "Moose" => 0,
    "Time::HiRes" => "1.84",
    "Try::Tiny" => 0,
    "namespace::autoclean" => 0
  },
  "TEST_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "List::Util" => 0,
    "Test::More" => 0,
    "Test::Needs" => 0,
    "ok" => 0,
    "strict" => 0,
    "warnings" => 0

Makefile.PL  view on Meta::CPAN

  "Class::MOP" => 0,
  "ExtUtils::MakeMaker" => 0,
  "File::Spec" => 0,
  "Guard" => 0,
  "List::Util" => 0,
  "Moose" => 0,
  "Test::More" => 0,
  "Test::Needs" => 0,
  "Time::HiRes" => "1.84",
  "Try::Tiny" => 0,
  "namespace::autoclean" => 0,
  "ok" => 0,
  "strict" => 0,
  "warnings" => 0
);

unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

lib/Cache/Profile.pm  view on Meta::CPAN

package Cache::Profile; # git description: v0.05-2-gd123baf
# ABSTRACT: Measure the performance of a cache

our $VERSION = '0.06';

use Moose;
use Carp;
use Time::HiRes 1.84 qw(tv_interval gettimeofday time clock);
use Try::Tiny;
use Class::MOP;
use namespace::autoclean;

has cache => (
    isa => "Object",
    is  => "ro",
    required => 1,
);

sub AUTOLOAD {
    my $self = shift;

lib/Cache/Profile/Compare.pm  view on Meta::CPAN

package Cache::Profile::Compare;
# ABSTRACT: Compare several caches

our $VERSION = '0.06';

use Moose;
use Carp qw(croak);
use Cache::Profile::CorrelateMissTiming;
use namespace::autoclean;

has profile_class => (
    isa => "ClassName",
    is  => "ro",
    default => "Cache::Profile::CorrelateMissTiming",
    required => 1,
);

has caches => (
    traits => [qw(Array)],

lib/Cache/Profile/CorrelateMissTiming.pm  view on Meta::CPAN

package Cache::Profile::CorrelateMissTiming;
# ABSTRACT: Guess the time to compute a cache miss by correlating C<set> and C<get>

our $VERSION = '0.06';

use Moose;
use Guard;
use Time::HiRes 1.84 qw(tv_interval clock gettimeofday);
use namespace::autoclean;

extends qw(Cache::Profile);

has _last_get_timing => (
    traits => [qw(Hash)],
    isa => "HashRef",
    is => "rw",
    handles => {
        _missed_key => "delete",
        _clear_missed => "clear",

t/00-report-prereqs.dd  view on Meta::CPAN

                                    }
                    },
       'runtime' => {
                      'requires' => {
                                      'Carp' => '0',
                                      'Class::MOP' => '0',
                                      'Guard' => '0',
                                      'Moose' => '0',
                                      'Time::HiRes' => '1.84',
                                      'Try::Tiny' => '0',
                                      'namespace::autoclean' => '0',
                                      'perl' => '5.006'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {
                                   'ExtUtils::MakeMaker' => '0',
                                   'File::Spec' => '0',



( run in 0.476 second using v1.01-cache-2.11-cpan-4d50c553e7e )