← Index
NYTProf Performance Profile   « line view »
For flows_to_es.pl
  Run on Mon May 9 23:27:59 2016
Reported on Mon May 9 23:28:09 2016

Filename/opt/flows/lib/lib/perl5/Search/Elasticsearch/Serializer/JSON.pm
StatementsExecuted 14 statements in 340µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1111.06ms1.35msSearch::Elasticsearch::Serializer::JSON::::BEGIN@4Search::Elasticsearch::Serializer::JSON::BEGIN@4
11123µs474µsSearch::Elasticsearch::Serializer::JSON::::BEGIN@3Search::Elasticsearch::Serializer::JSON::BEGIN@3
11114µs266µsSearch::Elasticsearch::Serializer::JSON::::BEGIN@9Search::Elasticsearch::Serializer::JSON::BEGIN@9
11112µs34µsSearch::Elasticsearch::Serializer::JSON::::__ANON__[:6]Search::Elasticsearch::Serializer::JSON::__ANON__[:6]
1119µs79µsSearch::Elasticsearch::Serializer::JSON::::__ANON__[:3]Search::Elasticsearch::Serializer::JSON::__ANON__[:3]
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;
21500ns$Search::Elasticsearch::Serializer::JSON::VERSION = '2.02';
3469µs3994µs
# spent 474µs (23+451) within Search::Elasticsearch::Serializer::JSON::BEGIN@3 which was called: # once (23µs+451µs) by Module::Runtime::require_module at line 3 # spent 79µs (9+70) within Search::Elasticsearch::Serializer::JSON::__ANON__[/opt/flows/lib/lib/perl5/Search/Elasticsearch/Serializer/JSON.pm:3] which was called: # once (9µs+70µs) by import::into at line 34 of Import/Into.pm
use Moo;
# spent 474µs making 1 call to Search::Elasticsearch::Serializer::JSON::BEGIN@3 # spent 451µs making 1 call to Moo::import # spent 70µs making 1 call to strictures::import
43196µs21.37ms
# spent 1.35ms (1.06+297µs) within Search::Elasticsearch::Serializer::JSON::BEGIN@4 which was called: # once (1.06ms+297µs) by Module::Runtime::require_module at line 4
use JSON::MaybeXS 1.002002 ();
# spent 1.35ms making 1 call to Search::Elasticsearch::Serializer::JSON::BEGIN@4 # spent 19µs making 1 call to UNIVERSAL::VERSION
5
6216µs312.1ms
# spent 34µs (12+22) within Search::Elasticsearch::Serializer::JSON::__ANON__[/opt/flows/lib/lib/perl5/Search/Elasticsearch/Serializer/JSON.pm:6] which was called: # once (12µs+22µs) by Search::Elasticsearch::Serializer::JSON::new at line 39 of (eval 52)[Sub/Quote.pm:5]
has 'JSON' => ( is => 'ro', default => sub { JSON::MaybeXS->new->utf8(1) } );
# spent 12.1ms making 1 call to Moo::has # spent 21µs making 1 call to JSON::MaybeXS::new # spent 1µs making 1 call to JSON::XS::utf8
7
811µs117.4mswith 'Search::Elasticsearch::Role::Serializer::JSON';
# spent 17.4ms making 1 call to Moo::with
9238µs2518µs
# spent 266µs (14+252) within Search::Elasticsearch::Serializer::JSON::BEGIN@9 which was called: # once (14µs+252µs) by Module::Runtime::require_module at line 9
use namespace::clean;
# spent 266µs making 1 call to Search::Elasticsearch::Serializer::JSON::BEGIN@9 # spent 252µs making 1 call to namespace::clean::import
10
1117µs1;
12
13# ABSTRACT: The default JSON Serializer, using JSON::MaybeXS
14
15112µs1275µs__END__