Re: python profiling for a XML parser program

2009-09-28 Thread Stefan Behnel
MacRules wrote: I have a python program doing XML data prasing and write the result to 2 data files; which will be loaded to MySQL. [...] Is there a python profiler just like for C program? And tell me which functions or modules take a long time. In case you want to do this because you

python profiling for a XML parser program

2009-09-19 Thread MacRules
I have a python program doing XML data prasing and write the result to 2 data files; which will be loaded to MySQL. I ran this. $ python dealmaker.py ... read data loop through records ... XML parsing ... write to file1.dat ... write to file2.date done Is there a python profiler just like for

Re: python profiling for a XML parser program

2009-09-19 Thread Diez B. Roggisch
MacRules schrieb: I have a python program doing XML data prasing and write the result to 2 data files; which will be loaded to MySQL. I ran this. $ python dealmaker.py ... read data loop through records ... XML parsing ... write to file1.dat ... write to file2.date done Is there a python

Re: python profiling for a XML parser program

2009-09-19 Thread Paul Boddie
On 19 Sep, 21:19, MacRules macru...@none.com wrote: Is there a python profiler just like for C program? And tell me which functions or modules take a long time. Can you show me URL or link on doing this task? Having already looked at combining Python profilers with KCachegrind (as suggested

Re: python profiling for a XML parser program

2009-09-19 Thread MacRules
Paul Boddie wrote: On 19 Sep, 21:19, MacRules macru...@none.com wrote: Is there a python profiler just like for C program? And tell me which functions or modules take a long time. Can you show me URL or link on doing this task? Having already looked at combining Python profilers with