I would use my "ZopeProfiler" to find out what takes the time:
Thanks Dieter, I found the problem before I saw this post. It turns out pickling a large list of custom dictionaries (my LDAPResult class), which was in SESSION, was taking 20 seconds. I wasn't aware that pickling custom classes took so long! Once I found that out, I converted back to using lists of dictionaries, and the response time decreased from 30 seconds to 2 seconds. Thanks for the help; I'll check out the profiler next time! Andy
Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )