Hello, I've been looking into performance and profiling, and noticed the gc.collect that happens at the end of every request (in trac.web.main). On my osx dev box, this garbage collection is taking roughly 37% of the request time on a simple template, and removing it shows the roughly the same percent increase in requests/second (with ab). I haven't tested with more intensive templates (e.g. reports or timeline) where I assume it would take less percent, however this is pretty significant.
Removing it unfortunately introduces some issues with the database pool and postgres (may be more related to how we're using the database). It also looks like, based on ticket 6614, that it will introduce a number of other issues if it is removed. I haven't fully digested 6614 yet, it's pretty lengthy. I'm just wondering if anyone has any comments or thoughts about this. Regards, Shane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
