← Index
NYTProf Performance Profile   « line view »
For svc/members/upsert
  Run on Tue Jan 13 11:50:22 2015
Reported on Tue Jan 13 12:09:47 2015

Filename/usr/lib/x86_64-linux-gnu/perl5/5.20/Package/Stash/XS.pm
StatementsExecuted 13 statements in 465µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
4941113µs132µsPackage::Stash::XS::::get_symbolPackage::Stash::XS::get_symbol (xsub)
687139µs42µsPackage::Stash::XS::::namespacePackage::Stash::XS::namespace (xsub)
92125µs35µsPackage::Stash::XS::::has_symbolPackage::Stash::XS::has_symbol (xsub)
44123µs23µsPackage::Stash::XS::::newPackage::Stash::XS::new (xsub)
81118µs20µsPackage::Stash::XS::::remove_globPackage::Stash::XS::remove_glob (xsub)
11111µs11µsPackage::Stash::XS::::BEGIN@2Package::Stash::XS::BEGIN@2
1119µs19µsPackage::Stash::XS::::list_all_symbolsPackage::Stash::XS::list_all_symbols (xsub)
1119µs9µsPackage::Stash::XS::::BEGIN@10Package::Stash::XS::BEGIN@10
1116µs10µsPackage::Stash::XS::::BEGIN@9Package::Stash::XS::BEGIN@9
1116µs6µsPackage::Stash::XS::::add_symbolPackage::Stash::XS::add_symbol (xsub)
1116µs16µsPackage::Stash::XS::::BEGIN@8Package::Stash::XS::BEGIN@8
1114µs4µsPackage::Stash::XS::::BEGIN@13Package::Stash::XS::BEGIN@13
4412µs2µsPackage::Stash::XS::::namePackage::Stash::XS::name (xsub)
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Package::Stash::XS;
2
# spent 11µs within Package::Stash::XS::BEGIN@2 which was called: # once (11µs+0s) by Module::Runtime::require_module at line 4
BEGIN {
315µs $Package::Stash::XS::AUTHORITY = 'cpan:DOY';
4128µs111µs}
# spent 11µs making 1 call to Package::Stash::XS::BEGIN@2
5{
62600ns $Package::Stash::XS::VERSION = '0.28';
7}
8220µs226µs
# spent 16µs (6+10) within Package::Stash::XS::BEGIN@8 which was called: # once (6µs+10µs) by Module::Runtime::require_module at line 8
use strict;
# spent 16µs making 1 call to Package::Stash::XS::BEGIN@8 # spent 10µs making 1 call to strict::import
9222µs214µs
# spent 10µs (6+4) within Package::Stash::XS::BEGIN@9 which was called: # once (6µs+4µs) by Module::Runtime::require_module at line 9
use warnings;
# spent 10µs making 1 call to Package::Stash::XS::BEGIN@9 # spent 4µs making 1 call to warnings::import
10238µs19µs
# spent 9µs within Package::Stash::XS::BEGIN@10 which was called: # once (9µs+0s) by Module::Runtime::require_module at line 10
use 5.008001;
# spent 9µs making 1 call to Package::Stash::XS::BEGIN@10
11# ABSTRACT: faster and more correct implementation of the Package::Stash API
12
13246µs14µs
# spent 4µs within Package::Stash::XS::BEGIN@13 which was called: # once (4µs+0s) by Module::Runtime::require_module at line 13
use XSLoader;
# spent 4µs making 1 call to Package::Stash::XS::BEGIN@13
14XSLoader::load(
15 __PACKAGE__,
16 # we need to be careful not to touch $VERSION at compile time, otherwise
17 # DynaLoader will assume it's set and check against it, which will cause
18 # fail when being run in the checkout without dzil having set the actual
19 # $VERSION
20 exists $Package::Stash::XS::{VERSION}
211301µs1294µs ? ${ $Package::Stash::XS::{VERSION} } : (),
# spent 294µs making 1 call to XSLoader::load
22);
23
24
2515µs1;
26
27__END__
 
# spent 6µs (6+300ns) within Package::Stash::XS::add_symbol which was called: # once (6µs+300ns) by namespace::clean::get_class_store at line 363 of namespace/clean.pm
sub Package::Stash::XS::add_symbol; # xsub
# spent 132µs (113+19) within Package::Stash::XS::get_symbol which was called 49 times, avg 3µs/call: # 32 times (64µs+10µs) by namespace::clean::__ANON__[/usr/share/perl5/namespace/clean.pm:252] at line 237 of namespace/clean.pm, avg 2µs/call # 8 times (22µs+6µs) by namespace::clean::__ANON__[/usr/share/perl5/namespace/clean.pm:252] at line 213 of namespace/clean.pm, avg 4µs/call # 8 times (23µs+3µs) by namespace::clean::get_functions at line 381 of namespace/clean.pm, avg 3µs/call # once (4µs+300ns) by namespace::clean::get_class_store at line 365 of namespace/clean.pm
sub Package::Stash::XS::get_symbol; # xsub
# spent 35µs (25+10) within Package::Stash::XS::has_symbol which was called 9 times, avg 4µs/call: # 8 times (21µs+6µs) by namespace::clean::import at line 308 of namespace/clean.pm, avg 3µs/call # once (3µs+4µs) by namespace::clean::get_class_store at line 363 of namespace/clean.pm
sub Package::Stash::XS::has_symbol; # xsub
# spent 19µs (9+10) within Package::Stash::XS::list_all_symbols which was called: # once (9µs+10µs) by namespace::clean::get_functions at line 381 of namespace/clean.pm
sub Package::Stash::XS::list_all_symbols; # xsub
# spent 2µs within Package::Stash::XS::name which was called 4 times, avg 525ns/call: # once (700ns+0s) by Package::Stash::XS::namespace at line 381 of namespace/clean.pm # once (500ns+0s) by Package::Stash::XS::namespace at line 308 of namespace/clean.pm # once (500ns+0s) by Package::Stash::XS::namespace at line 213 of namespace/clean.pm # once (400ns+0s) by Package::Stash::XS::namespace at line 363 of namespace/clean.pm
sub Package::Stash::XS::name; # xsub
# spent 42µs (39+2) within Package::Stash::XS::namespace which was called 68 times, avg 610ns/call: # 32 times (10µs+0s) by Package::Stash::XS::get_symbol at line 237 of namespace/clean.pm, avg 297ns/call # 9 times (12µs+700ns) by Package::Stash::XS::get_symbol or Package::Stash::XS::list_all_symbols at line 381 of namespace/clean.pm, avg 1µs/call # 8 times (6µs+500ns) by Package::Stash::XS::get_symbol at line 213 of namespace/clean.pm, avg 788ns/call # 8 times (6µs+500ns) by Package::Stash::XS::has_symbol at line 308 of namespace/clean.pm, avg 775ns/call # 8 times (2µs+0s) by Package::Stash::XS::remove_glob at line 241 of namespace/clean.pm, avg 288ns/call # 2 times (4µs+400ns) by Package::Stash::XS::add_symbol or Package::Stash::XS::has_symbol at line 363 of namespace/clean.pm, avg 2µs/call # once (300ns+0s) by Package::Stash::XS::get_symbol at line 365 of namespace/clean.pm
sub Package::Stash::XS::namespace; # xsub
# spent 23µs within Package::Stash::XS::new which was called 4 times, avg 6µs/call: # once (12µs+0s) by namespace::clean::get_functions at line 379 of namespace/clean.pm # once (5µs+0s) by namespace::clean::__ANON__[/usr/share/perl5/namespace/clean.pm:252] at line 204 of namespace/clean.pm # once (3µs+0s) by namespace::clean::get_class_store at line 361 of namespace/clean.pm # once (3µs+0s) by namespace::clean::import at line 296 of namespace/clean.pm
sub Package::Stash::XS::new; # xsub
# spent 20µs (18+2) within Package::Stash::XS::remove_glob which was called 8 times, avg 3µs/call: # 8 times (18µs+2µs) by namespace::clean::__ANON__[/usr/share/perl5/namespace/clean.pm:252] at line 241 of namespace/clean.pm, avg 3µs/call
sub Package::Stash::XS::remove_glob; # xsub