← Index
NYTProf Performance Profile   « block view • line view • sub view »
For mentat.storage.mongo.pl
  Run on Tue Jun 24 10:04:38 2014
Reported on Tue Jun 24 10:05:06 2014

Filename/usr/local/lib/perl/5.14.2/MongoDB.pm
StatementsExecuted 24 statements in 1.10ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1112.10ms13.6msMongoDB::::BEGIN@31 MongoDB::BEGIN@31
111712µs38.5msMongoDB::::BEGIN@30 MongoDB::BEGIN@30
111660µs448msMongoDB::::BEGIN@28 MongoDB::BEGIN@28
111582µs18.0msMongoDB::::BEGIN@32 MongoDB::BEGIN@32
111419µs8.78msMongoDB::::BEGIN@33 MongoDB::BEGIN@33
411150µs176µsMongoDB::::write_query MongoDB::write_query (xsub)
11114µs14µsMentat::Storage::Mongo::::BEGIN@17Mentat::Storage::Mongo::BEGIN@17
1118µs13µsMentat::Storage::Mongo::::BEGIN@19Mentat::Storage::Mongo::BEGIN@19
1117µs10µsMentat::Storage::Mongo::::BEGIN@18Mentat::Storage::Mongo::BEGIN@18
1115µs5µsMongoDB::::BEGIN@29 MongoDB::BEGIN@29
1114µs4µsMongoDB::::BEGIN@27 MongoDB::BEGIN@27
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1#
2# Copyright 2009-2013 MongoDB, Inc.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17242µs114µs
# spent 14µs within Mentat::Storage::Mongo::BEGIN@17 which was called: # once (14µs+0s) by Mentat::Storage::Mongo::BEGIN@162 at line 17
use v5.8.0;
# spent 14µs making 1 call to Mentat::Storage::Mongo::BEGIN@17
18221µs213µs
# spent 10µs (7+3) within Mentat::Storage::Mongo::BEGIN@18 which was called: # once (7µs+3µs) by Mentat::Storage::Mongo::BEGIN@162 at line 18
use strict;
# spent 10µs making 1 call to Mentat::Storage::Mongo::BEGIN@18 # spent 3µs making 1 call to strict::import
19240µs218µs
# spent 13µs (8+5) within Mentat::Storage::Mongo::BEGIN@19 which was called: # once (8µs+5µs) by Mentat::Storage::Mongo::BEGIN@162 at line 19
use warnings;
# spent 13µs making 1 call to Mentat::Storage::Mongo::BEGIN@19 # spent 5µs making 1 call to warnings::import
20
21package MongoDB;
22{
2321µs $MongoDB::VERSION = '0.702.2';
24}
25# ABSTRACT: A MongoDB Driver for Perl
26
27222µs14µs
# spent 4µs within MongoDB::BEGIN@27 which was called: # once (4µs+0s) by Mentat::Storage::Mongo::BEGIN@162 at line 27
use XSLoader;
# spent 4µs making 1 call to MongoDB::BEGIN@27
282119µs1448ms
# spent 448ms (660µs+448) within MongoDB::BEGIN@28 which was called: # once (660µs+448ms) by Mentat::Storage::Mongo::BEGIN@162 at line 28
use MongoDB::Connection;
# spent 448ms making 1 call to MongoDB::BEGIN@28
29222µs15µs
# spent 5µs within MongoDB::BEGIN@29 which was called: # once (5µs+0s) by Mentat::Storage::Mongo::BEGIN@162 at line 29
use MongoDB::MongoClient;
# spent 5µs making 1 call to MongoDB::BEGIN@29
302135µs138.5ms
# spent 38.5ms (712µs+37.8) within MongoDB::BEGIN@30 which was called: # once (712µs+37.8ms) by Mentat::Storage::Mongo::BEGIN@162 at line 30
use MongoDB::Database;
# spent 38.5ms making 1 call to MongoDB::BEGIN@30
312128µs113.6ms
# spent 13.6ms (2.10+11.5) within MongoDB::BEGIN@31 which was called: # once (2.10ms+11.5ms) by Mentat::Storage::Mongo::BEGIN@162 at line 31
use MongoDB::Collection;
# spent 13.6ms making 1 call to MongoDB::BEGIN@31
322137µs118.0ms
# spent 18.0ms (582µs+17.4) within MongoDB::BEGIN@32 which was called: # once (582µs+17.4ms) by Mentat::Storage::Mongo::BEGIN@162 at line 32
use MongoDB::DBRef;
# spent 18.0ms making 1 call to MongoDB::BEGIN@32
332196µs18.78ms
# spent 8.78ms (419µs+8.36) within MongoDB::BEGIN@33 which was called: # once (419µs+8.36ms) by Mentat::Storage::Mongo::BEGIN@162 at line 33
use MongoDB::OID;
# spent 8.78ms making 1 call to MongoDB::BEGIN@33
34
351235µs1224µsXSLoader::load(__PACKAGE__, $MongoDB::VERSION, int rand(2 ** 24));
# spent 224µs making 1 call to XSLoader::load
36
3716µs1;
38
39__END__
 
# spent 176µs (150+26) within MongoDB::write_query which was called 4 times, avg 44µs/call: # 4 times (150µs+26µs) by MongoDB::Cursor::_do_query at line 156 of MongoDB/Cursor.pm, avg 44µs/call
sub MongoDB::write_query; # xsub