← Index
NYTProf Performance Profile   « block view • line view • sub view »
For mentat.storage.mongo.pl
  Run on Tue Jun 24 09:58:41 2014
Reported on Tue Jun 24 09:59:37 2014

Filename/usr/local/lib/perl/5.14.2/MongoDB/BSON/Binary.pm
StatementsExecuted 9 statements in 130µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11111µs3.36msMongoDB::BSON::Binary::::BEGIN@25MongoDB::BSON::Binary::BEGIN@25
11111µs119µ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{
192900ns $MongoDB::BSON::Binary::VERSION = '0.702.2';
20}
21
22
23# ABSTRACT: Binary type
24
25248µs26.71ms
# spent 3.36ms (11µs+3.35) within MongoDB::BSON::Binary::BEGIN@25 which was called: # once (11µs+3.35ms) by MongoDB::MongoClient::BEGIN@28 at line 25
use Moose;
# spent 3.36ms making 1 call to MongoDB::BSON::Binary::BEGIN@25 # spent 3.35ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:519]
26
27
28
# spent 119µs (11+108) within MongoDB::BSON::Binary::BEGIN@28 which was called: # once (11µs+108µs) by MongoDB::MongoClient::BEGIN@28 at line 36
use constant {
2917µs1108µs SUBTYPE_GENERIC => 0,
# spent 108µ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
36160µs1119µs};
# spent 119µs making 1 call to MongoDB::BSON::Binary::BEGIN@28
37
38
3912µs11.53mshas data => (
# spent 1.53ms making 1 call to Moose::has
40 is => 'ro',
41 isa => 'Str',
42 required => 1
43);
44
45
4616µs21.49mshas subtype => (
# spent 1.49ms making 1 call to Moose::has # spent 700ns 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__