Filename | /usr/local/lib/perl5/site_perl/mach/5.24/NetAddr/IP/InetBase.pm |
Statements | Executed 782 statements in 9.69ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
23 | 4 | 3 | 3.59ms | 4.58ms | ipv6_aton | NetAddr::IP::InetBase::
1 | 1 | 1 | 2.51ms | 3.29ms | BEGIN@9 | NetAddr::IP::InetBase::
146 | 8 | 1 | 634µs | 634µs | CORE:match (opcode) | NetAddr::IP::InetBase::
88 | 2 | 1 | 359µs | 359µs | CORE:subst (opcode) | NetAddr::IP::InetBase::
10 | 1 | 1 | 315µs | 375µs | fillIPv4 | NetAddr::IP::InetBase::
10 | 4 | 1 | 189µs | 649µs | inet_aton | NetAddr::IP::InetBase::
2 | 2 | 2 | 147µs | 1.62ms | import | NetAddr::IP::InetBase::
23 | 1 | 1 | 92µs | 92µs | CORE:pack (opcode) | NetAddr::IP::InetBase::
10 | 1 | 1 | 86µs | 86µs | CORE:ghbyname (opcode) | NetAddr::IP::InetBase::
3 | 3 | 2 | 82µs | 1.66ms | inet_any2n | NetAddr::IP::InetBase::
2 | 2 | 2 | 70µs | 220µs | inet_n2dx | NetAddr::IP::InetBase::
2 | 1 | 1 | 68µs | 74µs | ipv6_n2d | NetAddr::IP::InetBase::
2 | 1 | 1 | 59µs | 70µs | ipv6_n2x | NetAddr::IP::InetBase::
1 | 1 | 1 | 41µs | 48µs | BEGIN@4 | NetAddr::IP::InetBase::
2 | 1 | 1 | 36µs | 58µs | isAnyIPv4 | NetAddr::IP::InetBase::
4 | 2 | 2 | 35µs | 35µs | isIPv4 | NetAddr::IP::InetBase::
1 | 1 | 1 | 25µs | 87µs | BEGIN@71 | NetAddr::IP::InetBase::
1 | 1 | 1 | 22µs | 249µs | BEGIN@8 | NetAddr::IP::InetBase::
1 | 1 | 1 | 22µs | 120µs | BEGIN@125 | NetAddr::IP::InetBase::
4 | 2 | 1 | 17µs | 17µs | CORE:unpack (opcode) | NetAddr::IP::InetBase::
1 | 1 | 1 | 14µs | 14µs | upper | NetAddr::IP::InetBase::
1 | 1 | 1 | 10µs | 10µs | BEGIN@124 | 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 | 72µs | 2 | 55µs | # spent 48µs (41+7) within NetAddr::IP::InetBase::BEGIN@4 which was called:
# once (41µs+7µs) by NetAddr::IP::Lite::BEGIN@9 at line 4 # spent 48µs making 1 call to NetAddr::IP::InetBase::BEGIN@4
# spent 7µs making 1 call to strict::import |
- - | |||||
8 | 2 | 61µs | 2 | 476µs | # spent 249µs (22+227) within NetAddr::IP::InetBase::BEGIN@8 which was called:
# once (22µs+227µs) by NetAddr::IP::Lite::BEGIN@9 at line 8 # spent 249µs making 1 call to NetAddr::IP::InetBase::BEGIN@8
# spent 227µs making 1 call to vars::import |
9 | 2 | 587µs | 2 | 3.76ms | # spent 3.29ms (2.51+780µs) within NetAddr::IP::InetBase::BEGIN@9 which was called:
# once (2.51ms+780µs) by NetAddr::IP::Lite::BEGIN@9 at line 9 # spent 3.29ms making 1 call to NetAddr::IP::InetBase::BEGIN@9
# spent 472µs making 1 call to AutoLoader::import |
10 | 1 | 2µs | |||
- - | |||||
12 | 1 | 18µs | |||
- - | |||||
14 | 3 | 40µs | 1 | 9µs | # spent 9µs making 1 call to NetAddr::IP::InetBase::CORE:match |
- - | |||||
16 | 1 | 5µs | |||
- - | |||||
38 | 1 | 12µs | |||
- - | |||||
69 | 1 | 2µs | |||
- - | |||||
71 | 3 | 696µs | 2 | 149µs | # spent 87µs (25+62) within NetAddr::IP::InetBase::BEGIN@71 which was called:
# once (25µs+62µs) by NetAddr::IP::Lite::BEGIN@9 at line 71 # spent 87µs making 1 call to NetAddr::IP::InetBase::BEGIN@71
# spent 62µs making 1 call to warnings::unimport |
- - | |||||
73 | 1 | 4µs | |||
- - | |||||
77 | 1 | 237µs | |||
- - | |||||
79 | 1 | 5µs | |||
- - | |||||
81 | 2 | 16µs | 1 | 1.32ms | # spent 1.32ms making 1 call to AutoLoader::AUTOLOAD |
- - | |||||
85 | 2 | 307µs | |||
86 | 1 | 11µs | 1 | 584µs | # spent 584µs making 1 call to Exporter::import |
- - | |||||
90 | 1 | 4µs | |||
91 | 1 | 6µs | |||
- - | |||||
93 | 1 | 2µs | |||
- - | |||||
109 | |||||
- - | |||||
119 | |||||
- - | |||||
124 | # spent 10µs within NetAddr::IP::InetBase::BEGIN@124 which was called:
# once (10µs+0s) by NetAddr::IP::Lite::BEGIN@9 at line 128 | ||||
125 | 2 | 67µs | 2 | 219µs | # spent 120µs (22+99) within NetAddr::IP::InetBase::BEGIN@125 which was called:
# once (22µs+99µs) by NetAddr::IP::Lite::BEGIN@9 at line 125 # spent 120µs making 1 call to NetAddr::IP::InetBase::BEGIN@125
# spent 99µs making 1 call to vars::import |
126 | 1 | 2µs | |||
127 | 1 | 9µs | |||
128 | 1 | 1.55ms | 1 | 10µs | # spent 10µs making 1 call to NetAddr::IP::InetBase::BEGIN@124 |
- - | |||||
130 | 1 | 2µs | |||
- - | |||||
132 | 3 | 29µs | # spent 14µs within NetAddr::IP::InetBase::upper which was called:
# once (14µs+0s) by NetAddr::IP::InetBase::import at line 274 | ||
133 | |||||
- - | |||||
135 | # spent 70µs (59+11) within NetAddr::IP::InetBase::ipv6_n2x which was called 2 times, avg 35µs/call:
# 2 times (59µs+11µs) by NetAddr::IP::Lite::addr at line 1105 of NetAddr/IP/Lite.pm, avg 35µs/call | ||||
136 | 2 | 5µs | |||
- - | |||||
138 | 2 | 68µs | 2 | 11µs | # spent 11µs making 2 calls to NetAddr::IP::InetBase::CORE:unpack, avg 5µs/call |
- - | |||||
141 | # spent 74µs (68+6) within NetAddr::IP::InetBase::ipv6_n2d which was called 2 times, avg 37µs/call:
# 2 times (68µs+6µs) by NetAddr::IP::InetBase::inet_n2dx at line 511, avg 37µs/call | ||||
142 | 2 | 5µs | |||
- - | |||||
144 | 2 | 29µs | 2 | 6µs | # spent 6µ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 | 27µs | |||
- - | |||||
167 | # spent 375µs (315+61) within NetAddr::IP::InetBase::fillIPv4 which was called 10 times, avg 38µs/call:
# 10 times (315µs+61µs) by NetAddr::IP::InetBase::inet_aton at line 206, avg 38µs/call | ||||
168 | 10 | 21µs | |||
169 | 10 | 18µs | |||
170 | 10 | 145µs | 10 | 60µs | # spent 60µs making 10 calls to NetAddr::IP::InetBase::CORE:match, avg 6µs/call |
171 | 10 | 38µs | |||
- - | |||||
173 | 10 | 60µs | |||
- - | |||||
177 | 10 | 44µs | |||
- - | |||||
202 | 10 | 68µs | |||
- - | |||||
205 | # spent 649µs (189+461) within NetAddr::IP::InetBase::inet_aton which was called 10 times, avg 65µs/call:
# 6 times (103µs+252µs) by NetAddr::IP::Lite::_xnew at line 1037 of NetAddr/IP/Lite.pm, avg 59µs/call
# 2 times (30µs+68µs) by NetAddr::IP::Lite::_xnew at line 868 of NetAddr/IP/Lite.pm, avg 49µs/call
# once (39µs+98µs) by NetAddr::IP::BEGIN@8 at line 643 of NetAddr/IP/Lite.pm
# once (17µs+43µs) by NetAddr::IP::BEGIN@8 at line 646 of NetAddr/IP/Lite.pm | ||||
206 | 10 | 69µs | 10 | 375µs | # spent 375µs making 10 calls to NetAddr::IP::InetBase::fillIPv4, avg 38µs/call |
207 | 10 | 208µs | 10 | 86µs | # spent 86µs making 10 calls to NetAddr::IP::InetBase::CORE:ghbyname, avg 9µs/call |
- - | |||||
244 | 1 | 3µs | 1 | 9µs | # spent 9µ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 35µ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 (13µs+0s) by NetAddr::IP::Lite::masklen at line 1134 of NetAddr/IP/Lite.pm, avg 6µs/call | ||||
248 | 4 | 8µs | |||
- - | |||||
252 | 4 | 36µs | |||
- - | |||||
256 | 1 | 3µs | 1 | 4µs | # spent 4µs making 1 call to main::CORE:pack |
- - | |||||
258 | |||||
- - | |||||
263 | # spent 58µs (36+22) within NetAddr::IP::InetBase::isAnyIPv4 which was called 2 times, avg 29µs/call:
# 2 times (36µs+22µs) by NetAddr::IP::InetBase::inet_n2dx at line 509, avg 29µs/call | ||||
264 | 2 | 4µs | |||
265 | 2 | 15µs | 2 | 22µs | # spent 22µs making 2 calls to NetAddr::IP::InetBase::isIPv4, avg 11µs/call |
266 | 2 | 14µs | |||
- - | |||||
270 | |||||
- - | |||||
272 | # spent 1.62ms (147µs+1.47) within NetAddr::IP::InetBase::import which was called 2 times, avg 811µs/call:
# once (78µs+777µs) by NetAddr::IP::Util::BEGIN@11 at line 14 of NetAddr/IP/Util.pm
# once (69µs+697µs) by NetAddr::IP::Lite::BEGIN@9 at line 17 of NetAddr/IP/Lite.pm | ||||
273 | 13 | 63µs | |||
274 | 1 | 7µs | 1 | 14µs | # spent 14µs making 1 call to NetAddr::IP::InetBase::upper |
275 | 4 | 18µs | |||
- - | |||||
277 | 2 | 32µs | 2 | 114µs | # spent 114µs making 2 calls to Exporter::export_to_level, avg 57µs/call |
- - | |||||
280 | 1 | 95µs | |||
- - | |||||
406 | # spent 4.58ms (3.59+991µs) within NetAddr::IP::InetBase::ipv6_aton which was called 23 times, avg 199µs/call:
# 11 times (1.75ms+480µs) by NetAddr::IP::Lite::_xnew at line 834 of NetAddr/IP/Lite.pm, avg 203µs/call
# 9 times (1.37ms+392µs) by NetAddr::IP::Lite::_xnew at line 1045 of NetAddr/IP/Lite.pm, avg 196µs/call
# 2 times (271µs+71µs) by NetAddr::IP::InetBase::inet_any2n at line 490, avg 171µs/call
# once (196µs+47µs) by NetAddr::IP::InetBase::inet_any2n at line 24 of AutoLoader.pm | ||||
407 | 23 | 56µs | |||
408 | 23 | 40µs | |||
409 | 23 | 123µs | |||
410 | 23 | 279µs | 23 | 137µs | # spent 137µs making 23 calls to NetAddr::IP::InetBase::CORE:match, avg 6µs/call |
411 | 2 | 9µs | |||
412 | 2 | 15µs | |||
- - | |||||
414 | 23 | 35µs | |||
- - | |||||
416 | 23 | 818µs | 88 | 404µs | # spent 281µs making 65 calls to NetAddr::IP::InetBase::CORE:match, avg 4µs/call
# spent 123µs making 23 calls to NetAddr::IP::InetBase::CORE:subst, avg 5µs/call |
- - | |||||
419 | 23 | 101µs | |||
420 | 23 | 196µs | 19 | 68µs | # spent 68µs making 19 calls to NetAddr::IP::InetBase::CORE:match, avg 4µs/call |
421 | 23 | 40µs | |||
- - | |||||
427 | 23 | 133µs | |||
428 | 65 | 717µs | 65 | 236µs | # spent 236µs making 65 calls to NetAddr::IP::InetBase::CORE:subst, avg 4µs/call |
- - | |||||
430 | 23 | 179µs | 23 | 54µs | # spent 54µs making 23 calls to NetAddr::IP::InetBase::CORE:match, avg 2µs/call |
431 | 23 | 225µs | |||
432 | 23 | 131µs | |||
433 | 184 | 959µs | |||
- - | |||||
435 | 23 | 577µs | 23 | 92µs | # spent 92µs making 23 calls to NetAddr::IP::InetBase::CORE:pack, avg 4µs/call |
- - | |||||
439 | 1 | 6µs | |||
- - | |||||
485 | # spent 1.66ms (82µs+1.58) within NetAddr::IP::InetBase::inet_any2n which was called 3 times, avg 554µs/call:
# once (36µs+1.23ms) by NetAddr::IP::BEGIN@8 at line 24 of AutoLoader.pm
# once (27µs+177µs) by NetAddr::IP::BEGIN@8 at line 645 of NetAddr/IP/Lite.pm
# once (18µs+168µs) by NetAddr::IP::BEGIN@8 at line 648 of NetAddr/IP/Lite.pm | ||||
486 | 3 | 7µs | |||
487 | 3 | 4µs | |||
488 | 3 | 34µs | 3 | 7µs | # spent 7µs making 3 calls to NetAddr::IP::InetBase::CORE:match, avg 2µs/call |
- - | |||||
490 | 3 | 39µs | 3 | 1.33ms | # spent 988µs making 1 call to AutoLoader::AUTOLOAD
# spent 342µs making 2 calls to NetAddr::IP::InetBase::ipv6_aton, avg 171µs/call |
- - | |||||
494 | 1 | 7µs | |||
- - | |||||
507 | # spent 220µs (70+150) within NetAddr::IP::InetBase::inet_n2dx which was called 2 times, avg 110µs/call:
# once (40µs+90µs) by NetAddr::IP::Lite::addr at line 24 of AutoLoader.pm
# once (29µs+60µs) by NetAddr::IP::Lite::addr at line 1105 of NetAddr/IP/Lite.pm | ||||
508 | 2 | 4µs | my($nadr) = @_; | ||
509 | 2 | 14µs | 2 | 58µs | if (isAnyIPv4($nadr)) { # spent 58µs making 2 calls to NetAddr::IP::InetBase::isAnyIPv4, avg 29µs/call |
510 | 2 | 7µs | local $1; | ||
511 | 2 | 39µs | 4 | 92µs | ipv6_n2d($nadr) =~ /([^:]+)$/; # spent 74µs making 2 calls to NetAddr::IP::InetBase::ipv6_n2d, avg 37µs/call
# spent 18µs making 2 calls to NetAddr::IP::InetBase::CORE:match, avg 9µs/call |
512 | 2 | 21µ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 86µs within NetAddr::IP::InetBase::CORE:ghbyname which was called 10 times, avg 9µs/call:
# 10 times (86µs+0s) by NetAddr::IP::InetBase::inet_aton at line 207, avg 9µs/call | |||||
# spent 634µs within NetAddr::IP::InetBase::CORE:match which was called 146 times, avg 4µs/call:
# 65 times (281µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 416, avg 4µs/call
# 23 times (137µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 410, avg 6µs/call
# 23 times (54µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 430, avg 2µs/call
# 19 times (68µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 420, avg 4µs/call
# 10 times (60µs+0s) by NetAddr::IP::InetBase::fillIPv4 at line 170, avg 6µs/call
# 3 times (7µs+0s) by NetAddr::IP::InetBase::inet_any2n at line 488, avg 2µs/call
# 2 times (18µs+0s) by NetAddr::IP::InetBase::inet_n2dx at line 511, avg 9µs/call
# once (9µs+0s) by NetAddr::IP::Lite::BEGIN@9 at line 14 | |||||
# spent 92µs within NetAddr::IP::InetBase::CORE:pack which was called 23 times, avg 4µs/call:
# 23 times (92µ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 |