Issue 1022252
Created on 2004-09-04 08:08 by njs, last changed 2004-09-09 00:29 by richard.
msg1442 |
Author: [hidden] (njs) |
Date: 2004-09-04 08:08 |
|
We were looking to see if we could speed up our tracker
a bit, and discovered that roundup.backends.__init__
does some exhaustive searching for working backends,
making a few thousand pointless calls to open(), etc.,
on every page view. As far as I can tell, the only
thing in the entire system to depend on this code is
the installation code; perhaps it could be moved to a
function like list_available_backends() or something,
and that code could call the function instead?
|
msg1443 |
Author: [hidden] (richard) |
Date: 2004-09-09 00:29 |
|
Logged In: YES
user_id=6405
This is the case when you're running the interface using the
cgi-bin script. Even removing the checking in the backends
code, there's still a hella lot of importing going on.
I recommend that you use the roundup-server script if
performance is an issue.
This code will behave differently in 0.8 in any case.
|
|
Date |
User |
Action |
Args |
2004-09-04 08:08:26 | njs | create | |
|