On 11 May 2005, at 13:05, Brian Grossman wrote:
The biggest slow down though was the per-object post-loop-callbacks.
Iterating through each object every time through our event loop was a
killer. I have a patch for that where I use an external variable to keep
track of whether there are any PLCs which puts the performance back to
normal.
Oh, please please post (or commit so I can pull). I was hoping the high
cpu load wasn't inherent in pollserver.
OK, here it is. Let me know how it runs for you now. I think high CPU load may be inherent although to be fair my spamtrap may not exactly be the best test bed for seeing whether you can get low load.
fixperf.patch
Description: Binary data
