[omaha] psyco?

Eli Criffield elicriffield at gmail.com
Fri Jun 22 22:23:04 CEST 2007


I love when i find something cool.

Maybe everyone already knows about Psyco,
http://psyco.sourceforge.net/ but i just found it.
Its speeds up your python code 2x to 100x with an unmodified Python
interpreter and unmodified source code according to there website.

I have a script that parses some big compressed log files and regex's
out the information it needs.

I didn't think psyco could do much because the IO and uncompressing
the logs is probably what takes most of the time. It did help though,
63% faster. It went from 136mins to 86 mins by just adding 2 lines.

import psyco
psyco.full()

It'll be interesting to see how it does on other things.

Eli Criffield


More information about the Omaha mailing list