[Baypiggies] Benchmarking external process with python

Benjamin Sergeant bsergean at gmail.com
Fri Nov 2 23:43:55 CET 2007


Hi all,

I have a bunch of files that needs to be converted from one format to
another, this is done by a program written in C++. I'd like to know
some infos on those convertion, like memory usage, time taken, CPU
load, etc ...
I'm using the subprocess module to launch my binary, I took the
wrapper code from svnmerge.py
(http://www.orcaware.com/svn/wiki/Svnmerge.py).

Thanks for any ideas or links,
Benjamin.


More information about the Baypiggies mailing list