Devel-NYTProf

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Getopt::Long" : "0",
            "JSON::MaybeXS" : "0",
            "List::Util" : "0",
            "XSLoader" : "0"
         }
      },
      "test" : {
         "requires" : {
            "Capture::Tiny" : "0",
            "Sub::Name" : "0.11",
            "Test::Differences" : "0.60",
            "Test::More" : "0.84"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/timbunce/devel-nytprof/issues"
      },
      "homepage" : "https://code.google.com/p/perl-devel-nytprof/",

META.yml  view on Meta::CPAN

---
abstract: 'Powerful fast feature-rich Perl source code profiler'
author:
  - 'Tim Bunce <timb@cpan.org>'
build_requires:
  Capture::Tiny: '0'
  ExtUtils::MakeMaker: '0'
  Sub::Name: '0.11'
  Test::Differences: '0.60'
  Test::More: '0.84'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Devel-NYTProf

Makefile.PL  view on Meta::CPAN


$mm_opts{PREREQ_PM} = {
    'List::Util'   => 0,
    'File::Which'  => '1.09',
    'XSLoader'     => 0,
    'Getopt::Long' => 0,
    'JSON::MaybeXS' => 0,
};
$mm_opts{TEST_REQUIRES} = {
    'Test::More'   => '0.84',
    'Test::Differences' => '0.60',
    'Capture::Tiny' => 0,
    'Sub::Name' => '0.11',
};

$mm_opts{BUILD_REQUIRES} = {
    %{$mm_opts{BUILD_REQUIRES} || {}},
    %{delete $mm_opts{TEST_REQUIRES}}
} if $ExtUtils::MakeMaker::VERSION < 6.63_03;

$mm_opts{PREREQ_PM} = {

t/42-global.t  view on Meta::CPAN

use strict;
use warnings;
# Tests CORE::GLOBAL::foo plus assorted data model methods

use Test::More;
use lib '/home/travis/perl5'; # travis workaround https://travis-ci.org/timbunce/devel-nytprof/jobs/35285944
use Test::Differences;

use lib qw(t/lib);
use NYTProfTest;

use Devel::NYTProf::Run qw(profile_this);

my $pre589 = ($] < 5.008009 or $] eq "5.010000");

my $src_code = join("", <DATA>);



( run in 2.143 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )