← Index
NYTProf Performance Profile   « block view • line view • sub view »
For C:/lo/libo-master/solenv/bin/make_installer.pl
  Run on Mon Sep 24 00:52:54 2012
Reported on Mon Sep 24 07:34:39 2012

Filename/cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/remover.pm
StatementsExecuted 416109 statements in 1.97s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
135880321.21s1.70sinstaller::remover::::remove_leading_and_ending_quotationmarksinstaller::remover::remove_leading_and_ending_quotationmarks
27739251505ms505msinstaller::remover::::CORE:substinstaller::remover::CORE:subst (opcode)
279811735.5ms53.8msinstaller::remover::::remove_leading_and_ending_whitespacesinstaller::remover::remove_leading_and_ending_whitespaces
3643554µs1.04msinstaller::remover::::remove_ending_pathseparatorinstaller::remover::remove_ending_pathseparator
111318µs321µsinstaller::remover::::BEGIN@30installer::remover::BEGIN@30
3611113µs113µsinstaller::remover::::CORE:regcompinstaller::remover::CORE:regcomp (opcode)
0000s0sinstaller::remover::::remove_leading_and_ending_slashesinstaller::remover::remove_leading_and_ending_slashes
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org. If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28package installer::remover;
29
302431µs2324µs
# spent 321µs (318+3) within installer::remover::BEGIN@30 which was called: # once (318µs+3µs) by installer::systemactions::BEGIN@36 at line 30
use installer::globals;
# spent 321µs making 1 call to installer::remover::BEGIN@30 # spent 3µs making 1 call to UNIVERSAL::import
31
32############################################
33# Remover
34############################################
35
36sub remove_leading_and_ending_whitespaces
37
# spent 53.8ms (35.5+18.3) within installer::remover::remove_leading_and_ending_whitespaces which was called 2798 times, avg 19µs/call: # 1283 times (21.2ms+13.0ms) by installer::packagelist::analyze_list at line 78 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/packagelist.pm, avg 27µs/call # 842 times (8.52ms+3.35ms) by installer::scriptitems::get_sourcepath_from_filename_and_includepath_classic at line 944 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/scriptitems.pm, avg 14µs/call # 250 times (2.06ms+660µs) by installer::setupscript::get_all_items_from_script at line 365 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/setupscript.pm, avg 11µs/call # 140 times (1.22ms+430µs) by installer::profiles::sorting_profile at line 70 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/profiles.pm, avg 12µs/call # 108 times (899µs+242µs) by installer::languages::get_all_languages_for_one_product at line 129 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/languages.pm, avg 11µs/call # 72 times (638µs+225µs) by installer::ziplist::remove_multiples_from_ziplist at line 421 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 12µs/call # 67 times (570µs+243µs) by installer::ziplist::get_variables_from_ziplist at line 348 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 12µs/call # 14 times (182µs+112µs) by installer::worker::collect_all_files_from_includepaths at line 1027 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/worker.pm, avg 21µs/call # 14 times (128µs+41µs) by installer::ziplist::list_all_files_from_include_path at line 618 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 12µs/call # 7 times (60µs+28µs) by installer::ziplist::get_settings_from_ziplist at line 266 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 13µs/call # once (8µs+1µs) by installer::languages::get_all_languages_for_one_product at line 133 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/languages.pm
{
38839455.1ms my ( $stringref ) = @_;
39
40279812.9ms $$stringref =~ s/^\s+//;
# spent 12.9ms making 2798 calls to installer::remover::CORE:subst, avg 5µs/call
4127985.43ms $$stringref =~ s/\s+$//;
# spent 5.43ms making 2798 calls to installer::remover::CORE:subst, avg 2µs/call
42}
43
44sub remove_leading_and_ending_quotationmarks
45
# spent 1.70s (1.21+487ms) within installer::remover::remove_leading_and_ending_quotationmarks which was called 135880 times, avg 13µs/call: # 116696 times (1.02s+396ms) by installer::setupscript::get_all_items_from_script at line 344 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/setupscript.pm, avg 12µs/call # 14933 times (133ms+62.9ms) by installer::windows::idtglobal::fill_assignment_hash at line 1467 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/windows/idtglobal.pm, avg 13µs/call # 4251 times (58.4ms+27.8ms) by installer::windows::idtglobal::create_customaction_assignment_hash at line 1490 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/windows/idtglobal.pm, avg 20µs/call
{
464076401.91s my ( $stringref ) = @_;
47
48135880229ms $$stringref =~ s/^\s*\"//;
# spent 229ms making 135880 calls to installer::remover::CORE:subst, avg 2µs/call
49135880258ms $$stringref =~ s/\"\s*$//;
# spent 258ms making 135880 calls to installer::remover::CORE:subst, avg 2µs/call
50}
51
52sub remove_leading_and_ending_slashes
53{
54 my ( $stringref ) = @_;
55
56 $$stringref =~ s/^\s*\///g;
57 $$stringref =~ s/\/\s*$//g;
58}
59
60sub remove_ending_pathseparator
61
# spent 1.04ms (554µs+487µs) within installer::remover::remove_ending_pathseparator which was called 36 times, avg 29µs/call: # 20 times (386µs+390µs) by installer::systemactions::create_directories at line 281 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/systemactions.pm, avg 39µs/call # 14 times (116µs+51µs) by installer::ziplist::remove_ending_separator at line 532 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 12µs/call # once (33µs+38µs) by installer::parameter::control_required_parameter at line 454 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/parameter.pm # once (20µs+8µs) by installer::parameter::control_required_parameter at line 463 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/parameter.pm
{
62721.01ms my ( $stringref ) = @_;
63
6472487µs $$stringref =~ s/\Q$installer::globals::separator\E\s*$//;
# spent 373µs making 36 calls to installer::remover::CORE:subst, avg 10µs/call # spent 113µs making 36 calls to installer::remover::CORE:regcomp, avg 3µs/call
65}
66
6717µs1;
 
# spent 113µs within installer::remover::CORE:regcomp which was called 36 times, avg 3µs/call: # 36 times (113µs+0s) by installer::remover::remove_ending_pathseparator at line 64, avg 3µs/call
sub installer::remover::CORE:regcomp; # opcode
# spent 505ms within installer::remover::CORE:subst which was called 277392 times, avg 2µs/call: # 135880 times (258ms+0s) by installer::remover::remove_leading_and_ending_quotationmarks at line 49, avg 2µs/call # 135880 times (229ms+0s) by installer::remover::remove_leading_and_ending_quotationmarks at line 48, avg 2µs/call # 2798 times (12.9ms+0s) by installer::remover::remove_leading_and_ending_whitespaces at line 40, avg 5µs/call # 2798 times (5.43ms+0s) by installer::remover::remove_leading_and_ending_whitespaces at line 41, avg 2µs/call # 36 times (373µs+0s) by installer::remover::remove_ending_pathseparator at line 64, avg 10µs/call
sub installer::remover::CORE:subst; # opcode