← Index
NYTProf Performance Profile   « line view »
For webmerge/scripts/webmerge.pl
  Run on Mon Oct 7 02:42:42 2013
Reported on Mon Oct 7 03:03:19 2013

Filename/home/ocbnet/domain/ocbnet.ch/vhost/webmerge/htdocs/webmerge/scripts/modules/OCBNET/Spritesets/Edge.pm
StatementsExecuted 151 statements in 2.90ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
48112.31ms534msOCBNET::Spritesets::Edge::::layoutOCBNET::Spritesets::Edge::layout
11199µs200µsOCBNET::Spritesets::Edge::::BEGIN@12OCBNET::Spritesets::Edge::BEGIN@12
11152µs83µsOCBNET::Spritesets::Edge::::BEGIN@13OCBNET::Spritesets::Edge::BEGIN@13
11151µs448µsOCBNET::Spritesets::Edge::::BEGIN@18OCBNET::Spritesets::Edge::BEGIN@18
Call graph for these subroutines as a Graphviz dot language file.
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####################################################################################################
9package OCBNET::Spritesets::Edge;
10####################################################################################################
11
122154µs2300µ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
use strict;
# spent 200µs making 1 call to OCBNET::Spritesets::Edge::BEGIN@12 # spent 100µs making 1 call to strict::import
132160µs2114µ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
use warnings;
# 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
182327µs2846µ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
use base 'OCBNET::Spritesets::Stack';
# 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# ******************************************************************************
24sub 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
2848181µs my ($self) = shift;
29
30 # call stack layout
31481.40ms48532ms $self->SUPER::layout;
# spent 532ms making 48 calls to OCBNET::Spritesets::Stack::layout, avg 11.1ms/call
32
33 # call and return base method
3448671µs return $self;
35
36}
37# EO sub layout
38
39####################################################################################################
40####################################################################################################
41110µs1;