← 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:07 2018

Filename/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/Search/Elasticsearch/Serializer/JSON.pm
StatementsExecuted 12 statements in 136µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11118µs813µsSearch::Elasticsearch::Serializer::JSON::::BEGIN@3Search::Elasticsearch::Serializer::JSON::BEGIN@3
11111µs21µsSearch::Elasticsearch::Serializer::JSON::::BEGIN@4Search::Elasticsearch::Serializer::JSON::BEGIN@4
1118µs21µsSearch::Elasticsearch::Serializer::JSON::::__ANON__[:6]Search::Elasticsearch::Serializer::JSON::__ANON__[:6]
1118µs150µsSearch::Elasticsearch::Serializer::JSON::::BEGIN@9Search::Elasticsearch::Serializer::JSON::BEGIN@9
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Search::Elasticsearch::Serializer::JSON;
21200ns$Search::Elasticsearch::Serializer::JSON::VERSION = '5.01';
3232µs21.61ms
# spent 813µs (18+796) within Search::Elasticsearch::Serializer::JSON::BEGIN@3 which was called: # once (18µs+796µs) by Module::Runtime::require_module at line 3
use Moo;
# spent 813µs making 1 call to Search::Elasticsearch::Serializer::JSON::BEGIN@3 # spent 796µs making 1 call to Moo::import
4358µs232µs
# spent 21µs (11+10) within Search::Elasticsearch::Serializer::JSON::BEGIN@4 which was called: # once (11µs+10µs) by Module::Runtime::require_module at line 4
use JSON::MaybeXS 1.002002 ();
# spent 21µs making 1 call to Search::Elasticsearch::Serializer::JSON::BEGIN@4 # spent 10µs making 1 call to UNIVERSAL::VERSION
5
6211µs3315µs
# spent 21µs (8+13) within Search::Elasticsearch::Serializer::JSON::__ANON__[/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/Search/Elasticsearch/Serializer/JSON.pm:6] which was called: # once (8µs+13µs) by Search::Elasticsearch::Serializer::JSON::new at line 52 of (eval 309)[Sub/Quote.pm:3]
has 'JSON' => ( is => 'ro', default => sub { JSON::MaybeXS->new->utf8(1) } );
# spent 302µs making 1 call to Moo::has # spent 12µs making 1 call to JSON::MaybeXS::new # spent 600ns making 1 call to Cpanel::JSON::XS::utf8
7
81900ns1360µswith 'Search::Elasticsearch::Role::Serializer::JSON';
# spent 360µs making 1 call to Moo::with
9222µs2291µs
# spent 150µs (8+142) within Search::Elasticsearch::Serializer::JSON::BEGIN@9 which was called: # once (8µs+142µs) by Module::Runtime::require_module at line 9
use namespace::clean;
# spent 150µs making 1 call to Search::Elasticsearch::Serializer::JSON::BEGIN@9 # spent 142µs making 1 call to namespace::clean::import
10
1115µs1;
12
13# ABSTRACT: The default JSON Serializer, using JSON::MaybeXS
14
1517µs1132µs__END__