Cache-Profile

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "warnings" : "0"
         }
      },
      "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",

META.yml  view on Meta::CPAN

    version: '0.06'
  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'

Makefile.PL  view on Meta::CPAN

  "DISTNAME" => "Cache-Profile",
  "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,

Makefile.PL  view on Meta::CPAN

  "Carp" => 0,
  "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 {

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

                                      'warnings' => '0'
                                    }
                    },
       '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',

t/profile.t  view on Meta::CPAN

#!/usr/bin/perl

use strict;
use warnings;

use Time::HiRes 1.84 qw(time clock);
use Try::Tiny;
use Test::More;
use List::Util qw(shuffle);

use Test::Needs qw(
    Cache::Ref::FIFO
    Cache::Ref::LRU
    Cache::Ref::CART
    Cache::Ref::CLOCK
);



( run in 0.776 second using v1.01-cache-2.11-cpan-05444aca049 )