python profiling for a XML parser program

Diez B. Roggisch deets at
Sat Sep 19 21:56:40 CEST 2009

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
> ... read data
> loop through records
> ... XML parsing
> ... write to file1.dat
> ... write to
> done
> 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?

Google dead today?

First hit. It's build-in already.


More information about the Python-list mailing list