Filename | /usr/local/lib/perl5/site_perl/mach/5.24/NetAddr/IP/InetBase.pm |
Statements | Executed 782 statements in 11.0ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
23 | 4 | 3 | 4.37ms | 5.29ms | ipv6_aton | NetAddr::IP::InetBase::
1 | 1 | 1 | 2.59ms | 3.48ms | BEGIN@9 | NetAddr::IP::InetBase::
146 | 8 | 1 | 601µs | 601µs | CORE:match (opcode) | NetAddr::IP::InetBase::
10 | 1 | 1 | 453µs | 527µs | fillIPv4 | NetAddr::IP::InetBase::
88 | 2 | 1 | 348µs | 348µs | CORE:subst (opcode) | NetAddr::IP::InetBase::
10 | 4 | 1 | 204µs | 839µs | inet_aton | NetAddr::IP::InetBase::
2 | 2 | 2 | 196µs | 2.29ms | import | NetAddr::IP::InetBase::
10 | 1 | 1 | 108µs | 108µs | CORE:ghbyname (opcode) | NetAddr::IP::InetBase::
3 | 3 | 2 | 102µs | 2.06ms | inet_any2n | NetAddr::IP::InetBase::
2 | 2 | 2 | 91µs | 253µs | inet_n2dx | NetAddr::IP::InetBase::
23 | 1 | 1 | 82µs | 82µs | CORE:pack (opcode) | NetAddr::IP::InetBase::
2 | 1 | 1 | 76µs | 83µs | ipv6_n2d | NetAddr::IP::InetBase::
2 | 1 | 1 | 63µs | 79µs | ipv6_n2x | NetAddr::IP::InetBase::
1 | 1 | 1 | 62µs | 69µs | BEGIN@4 | NetAddr::IP::InetBase::
1 | 1 | 1 | 40µs | 360µs | BEGIN@8 | NetAddr::IP::InetBase::
2 | 1 | 1 | 39µs | 62µs | isAnyIPv4 | NetAddr::IP::InetBase::
4 | 2 | 2 | 36µs | 36µs | isIPv4 | NetAddr::IP::InetBase::
1 | 1 | 1 | 31µs | 180µs | BEGIN@125 | NetAddr::IP::InetBase::
1 | 1 | 1 | 30µs | 90µs | BEGIN@71 | NetAddr::IP::InetBase::
4 | 2 | 1 | 23µs | 23µs | CORE:unpack (opcode) | NetAddr::IP::InetBase::
1 | 1 | 1 | 14µs | 14µs | BEGIN@124 | NetAddr::IP::InetBase::
1 | 1 | 1 | 13µs | 13µ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 | 96µs | 2 | 76µs | # spent 69µs (62+7) within NetAddr::IP::InetBase::BEGIN@4 which was called:
# once (62µs+7µs) by NetAddr::IP::Lite::BEGIN@9 at line 4 # spent 69µs making 1 call to NetAddr::IP::InetBase::BEGIN@4
# spent 7µs making 1 call to strict::import |
- - | |||||
8 | 2 | 82µs | 2 | 680µs | # spent 360µs (40+320) within NetAddr::IP::InetBase::BEGIN@8 which was called:
# once (40µs+320µs) by NetAddr::IP::Lite::BEGIN@9 at line 8 # spent 360µs making 1 call to NetAddr::IP::InetBase::BEGIN@8
# spent 320µs making 1 call to vars::import |
9 | 2 | 618µs | 2 | 4.01ms | # spent 3.48ms (2.59+888µs) within NetAddr::IP::InetBase::BEGIN@9 which was called:
# once (2.59ms+888µs) by NetAddr::IP::Lite::BEGIN@9 at line 9 # spent 3.48ms making 1 call to NetAddr::IP::InetBase::BEGIN@9
# spent 528µs making 1 call to AutoLoader::import |
10 | 1 | 9µs | |||
- - | |||||
12 | 1 | 15µs | |||
- - | |||||
14 | 3 | 40µs | 1 | 9µs | # spent 9µs making 1 call to NetAddr::IP::InetBase::CORE:match |
- - | |||||
16 | 1 | 6µs | |||
- - | |||||
38 | 1 | 18µs | |||
- - | |||||
69 | 1 | 2µs | |||
- - | |||||
71 | 3 | 728µs | 2 | 149µs | # spent 90µs (30+59) within NetAddr::IP::InetBase::BEGIN@71 which was called:
# once (30µs+59µs) by NetAddr::IP::Lite::BEGIN@9 at line 71 # spent 90µs making 1 call to NetAddr::IP::InetBase::BEGIN@71
# spent 59µs making 1 call to warnings::unimport |
- - | |||||
73 | 1 | 3µs | |||
- - | |||||
77 | 1 | 248µs | |||
- - | |||||
79 | 1 | 4µs | |||
- - | |||||
81 | 2 | 20µs | 1 | 1.55ms | # spent 1.55ms making 1 call to AutoLoader::AUTOLOAD |
- - | |||||
85 | 2 | 306µs | |||
86 | 1 | 12µs | 1 | 915µs | # spent 915µs making 1 call to Exporter::import |
- - | |||||
90 | 1 | 4µs | |||
91 | 1 | 6µs | |||
- - | |||||
93 | 1 | 8µ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 | 94µs | 2 | 329µs | # spent 180µs (31+149) within NetAddr::IP::InetBase::BEGIN@125 which was called:
# once (31µs+149µs) by NetAddr::IP::Lite::BEGIN@9 at line 125 # spent 180µs making 1 call to NetAddr::IP::InetBase::BEGIN@125
# spent 149µs making 1 call to vars::import |
126 | 1 | 2µs | |||
127 | 1 | 19µs | |||
128 | 1 | 1.67ms | 1 | 14µs | # spent 14µs making 1 call to NetAddr::IP::InetBase::BEGIN@124 |
- - | |||||
130 | 1 | 2µs | |||
- - | |||||
132 | 3 | 26µs | # spent 13µs within NetAddr::IP::InetBase::upper which was called:
# once (13µs+0s) by NetAddr::IP::InetBase::import at line 274 | ||
133 | |||||
- - | |||||
135 | # spent 79µs (63+16) within NetAddr::IP::InetBase::ipv6_n2x which was called 2 times, avg 40µs/call:
# 2 times (63µs+16µs) by NetAddr::IP::Lite::addr at line 1105 of NetAddr/IP/Lite.pm, avg 40µs/call | ||||
136 | 2 | 5µs | |||
- - | |||||
138 | 2 | 71µs | 2 | 16µs | # spent 16µs making 2 calls to NetAddr::IP::InetBase::CORE:unpack, avg 8µs/call |
- - | |||||
141 | # spent 83µs (76+7) within NetAddr::IP::InetBase::ipv6_n2d which was called 2 times, avg 42µs/call:
# 2 times (76µs+7µs) by NetAddr::IP::InetBase::inet_n2dx at line 511, avg 42µs/call | ||||
142 | 2 | 5µs | |||
- - | |||||
144 | 2 | 30µ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 | 6µs | |||
147 | 2 | 4µs | |||
148 | 2 | 4µs | |||
149 | 2 | 30µs | |||
- - | |||||
167 | # spent 527µs (453+74) within NetAddr::IP::InetBase::fillIPv4 which was called 10 times, avg 53µs/call:
# 10 times (453µs+74µs) by NetAddr::IP::InetBase::inet_aton at line 206, avg 53µs/call | ||||
168 | 10 | 26µs | |||
169 | 10 | 18µs | |||
170 | 10 | 206µs | 10 | 74µs | # spent 74µs making 10 calls to NetAddr::IP::InetBase::CORE:match, avg 7µs/call |
171 | 10 | 40µs | |||
- - | |||||
173 | 10 | 67µs | |||
- - | |||||
177 | 10 | 46µs | |||
- - | |||||
202 | 10 | 125µs | |||
- - | |||||
205 | # spent 839µs (204+635) within NetAddr::IP::InetBase::inet_aton which was called 10 times, avg 84µs/call:
# 6 times (117µs+351µs) by NetAddr::IP::Lite::_xnew at line 1037 of NetAddr/IP/Lite.pm, avg 78µs/call
# 2 times (32µs+93µs) by NetAddr::IP::Lite::_xnew at line 868 of NetAddr/IP/Lite.pm, avg 62µs/call
# once (37µs+111µs) by NetAddr::IP::BEGIN@8 at line 643 of NetAddr/IP/Lite.pm
# once (19µs+80µs) by NetAddr::IP::BEGIN@8 at line 646 of NetAddr/IP/Lite.pm | ||||
206 | 10 | 88µs | 10 | 527µs | # spent 527µs making 10 calls to NetAddr::IP::InetBase::fillIPv4, avg 53µs/call |
207 | 10 | 245µs | 10 | 108µs | # spent 108µs making 10 calls to NetAddr::IP::InetBase::CORE:ghbyname, avg 11µs/call |
- - | |||||
244 | 1 | 3µs | 1 | 11µs | # spent 11µs making 1 call to main::CORE:pack |
245 | 1 | 2µ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 (23µ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 | 41µs | |||
- - | |||||
256 | 1 | 2µs | 1 | 7µs | # spent 7µs making 1 call to main::CORE:pack |
- - | |||||
258 | |||||
- - | |||||
263 | # spent 62µs (39+23) within NetAddr::IP::InetBase::isAnyIPv4 which was called 2 times, avg 31µs/call:
# 2 times (39µs+23µs) by NetAddr::IP::InetBase::inet_n2dx at line 509, avg 31µs/call | ||||
264 | 2 | 4µs | |||
265 | 2 | 15µs | 2 | 23µs | # spent 23µs making 2 calls to NetAddr::IP::InetBase::isIPv4, avg 11µs/call |
266 | 2 | 15µs | |||
- - | |||||
270 | |||||
- - | |||||
272 | # spent 2.29ms (196µs+2.10) within NetAddr::IP::InetBase::import which was called 2 times, avg 1.15ms/call:
# once (98µs+1.18ms) by NetAddr::IP::Util::BEGIN@11 at line 14 of NetAddr/IP/Util.pm
# once (98µs+913µs) by NetAddr::IP::Lite::BEGIN@9 at line 17 of NetAddr/IP/Lite.pm | ||||
273 | 13 | 102µs | |||
274 | 1 | 7µs | 1 | 13µs | # spent 13µs making 1 call to NetAddr::IP::InetBase::upper |
275 | 4 | 21µs | |||
- - | |||||
277 | 2 | 32µs | 2 | 143µs | # spent 143µs making 2 calls to Exporter::export_to_level, avg 71µs/call |
- - | |||||
280 | 1 | 85µs | |||
- - | |||||
406 | # spent 5.29ms (4.37+923µs) within NetAddr::IP::InetBase::ipv6_aton which was called 23 times, avg 230µs/call:
# 11 times (2.07ms+467µs) by NetAddr::IP::Lite::_xnew at line 834 of NetAddr/IP/Lite.pm, avg 230µs/call
# 9 times (1.60ms+320µs) by NetAddr::IP::Lite::_xnew at line 1045 of NetAddr/IP/Lite.pm, avg 213µs/call
# 2 times (478µs+69µs) by NetAddr::IP::InetBase::inet_any2n at line 490, avg 273µs/call
# once (228µs+67µs) by NetAddr::IP::InetBase::inet_any2n at line 24 of AutoLoader.pm | ||||
407 | 23 | 57µs | |||
408 | 23 | 50µs | |||
409 | 23 | 212µs | |||
410 | 23 | 329µs | 23 | 144µs | # spent 144µs making 23 calls to NetAddr::IP::InetBase::CORE:match, avg 6µs/call |
411 | 2 | 10µs | |||
412 | 2 | 15µs | |||
- - | |||||
414 | 23 | 36µs | |||
- - | |||||
416 | 23 | 939µs | 88 | 358µs | # spent 243µs making 65 calls to NetAddr::IP::InetBase::CORE:match, avg 4µs/call
# spent 115µs making 23 calls to NetAddr::IP::InetBase::CORE:subst, avg 5µs/call |
- - | |||||
419 | 23 | 100µs | |||
420 | 23 | 239µs | 19 | 51µs | # spent 51µs making 19 calls to NetAddr::IP::InetBase::CORE:match, avg 3µs/call |
421 | 23 | 41µs | |||
- - | |||||
427 | 23 | 135µs | |||
428 | 65 | 1.10ms | 65 | 233µs | # spent 233µs making 65 calls to NetAddr::IP::InetBase::CORE:subst, avg 4µs/call |
- - | |||||
430 | 23 | 268µs | 23 | 56µs | # spent 56µs making 23 calls to NetAddr::IP::InetBase::CORE:match, avg 2µs/call |
431 | 23 | 239µs | |||
432 | 23 | 144µs | |||
433 | 184 | 785µs | |||
- - | |||||
435 | 23 | 666µs | 23 | 82µs | # spent 82µs making 23 calls to NetAddr::IP::InetBase::CORE:pack, avg 4µs/call |
- - | |||||
439 | 1 | 6µs | |||
- - | |||||
485 | # spent 2.06ms (102µs+1.95) within NetAddr::IP::InetBase::inet_any2n which was called 3 times, avg 685µs/call:
# once (43µs+1.40ms) by NetAddr::IP::BEGIN@8 at line 24 of AutoLoader.pm
# once (31µs+276µs) by NetAddr::IP::BEGIN@8 at line 645 of NetAddr/IP/Lite.pm
# once (28µs+274µs) by NetAddr::IP::BEGIN@8 at line 648 of NetAddr/IP/Lite.pm | ||||
486 | 3 | 7µs | |||
487 | 3 | 4µs | |||
488 | 3 | 47µs | 3 | 7µs | # spent 7µs making 3 calls to NetAddr::IP::InetBase::CORE:match, avg 2µs/call |
- - | |||||
490 | 3 | 50µs | 3 | 1.65ms | # spent 1.11ms making 1 call to AutoLoader::AUTOLOAD
# spent 546µs making 2 calls to NetAddr::IP::InetBase::ipv6_aton, avg 273µs/call |
- - | |||||
494 | 1 | 8µs | |||
- - | |||||
507 | # spent 253µs (91+162) within NetAddr::IP::InetBase::inet_n2dx which was called 2 times, avg 127µs/call:
# once (62µs+95µs) by NetAddr::IP::Lite::addr at line 24 of AutoLoader.pm
# once (29µs+67µ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 | 62µs | if (isAnyIPv4($nadr)) { # spent 62µs making 2 calls to NetAddr::IP::InetBase::isAnyIPv4, avg 31µs/call |
510 | 2 | 16µs | local $1; | ||
511 | 2 | 51µs | 4 | 100µs | ipv6_n2d($nadr) =~ /([^:]+)$/; # spent 83µs making 2 calls to NetAddr::IP::InetBase::ipv6_n2d, avg 42µs/call
# spent 17µs making 2 calls to NetAddr::IP::InetBase::CORE:match, avg 8µs/call |
512 | 2 | 27µ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 108µs within NetAddr::IP::InetBase::CORE:ghbyname which was called 10 times, avg 11µs/call:
# 10 times (108µs+0s) by NetAddr::IP::InetBase::inet_aton at line 207, avg 11µs/call | |||||
# spent 601µs within NetAddr::IP::InetBase::CORE:match which was called 146 times, avg 4µs/call:
# 65 times (243µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 416, avg 4µs/call
# 23 times (144µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 410, avg 6µs/call
# 23 times (56µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 430, avg 2µs/call
# 19 times (51µs+0s) by NetAddr::IP::InetBase::ipv6_aton at line 420, avg 3µs/call
# 10 times (74µ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 (17µs+0s) by NetAddr::IP::InetBase::inet_n2dx at line 511, avg 8µs/call
# once (9µs+0s) by NetAddr::IP::Lite::BEGIN@9 at line 14 | |||||
# spent 82µs within NetAddr::IP::InetBase::CORE:pack which was called 23 times, avg 4µs/call:
# 23 times (82µ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 |