Filename | /usr/local/lib/perl5/site_perl/mach/5.24/NetAddr/IP/InetBase.pm |
Statements | Executed 782 statements in 11.4ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
23 | 4 | 3 | 4.63ms | 5.63ms | ipv6_aton | NetAddr::IP::InetBase::
1 | 1 | 1 | 2.62ms | 3.45ms | BEGIN@9 | NetAddr::IP::InetBase::
146 | 8 | 1 | 640µs | 640µs | CORE:match (opcode) | NetAddr::IP::InetBase::
10 | 1 | 1 | 424µs | 491µs | fillIPv4 | NetAddr::IP::InetBase::
88 | 2 | 1 | 378µs | 378µs | CORE:subst (opcode) | NetAddr::IP::InetBase::
10 | 4 | 1 | 214µs | 816µs | inet_aton | NetAddr::IP::InetBase::
2 | 2 | 2 | 182µs | 2.22ms | import | NetAddr::IP::InetBase::
3 | 3 | 2 | 124µs | 2.11ms | inet_any2n | NetAddr::IP::InetBase::
10 | 1 | 1 | 111µs | 111µs | CORE:ghbyname (opcode) | NetAddr::IP::InetBase::
2 | 2 | 2 | 110µs | 301µs | inet_n2dx | NetAddr::IP::InetBase::
23 | 1 | 1 | 96µs | 96µs | CORE:pack (opcode) | NetAddr::IP::InetBase::
2 | 1 | 1 | 87µs | 94µs | ipv6_n2d | NetAddr::IP::InetBase::
2 | 1 | 1 | 68µs | 94µs | ipv6_n2x | NetAddr::IP::InetBase::
1 | 1 | 1 | 54µs | 61µs | BEGIN@4 | NetAddr::IP::InetBase::
2 | 1 | 1 | 53µs | 75µs | isAnyIPv4 | NetAddr::IP::InetBase::
1 | 1 | 1 | 37µs | 98µs | BEGIN@71 | NetAddr::IP::InetBase::
4 | 2 | 2 | 36µs | 36µs | isIPv4 | NetAddr::IP::InetBase::
4 | 2 | 1 | 33µs | 33µs | CORE:unpack (opcode) | NetAddr::IP::InetBase::
1 | 1 | 1 | 30µs | 170µs | BEGIN@125 | NetAddr::IP::InetBase::
1 | 1 | 1 | 30µs | 366µs | BEGIN@8 | NetAddr::IP::InetBase::
1 | 1 | 1 | 14µs | 14µs | BEGIN@124 | NetAddr::IP::InetBase::
1 | 1 | 1 | 12µs | 12µs | upper | NetAddr::IP::InetBase::
0 | 0 | 0 | 0s | 0s | DESTROY | NetAddr::IP::InetBase::
0 | 0 | 0 | 0s | 0s | __ANON__[:109] | NetAddr::IP::InetBase::
0 | 0 | 0 | 0s | 0s | fake_AF_INET6 | NetAddr::IP::InetBase::
0 | 0 | 0 | 0s | 0s | isNewIPv4 | NetAddr::IP::InetBase::
0 | 0 | 0 | 0s | 0s | lower | NetAddr::IP::InetBase::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | |||||
- - | |||||
4 | 2 | 84µs | 2 | 67µs | # spent 61µs (54+6) within NetAddr::IP::InetBase::BEGIN@4 which was called:
# once (54µs+6µs) by NetAddr::IP::Lite::BEGIN@9 at line 4 # spent 61µs making 1 call to NetAddr::IP::InetBase::BEGIN@4
# spent 6µs making 1 call to strict::import |
- - | |||||
8 | 2 | 70µs | 2 | 703µs | # spent 366µs (30+337) within NetAddr::IP::InetBase::BEGIN@8 which was called:
# once (30µs+337µs) by NetAddr::IP::Lite::BEGIN@9 at line 8 # spent 366µs making 1 call to NetAddr::IP::InetBase::BEGIN@8
# spent 337µs making 1 call to vars::import |
9 | 2 | 673µs | 2 | 3.93ms | # spent 3.45ms (2.62+830µs) within NetAddr::IP::InetBase::BEGIN@9 which was called:
# once (2.62ms+830µs) by NetAddr::IP::Lite::BEGIN@9 at line 9 # spent 3.45ms making 1 call to NetAddr::IP::InetBase::BEGIN@9
# spent 478µs making 1 call to AutoLoader::import |
10 | 1 | 13µs | |||
- - | |||||
12 | 1 | 18µs | |||
- - | |||||
14 | 3 | 51µs | 1 | 17µs | # spent 17µs making 1 call to NetAddr::IP::InetBase::CORE:match |
- - | |||||
16 | 1 | 10µs | |||
- - | |||||
38 | 1 | 13µs | |||
- - | |||||
69 | 1 | 2µs | |||
- - | |||||
71 | 3 | 734µs | 2 | 159µs | # spent 98µs (37+61) within NetAddr::IP::InetBase::BEGIN@71 which was called:
# once (37µs+61µs) by NetAddr::IP::Lite::BEGIN@9 at line 71 # spent 98µs making 1 call to NetAddr::IP::InetBase::BEGIN@71
# spent 61µs making 1 call to warnings::unimport |
- - | |||||
73 | 1 | 3µs | |||
- - | |||||
77 | 1 | 240µs | |||
- - | |||||
79 | 1 | 4µs | |||
- - | |||||
81 | 2 | 16µs | 1 | 1.46ms | # spent 1.46ms making 1 call to AutoLoader::AUTOLOAD |
- - | |||||
85 | 2 | 316µs | |||
86 | 1 | 11µs | 1 | 823µs | # spent 823µs making 1 call to Exporter::import |
- - | |||||
90 | 1 | 4µs | |||
91 | 1 | 6µs | |||
- - | |||||
93 | 1 | 2µs | |||
- - | |||||
109 | |||||
- - | |||||
119 | |||||
- - | |||||
124 | # spent 14µs within NetAddr::IP::InetBase::BEGIN@124 which was called:
# once (14µs+0s) by NetAddr::IP::Lite::BEGIN@9 at line 128 | ||||
125 | 2 | 100µs | 2 | 309µs | # spent 170µs (30+140) within NetAddr::IP::InetBase::BEGIN@125 which was called:
# once (30µs+140µs) by NetAddr::IP::Lite::BEGIN@9 at line 125 # spent 170µs making 1 call to NetAddr::IP::InetBase::BEGIN@125
# spent 140µs making 1 call to vars::import |
126 | 1 | 2µs | |||
127 | 1 | 16µs | |||
128 | 1 | 1.60ms | 1 | 14µs | # spent 14µs making 1 call to NetAddr::IP::InetBase::BEGIN@124 |
- - | |||||
130 | 1 | 2µs | |||
- - | |||||
132 | 3 | 25µs | # spent 12µs within NetAddr::IP::InetBase::upper which was called:
# once (12µs+0s) by NetAddr::IP::InetBase::import at line 274 | ||
133 | |||||
- - | |||||
135 | # spent 94µs (68+27) within NetAddr::IP::InetBase::ipv6_n2x which was called 2 times, avg 47µs/call:
# 2 times (68µs+27µs) by NetAddr::IP::Lite::addr at line 1105 of NetAddr/IP/Lite.pm, avg 47µs/call | ||||
136 | 2 | 4µs | |||
- - | |||||
138 | 2 | 94µs | 2 | 27µs | # spent 27µs making 2 calls to NetAddr::IP::InetBase::CORE:unpack, avg 13µs/call |
- - | |||||
141 | # spent 94µs (87+7) within NetAddr::IP::InetBase::ipv6_n2d which was called 2 times, avg 47µs/call:
# 2 times (87µs+7µs) by NetAddr::IP::InetBase::inet_n2dx at line 511, avg 47µs/call | ||||
142 | 2 | 5µs | |||
- - | |||||
144 | 2 | 35µs | 2 | 7µs | # spent 7µs making 2 calls to NetAddr::IP::InetBase::CORE:unpack, avg 3µs/call |
145 | 2 | 6µs | |||
146 | 2 | 5µs | |||
147 | 2 | 4µs | |||
148 | 2 | 4µs | |||
149 | 2 | 45µs | |||
- - | |||||
167 | # spent 491µs (424+67) within NetAddr::IP::InetBase::fillIPv4 which was called 10 times, avg 49µs/call:
# 10 times (424µs+67µs) by NetAddr::IP::InetBase::inet_aton at line 206, avg 49µs/call | ||||
168 | 10 | 20µs | |||
169 | 10 | 18µs | |||
170 | 10 | 199µs | 10 | 67µs | # spent 67µs making 10 calls to NetAddr::IP::InetBase::CORE:match, avg 7µs/call |
171 | 10 | 40µs | |||
- - | |||||
173 | 10 | 68µs | |||
- - | |||||
177 | 10 | 45µs | |||
- - | |||||
202 | 10 | 122µs | |||
- - | |||||
205 | # spent 816µs (214+601) within NetAddr::IP::InetBase::inet_aton which was called 10 times, avg 82µs/call:
# 6 times (125µs+332µs) by NetAddr::IP::Lite::_xnew at line 1037 of NetAddr/IP/Lite.pm, avg 76µs/call
# 2 times (32µs+96µs) by NetAddr::IP::Lite::_xnew at line 868 of NetAddr/IP/Lite.pm, avg 64µs/call
# once (33µs+104µs) by NetAddr::IP::BEGIN@8 at line 643 of NetAddr/IP/Lite.pm
# once (25µs+69µs) by NetAddr::IP::BEGIN@8 at line 646 of NetAddr/IP/Lite.pm | ||||
206 | 10 | 75µs | 10 | 491µs | # spent 491µs making 10 calls to NetAddr::IP::InetBase::fillIPv4, avg 49µs/call |
207 | 10 | 278µs | 10 | 111µs | # spent 111µs making 10 calls to NetAddr::IP::InetBase::CORE:ghbyname, avg 11µs/call |
- - | |||||
244 | 1 | 3µs | 1 | 7µs | # spent 7µs making 1 call to main::CORE:pack |
245 | 1 | 3µs | 1 | 3µs | # spent 3µs making 1 call to main::CORE:pack |
- - | |||||
247 | # spent 36µs within NetAddr::IP::InetBase::isIPv4 which was called 4 times, avg 9µs/call:
# 2 times (22µs+0s) by NetAddr::IP::InetBase::isAnyIPv4 at line 265, avg 11µs/call
# 2 times (14µs+0s) by NetAddr::IP::Lite::masklen at line 1134 of NetAddr/IP/Lite.pm, avg 7µs/call | ||||
248 | 4 | 9µs | |||
- - | |||||
252 | 4 | 55µs | |||
- - | |||||
256 | 1 | 3µs | 1 | 7µs | # spent 7µs making 1 call to main::CORE:pack |
- - | |||||
258 | |||||
- - | |||||
263 | # spent 75µs (53+22) within NetAddr::IP::InetBase::isAnyIPv4 which was called 2 times, avg 38µs/call:
# 2 times (53µs+22µs) by NetAddr::IP::InetBase::inet_n2dx at line 509, avg 38µs/call | ||||
264 | 2 | 8µs | |||
265 | 2 | 14µs | 2 | 22µs | # spent 22µs making 2 calls to NetAddr::IP::InetBase::isIPv4, avg 11µs/call |
266 | 2 | 19µs | |||
- - | |||||
270 | |||||
- - | |||||
272 | # spent 2.22ms (182µs+2.04) within NetAddr::IP::InetBase::import which was called 2 times, avg 1.11ms/call:
# once (107µs+1.11ms) by NetAddr::IP::Util::BEGIN@11 at line 14 of NetAddr/IP/Util.pm
# once (76µs+922µs) by NetAddr::IP::Lite::BEGIN@9 at line 17 of NetAddr/IP/Lite.pm | ||||
273 | 13 | 74µs | |||
274 | 1 | 7µs | 1 | 12µs | # spent 12µs making 1 call to NetAddr::IP::InetBase::upper |
275 | 4 | 39µs | |||
- - | |||||
277 | 2 | 31µs | 2 | 152µs | # spent 152µs making 2 calls to Exporter::export_to_level, avg 76µs/call |
- - | |||||
280 | 1 | 88µs | |||
- - | |||||
406 | # spent 5.63ms (4.63+1.00) within NetAddr::IP::InetBase::ipv6_aton which was called 23 times, avg 245µs/call:
# 11 times (2.12ms+499µs) by NetAddr::IP::Lite::_xnew at line 834 of NetAddr/IP/Lite.pm, avg 238µs/call
# 9 times (1.74ms+362µs) by NetAddr::IP::Lite::_xnew at line 1045 of NetAddr/IP/Lite.pm, avg 234µs/call
# 2 times (500µs+76µs) by NetAddr::IP::InetBase::inet_any2n at line 490, avg 288µs/call
# once (273µs+63µs) by NetAddr::IP::InetBase::inet_any2n at line 24 of AutoLoader.pm | ||||
407 | 23 | 55µs | |||
408 | 23 | 58µs | |||
409 | 23 | 191µs | |||
410 | 23 | 342µs | 23 | 126µs | # spent 126µs making 23 calls to NetAddr::IP::InetBase::CORE:match, avg 5µs/call |
411 | 2 | 9µs | |||
412 | 2 | 30µs | |||
- - | |||||
414 | 23 | 38µs | |||
- - | |||||
416 | 23 | 1.10ms | 88 | 418µs | # spent 287µs making 65 calls to NetAddr::IP::InetBase::CORE:match, avg 4µs/call
# spent 131µs making 23 calls to NetAddr::IP::InetBase::CORE:subst, avg 6µs/call |
- - | |||||
419 | 23 | 96µs | |||
420 | 23 | 284µs | 19 | 66µs | # spent 66µs making 19 calls to NetAddr::IP::InetBase::CORE:match, avg 3µs/call |
421 | 23 | 40µs | |||
- - | |||||
427 | 23 | 130µs | |||
428 | 65 | 1.18ms | 65 | 247µs | # spent 247µs making 65 calls to NetAddr::IP::InetBase::CORE:subst, avg 4µs/call |
- - | |||||
430 | 23 | 255µs | 23 | 47µs | # spent 47µs making 23 calls to NetAddr::IP::InetBase::CORE:match, avg 2µs/call |
431 | 23 | 227µs | |||
432 | 23 | 157µs | |||
433 | 184 | 845µs | |||
- - | |||||
435 | 23 | 669µs | 23 | 96µs | # spent 96µs making 23 calls to NetAddr::IP::InetBase::CORE:pack, avg 4µs/call |
- - | |||||
439 | 1 | 6µs | |||
- - | |||||
485 | # spent 2.11ms (124µs+1.99) within NetAddr::IP::InetBase::inet_any2n which was called 3 times, avg 704µs/call:
# once (58µs+1.41ms) by NetAddr::IP::BEGIN@8 at line 24 of AutoLoader.pm
# once (40µs+292µs) by NetAddr::IP::BEGIN@8 at line 645 of NetAddr/IP/Lite.pm
# once (25µs+289µs) by NetAddr::IP::BEGIN@8 at line 648 of NetAddr/IP/Lite.pm | ||||
486 | 3 | 7µs | |||
487 | 3 | 4µs | |||
488 | 3 | 53µs | 3 | 7µs | # spent 7µs making 3 calls to NetAddr::IP::InetBase::CORE:match, avg 2µs/call |
- - | |||||
490 | 3 | 51µs | 3 | 1.64ms | # spent 1.07ms making 1 call to AutoLoader::AUTOLOAD
# spent 577µs making 2 calls to NetAddr::IP::InetBase::ipv6_aton, avg 288µs/call |
- - | |||||
494 | 1 | 7µs | |||
- - | |||||
507 | # spent 301µs (110+191) within NetAddr::IP::InetBase::inet_n2dx which was called 2 times, avg 150µs/call:
# once (54µs+100µs) by NetAddr::IP::Lite::addr at line 24 of AutoLoader.pm
# once (56µs+91µs) by NetAddr::IP::Lite::addr at line 1105 of NetAddr/IP/Lite.pm | ||||
508 | 2 | 5µs | my($nadr) = @_; | ||
509 | 2 | 16µs | 2 | 75µs | if (isAnyIPv4($nadr)) { # spent 75µs making 2 calls to NetAddr::IP::InetBase::isAnyIPv4, avg 38µs/call |
510 | 2 | 11µs | local $1; | ||
511 | 2 | 60µs | 4 | 116µs | ipv6_n2d($nadr) =~ /([^:]+)$/; # spent 94µs making 2 calls to NetAddr::IP::InetBase::ipv6_n2d, avg 47µs/call
# spent 22µs making 2 calls to NetAddr::IP::InetBase::CORE:match, avg 11µs/call |
512 | 2 | 36µs | return $1; | ||
513 | } | ||||
514 | return ipv6_n2x($nadr); | ||||
515 | } | ||||
516 | |||||
517 | # end of NetAddr::IP::InetBase::inet_n2dx | ||||
518 | 1 | 7µs | 1; | ||
# spent 111µs within NetAddr::IP::InetBase::CORE:ghbyname which was called 10 times, avg 11µs/call:
# 10 times (111µs+0s) by NetAddr::IP::InetBase::inet_aton at line 207, avg 11µs/call | |||||
# spent 640µs within NetAddr::IP::InetBase::CORE:match which was called 146 times, avg 4µs/call:
# 65 times (287µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 416, avg 4µs/call
# 23 times (126µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 410, avg 5µs/call
# 23 times (47µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 430, avg 2µs/call
# 19 times (66µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 420, avg 3µs/call
# 10 times (67µs+0s) by NetAddr::IP::InetBase::fillIPv4 at line 170, avg 7µs/call
# 3 times (7µs+0s) by NetAddr::IP::InetBase::inet_any2n at line 488, avg 2µs/call
# 2 times (22µs+0s) by NetAddr::IP::InetBase::inet_n2dx at line 511, avg 11µs/call
# once (17µs+0s) by NetAddr::IP::Lite::BEGIN@9 at line 14 | |||||
# spent 96µs within NetAddr::IP::InetBase::CORE:pack which was called 23 times, avg 4µs/call:
# 23 times (96µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 435, avg 4µs/call | |||||
sub NetAddr::IP::InetBase::CORE:subst; # opcode | |||||
sub NetAddr::IP::InetBase::CORE:unpack; # opcode |