← Index
NYTProf Performance Profile   « line view »
For /home/ss5/perl5/perlbrew/perls/perl-5.22.0/bin/benchmarkanything-storage
  Run on Mon Jan 29 16:55:34 2018
Reported on Mon Jan 29 16:57:06 2018

Filename/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/x86_64-linux/Class/MOP/Mixin.pm
StatementsExecuted 128 statements in 371µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11112µs13µsClass::MOP::Mixin::::BEGIN@4Class::MOP::Mixin::BEGIN@4
1115µs20µsClass::MOP::Mixin::::BEGIN@7Class::MOP::Mixin::BEGIN@7
1115µs18µsClass::MOP::Mixin::::BEGIN@8Class::MOP::Mixin::BEGIN@8
1114µs7µsClass::MOP::Mixin::::BEGIN@5Class::MOP::Mixin::BEGIN@5
0000s0sClass::MOP::Mixin::::_throw_exceptionClass::MOP::Mixin::_throw_exception
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Class::MOP::Mixin;
21300nsour $VERSION = '2.1605';
3
4214µs215µs
# spent 13µs (12+1) within Class::MOP::Mixin::BEGIN@4 which was called: # once (12µs+1µs) by parent::import at line 4
use strict;
# spent 13µs making 1 call to Class::MOP::Mixin::BEGIN@4 # spent 1µs making 1 call to strict::import
5213µs210µs
# spent 7µs (4+3) within Class::MOP::Mixin::BEGIN@5 which was called: # once (4µs+3µs) by parent::import at line 5
use warnings;
# spent 7µs making 1 call to Class::MOP::Mixin::BEGIN@5 # spent 3µs making 1 call to warnings::import
6
7213µs236µs
# spent 20µs (5+15) within Class::MOP::Mixin::BEGIN@7 which was called: # once (5µs+15µs) by parent::import at line 7
use Scalar::Util 'blessed';
# spent 20µs making 1 call to Class::MOP::Mixin::BEGIN@7 # spent 15µs making 1 call to Exporter::import
8272µs231µs
# spent 18µs (5+13) within Class::MOP::Mixin::BEGIN@8 which was called: # once (5µs+13µs) by parent::import at line 8
use Module::Runtime 'use_module';
# spent 18µs making 1 call to Class::MOP::Mixin::BEGIN@8 # spent 13µs making 1 call to Module::Runtime::import
9
10sub meta {
115921µs require Class::MOP::Class;
1259235µs1183.36ms Class::MOP::Class->initialize( blessed( $_[0] ) || $_[0] );
# spent 3.34ms making 59 calls to Class::MOP::Class::initialize, avg 57µs/call # spent 19µs making 59 calls to Scalar::Util::blessed, avg 320ns/call
13}
14
15sub _throw_exception {
16 my ($class, $exception_type, @args_to_exception) = @_;
17 die use_module( "Moose::Exception::$exception_type" )->new( @args_to_exception );
18}
19
2012µs1;
21
22# ABSTRACT: Base class for mixin classes
23
24__END__