Ticket #4449: profile_gettext-output.txt

File profile_gettext-output.txt, 10.5 KB (added by manuq, 11 years ago)
Line 
1         135820 function calls (134966 primitive calls) in 3.088 seconds
2
3   Ordered by: standard name
4
5   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
6        1    0.000    0.000    0.000    0.000 <string>:1(<module>)
7      130    0.007    0.000    0.012    0.000 copy.py:123(_copy_inst)
8      130    0.003    0.000    0.016    0.000 copy.py:66(copy)
9     1576    0.083    0.000    0.116    0.000 genericpath.py:15(exists)
10      5/1    0.000    0.000    0.000    0.000 gettext.py:105(repl)
11      514    0.033    0.000    0.105    0.000 gettext.py:130(_expand_lang)
12       28    0.003    0.000    1.892    0.068 gettext.py:174(__init__)
13       28    0.652    0.023    1.890    0.067 gettext.py:262(_parse)
14      130    0.003    0.000    0.004    0.000 gettext.py:400(ugettext)
15      514    0.095    0.000    0.457    0.001 gettext.py:423(find)
16      514    0.026    0.000    2.448    0.005 gettext.py:463(translation)
17       12    0.006    0.001    0.261    0.022 gettext.py:75(c2py)
18      514    0.029    0.000    0.047    0.000 locale.py:339(normalize)
19        1    0.000    0.000    0.000    0.000 pickle.py:1261(_EmptyClass)
20        1    0.000    0.000    0.000    0.000 pickle.py:171(Pickler)
21        1    0.007    0.007    0.016    0.016 pickle.py:27(<module>)
22        1    0.000    0.000    0.000    0.000 pickle.py:58(PickleError)
23        1    0.000    0.000    0.000    0.000 pickle.py:62(PicklingError)
24        1    0.000    0.000    0.000    0.000 pickle.py:69(UnpicklingError)
25        1    0.000    0.000    0.000    0.000 pickle.py:82(_Stop)
26        1    0.000    0.000    0.000    0.000 pickle.py:827(Unpickler)
27      130    0.017    0.000    0.044    0.000 posixpath.py:312(normpath)
28      130    0.003    0.000    0.048    0.000 posixpath.py:341(abspath)
29      130    0.001    0.000    0.002    0.000 posixpath.py:51(isabs)
30     1576    0.077    0.000    0.134    0.000 posixpath.py:60(join)
31        1    0.005    0.005    3.091    3.091 profile_gettext.py:1(<module>)
32        1    0.116    0.116    0.278    0.278 profile_gettext.py:34(read_all_languages)
33      257    0.022    0.000    2.788    0.011 profile_gettext.py:6(get_locale_name_gettext)
34      117    0.002    0.000    0.008    0.000 re.py:134(match)
35       30    0.000    0.000    0.232    0.008 re.py:188(compile)
36      147    0.002    0.000    0.237    0.002 re.py:226(_compile)
37       12    0.000    0.000    0.001    0.000 re.py:248(_compile_repl)
38       12    0.001    0.000    0.001    0.000 re.py:268(_subx)
39      118    0.003    0.000    0.041    0.000 sre_compile.py:178(_compile_charset)
40      118    0.009    0.000    0.035    0.000 sre_compile.py:207(_optimize_charset)
41      366    0.002    0.000    0.002    0.000 sre_compile.py:24(_identityfunction)
42       20    0.004    0.000    0.011    0.001 sre_compile.py:258(_mk_bitmap)
43    272/9    0.018    0.000    0.087    0.010 sre_compile.py:32(_compile)
44      121    0.002    0.000    0.005    0.000 sre_compile.py:354(_simple)
45        9    0.001    0.000    0.018    0.002 sre_compile.py:361(_compile_info)
46       18    0.000    0.000    0.000    0.000 sre_compile.py:474(isstring)
47        9    0.000    0.000    0.105    0.012 sre_compile.py:480(_code)
48        9    0.000    0.000    0.233    0.026 sre_compile.py:495(compile)
49      581    0.007    0.000    0.009    0.000 sre_parse.py:126(__len__)
50     1218    0.020    0.000    0.027    0.000 sre_parse.py:130(__getitem__)
51      121    0.001    0.000    0.001    0.000 sre_parse.py:134(__setitem__)
52      323    0.012    0.000    0.014    0.000 sre_parse.py:138(append)
53  391/130    0.012    0.000    0.018    0.000 sre_parse.py:140(getwidth)
54       10    0.000    0.000    0.000    0.000 sre_parse.py:178(__init__)
55      946    0.011    0.000    0.019    0.000 sre_parse.py:182(__next)
56      736    0.016    0.000    0.019    0.000 sre_parse.py:195(match)
57      764    0.007    0.000    0.022    0.000 sre_parse.py:201(get)
58       38    0.000    0.000    0.001    0.000 sre_parse.py:225(_class_escape)
59       68    0.001    0.000    0.002    0.000 sre_parse.py:257(_escape)
60     63/9    0.004    0.000    0.126    0.014 sre_parse.py:301(_parse_sub)
61    121/9    0.036    0.000    0.126    0.014 sre_parse.py:379(_parse)
62        9    0.000    0.000    0.127    0.014 sre_parse.py:663(parse)
63        9    0.000    0.000    0.000    0.000 sre_parse.py:67(__init__)
64        1    0.000    0.000    0.000    0.000 sre_parse.py:691(parse_template)
65        5    0.000    0.000    0.000    0.000 sre_parse.py:698(literal)
66       42    0.000    0.000    0.001    0.000 sre_parse.py:72(opengroup)
67       42    0.000    0.000    0.001    0.000 sre_parse.py:83(closegroup)
68      272    0.003    0.000    0.003    0.000 sre_parse.py:90(__init__)
69        1    0.000    0.000    0.000    0.000 subprocess.py:1027(_get_handles)
70        4    0.000    0.000    0.000    0.000 subprocess.py:1072(_set_cloexec_flag)
71        2    0.000    0.000    0.000    0.000 subprocess.py:1085(pipe_cloexec)
72        1    0.001    0.001    0.005    0.005 subprocess.py:1111(_execute_child)
73        1    0.000    0.000    0.000    0.000 subprocess.py:1252(_handle_exitstatus)
74        1    0.000    0.000    0.000    0.000 subprocess.py:1266(_internal_poll)
75        1    0.003    0.003    0.020    0.020 subprocess.py:391(<module>)
76        1    0.000    0.000    0.000    0.000 subprocess.py:402(CalledProcessError)
77        1    0.000    0.000    0.000    0.000 subprocess.py:460(_cleanup)
78        1    0.000    0.000    0.004    0.004 subprocess.py:475(_eintr_retry_call)
79        1    0.000    0.000    0.000    0.000 subprocess.py:618(Popen)
80        1    0.000    0.000    0.006    0.006 subprocess.py:619(__init__)
81        1    0.000    0.000    0.000    0.000 subprocess.py:709(__del__)
82        1    0.001    0.001    0.001    0.001 token.py:13(<module>)
83        1    0.000    0.000    0.000    0.000 tokenize.py:145(TokenError)
84        1    0.000    0.000    0.000    0.000 tokenize.py:147(StopTokenizing)
85        1    0.000    0.000    0.000    0.000 tokenize.py:178(Untokenizer)
86        1    0.001    0.001    0.229    0.229 tokenize.py:25(<module>)
87      121    0.003    0.000    0.005    0.000 tokenize.py:264(generate_tokens)
88       19    0.000    0.000    0.000    0.000 tokenize.py:44(group)
89        1    0.000    0.000    0.000    0.000 tokenize.py:45(any)
90        2    0.000    0.000    0.000    0.000 tokenize.py:46(maybe)
91    18936    0.473    0.000    0.798    0.000 utf_8.py:15(decode)
92    18936    0.325    0.000    0.325    0.000 {_codecs.utf_8_decode}
93        9    0.000    0.000    0.000    0.000 {_sre.compile}
94    19020    0.157    0.000    0.157    0.000 {_struct.unpack}
95       12    0.000    0.000    0.000    0.000 {cStringIO.StringIO}
96        2    0.001    0.000    0.001    0.000 {dir}
97       12    0.008    0.001    0.011    0.001 {eval}
98        8    0.000    0.000    0.000    0.000 {fcntl.fcntl}
99        1    0.000    0.000    0.000    0.000 {gc.disable}
100        1    0.000    0.000    0.000    0.000 {gc.enable}
101        1    0.000    0.000    0.000    0.000 {gc.isenabled}
102       30    0.000    0.000    0.000    0.000 {getattr}
103        1    0.000    0.000    0.000    0.000 {globals}
104      521    0.005    0.000    0.005    0.000 {hasattr}
105     1891    0.010    0.000    0.010    0.000 {isinstance}
1064254/4099    0.024    0.000    0.025    0.000 {len}
107        1    0.000    0.000    0.218    0.218 {map}
108       88    0.000    0.000    0.000    0.000 {max}
109     7772    0.047    0.000    0.047    0.000 {method 'append' of 'list' objects}
110        1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}
111     5504    0.024    0.000    0.024    0.000 {method 'endswith' of 'str' objects}
112       23    0.000    0.000    0.000    0.000 {method 'extend' of 'list' objects}
113    26943    0.110    0.000    0.110    0.000 {method 'find' of 'str' objects}
114     1725    0.009    0.000    0.009    0.000 {method 'get' of 'dict' objects}
115       15    0.000    0.000    0.000    0.000 {method 'group' of '_sre.SRE_Match' objects}
116       10    0.000    0.000    0.000    0.000 {method 'items' of 'dict' objects}
117      149    0.011    0.000    0.011    0.000 {method 'join' of 'str' objects}
118      310    0.001    0.000    0.001    0.000 {method 'lower' of 'str' objects}
119     1552    0.006    0.000    0.006    0.000 {method 'lstrip' of 'str' objects}
120      214    0.002    0.000    0.002    0.000 {method 'match' of '_sre.SRE_Pattern' objects}
121       18    0.001    0.000    0.001    0.000 {method 'pop' of 'list' objects}
122       29    0.042    0.001    0.042    0.001 {method 'read' of 'file' objects}
123       24    0.000    0.000    0.000    0.000 {method 'readline' of 'cStringIO.StringI' objects}
124       42    0.000    0.000    0.000    0.000 {method 'remove' of 'list' objects}
125     1052    0.005    0.000    0.005    0.000 {method 'replace' of 'str' objects}
126      514    0.002    0.000    0.002    0.000 {method 'reverse' of 'list' objects}
127       28    0.007    0.000    0.007    0.000 {method 'setdefault' of 'dict' objects}
128        1    0.000    0.000    0.000    0.000 {method 'sort' of 'list' objects}
129       87    0.000    0.000    0.000    0.000 {method 'span' of '_sre.SRE_Match' objects}
130     1880    0.010    0.000    0.010    0.000 {method 'split' of 'str' objects}
131       28    0.003    0.000    0.003    0.000 {method 'splitlines' of 'str' objects}
132     5493    0.050    0.000    0.050    0.000 {method 'startswith' of 'str' objects}
133      930    0.012    0.000    0.012    0.000 {method 'strip' of 'str' objects}
134    35/30    0.001    0.000    0.002    0.000 {method 'sub' of '_sre.SRE_Pattern' objects}
135      514    0.003    0.000    0.003    0.000 {method 'translate' of 'str' objects}
136      130    0.001    0.000    0.001    0.000 {method 'update' of 'dict' objects}
137      384    0.312    0.001    0.312    0.001 {method 'write' of 'file' objects}
138      628    0.006    0.000    0.006    0.000 {min}
139       28    0.001    0.000    0.001    0.000 {open}
140      284    0.002    0.000    0.002    0.000 {ord}
141        1    0.000    0.000    0.000    0.000 {posix.WEXITSTATUS}
142        1    0.000    0.000    0.000    0.000 {posix.WIFEXITED}
143        1    0.000    0.000    0.000    0.000 {posix.WIFSIGNALED}
144        3    0.000    0.000    0.000    0.000 {posix.close}
145        1    0.000    0.000    0.000    0.000 {posix.fdopen}
146        1    0.000    0.000    0.000    0.000 {posix.fork}
147        2    0.000    0.000    0.000    0.000 {posix.pipe}
148        1    0.004    0.004    0.004    0.004 {posix.read}
149     1576    0.033    0.000    0.033    0.000 {posix.stat}
150        1    0.000    0.000    0.000    0.000 {posix.sysconf}
151        1    0.000    0.000    0.000    0.000 {posix.waitpid}
152      528    0.003    0.000    0.003    0.000 {range}
153
154