← 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:19 2014

Filename/usr/local/lib/perl/5.14.2/MongoDB/BSON/Binary.pm
StatementsExecuted 9 statements in 158µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11113µs3.39msMongoDB::BSON::Binary::::BEGIN@25MongoDB::BSON::Binary::BEGIN@25
11112µs137µsMongoDB::BSON::Binary::::BEGIN@28MongoDB::BSON::Binary::BEGIN@28
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
17package MongoDB::BSON::Binary;
18{
1921µs $MongoDB::BSON::Binary::VERSION = '0.702.2';
20}
21
22
23# ABSTRACT: Binary type
24
25252µs26.77ms
# spent 3.39ms (13µs+3.38) within MongoDB::BSON::Binary::BEGIN@25 which was called: # once (13µs+3.38ms) by MongoDB::MongoClient::BEGIN@28 at line 25
use Moose;
# spent 3.39ms making 1 call to MongoDB::BSON::Binary::BEGIN@25 # spent 3.38ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:519]
26
27
28
# spent 137µs (12+125) within MongoDB::BSON::Binary::BEGIN@28 which was called: # once (12µs+125µs) by MongoDB::MongoClient::BEGIN@28 at line 36
use constant {
291125µs SUBTYPE_GENERIC => 0,
# spent 125µs making 1 call to constant::import
30 SUBTYPE_FUNCTION => 1,
31 SUBTYPE_GENERIC_DEPRECATED => 2,
32 SUBTYPE_UUID_DEPRECATED => 3,
33 SUBTYPE_UUID => 4,
34 SUBTYPE_MD5 => 5,
35 SUBTYPE_USER_DEFINED => 128
36290µs1137µs};
# spent 137µs making 1 call to MongoDB::BSON::Binary::BEGIN@28
37
38
3912µs11.63mshas data => (
# spent 1.63ms making 1 call to Moose::has
40 is => 'ro',
41 isa => 'Str',
42 required => 1
43);
44
45
4616µs21.56mshas subtype => (
# spent 1.56ms making 1 call to Moose::has # spent 600ns making 1 call to MongoDB::BSON::Binary::SUBTYPE_GENERIC
47 is => 'ro',
48 isa => 'Int',
49 required => 0,
50 default => MongoDB::BSON::Binary->SUBTYPE_GENERIC
51);
52
53
5416µs1;
55
56__END__