Filename | /home/ocbnet/domain/ocbnet.ch/vhost/webmerge/htdocs/webmerge/scripts/modules/OCBNET/Spritesets/Edge.pm |
Statements | Executed 151 statements in 2.90ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
48 | 1 | 1 | 2.31ms | 534ms | layout | OCBNET::Spritesets::Edge::
1 | 1 | 1 | 99µs | 200µs | BEGIN@12 | OCBNET::Spritesets::Edge::
1 | 1 | 1 | 52µs | 83µs | BEGIN@13 | OCBNET::Spritesets::Edge::
1 | 1 | 1 | 51µs | 448µs | BEGIN@18 | OCBNET::Spritesets::Edge::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | ################################################################################################### | ||||
2 | # Copyright 2013 by Marcel Greter | ||||
3 | # This file is part of Webmerge (GPL3) | ||||
4 | #################################################################################################### | ||||
5 | # so far the canvas makes the difference between | ||||
6 | # an edge and a stack, but leave this file so we | ||||
7 | # may move relevant optimizations into here later | ||||
8 | #################################################################################################### | ||||
9 | package OCBNET::Spritesets::Edge; | ||||
10 | #################################################################################################### | ||||
11 | |||||
12 | 2 | 154µs | 2 | 300µs | # spent 200µs (99+100) within OCBNET::Spritesets::Edge::BEGIN@12 which was called:
# once (99µs+100µs) by OCBNET::Spritesets::BEGIN@29 at line 12 # spent 200µs making 1 call to OCBNET::Spritesets::Edge::BEGIN@12
# spent 100µs making 1 call to strict::import |
13 | 2 | 160µs | 2 | 114µs | # spent 83µs (52+31) within OCBNET::Spritesets::Edge::BEGIN@13 which was called:
# once (52µs+31µs) by OCBNET::Spritesets::BEGIN@29 at line 13 # spent 83µs making 1 call to OCBNET::Spritesets::Edge::BEGIN@13
# spent 31µs making 1 call to warnings::import |
14 | |||||
15 | #################################################################################################### | ||||
16 | |||||
17 | # a stack is a container is a block | ||||
18 | 2 | 327µs | 2 | 846µs | # spent 448µs (51+398) within OCBNET::Spritesets::Edge::BEGIN@18 which was called:
# once (51µs+398µs) by OCBNET::Spritesets::BEGIN@29 at line 18 # spent 448µs making 1 call to OCBNET::Spritesets::Edge::BEGIN@18
# spent 398µs making 1 call to base::import |
19 | |||||
20 | #################################################################################################### | ||||
21 | |||||
22 | # layout the edge | ||||
23 | # ****************************************************************************** | ||||
24 | sub layout | ||||
25 | # spent 534ms (2.31+532) within OCBNET::Spritesets::Edge::layout which was called 48 times, avg 11.1ms/call:
# 48 times (2.31ms+532ms) by OCBNET::Spritesets::Canvas::Layout::layout at line 108 of webmerge/scripts/modules/OCBNET/Spritesets/Canvas/Layout.pm, avg 11.1ms/call | ||||
26 | |||||
27 | # get instance | ||||
28 | 48 | 181µs | my ($self) = shift; | ||
29 | |||||
30 | # call stack layout | ||||
31 | 48 | 1.40ms | 48 | 532ms | $self->SUPER::layout; # spent 532ms making 48 calls to OCBNET::Spritesets::Stack::layout, avg 11.1ms/call |
32 | |||||
33 | # call and return base method | ||||
34 | 48 | 671µs | return $self; | ||
35 | |||||
36 | } | ||||
37 | # EO sub layout | ||||
38 | |||||
39 | #################################################################################################### | ||||
40 | #################################################################################################### | ||||
41 | 1 | 10µs | 1; |