2008/8/22 Olive <[EMAIL PROTECTED]>: > > Hi, > > here are my results: > > mod_wsgi 2.1: > > un-cPickle: 4.44s > dict op: 0.07s > > > mod_python 3.2.8: > > un-cPickle: 2.13s > dict op: 0.07s > > > Command line: > > un-cPickle: 1.26s > dict op: 0.08s > > > Linux RHEL, Python 2.4.3, Apache 2.2.3 Prefork. > > Is there a way to improve that (maybe by preloading the dict once) ?
There is nothing about how mod_wsgi works that would cause a low level operation such as unpickling a data structure to run slower. How are you timing it? Are you timing around just the unpickle or are you trying to time a HTTP request? What is the data structure and how complicated is it? Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
