Docunext


Psyco Trac

December 5th, 2007

I'm trying to setup trac with psyco, and so far it seems to work but I have no clue if it actually is working. I just added this to the start of trac.fcgi:

import psyco

psyco.log()

psyco.full(memory=100)

psyco.profile(0.05, memory=100)

psyco.profile(0.2)

as explained here: http://psyco.sourceforge.net/psycoguide/node8.html

I enabled logging, and it looks like its working:

13:15:03.71   ______        #1   |100.0 %|  run                       .../fcgi_frontend.py:25

13:15:03.71  memory usage: 14929+ kb                                       %

13:15:03.71  program exit, 12/05/07                     %%%%%%%%%%%%%%%%%%%%
Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022