Filename | /usr/local/lib/perl/5.14.2/MongoDB/BSON/Binary.pm |
Statements | Executed 9 statements in 130µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 11µs | 3.36ms | BEGIN@25 | MongoDB::BSON::Binary::
1 | 1 | 1 | 11µs | 119µs | BEGIN@28 | MongoDB::BSON::Binary::
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 | |||||
17 | package MongoDB::BSON::Binary; | ||||
18 | { | ||||
19 | 2 | 900ns | $MongoDB::BSON::Binary::VERSION = '0.702.2'; | ||
20 | } | ||||
21 | |||||
22 | |||||
23 | # ABSTRACT: Binary type | ||||
24 | |||||
25 | 2 | 48µs | 2 | 6.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 # 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 | ||||
29 | 1 | 108µ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 | ||||
36 | 2 | 67µs | 1 | 119µs | }; # spent 119µs making 1 call to MongoDB::BSON::Binary::BEGIN@28 |
37 | |||||
38 | |||||
39 | 1 | 2µs | 1 | 1.53ms | has data => ( # spent 1.53ms making 1 call to Moose::has |
40 | is => 'ro', | ||||
41 | isa => 'Str', | ||||
42 | required => 1 | ||||
43 | ); | ||||
44 | |||||
45 | |||||
46 | 1 | 6µs | 2 | 1.49ms | has 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 | |||||
54 | 1 | 6µs | 1; | ||
55 | |||||
56 | __END__ |