I have a ZClass-product with two possibilities to add a new instance of the product: first: normal add through the ZMI second: through a customized versin, which is callable for the user via url. The form is a customized version of the product_add_form, which has a copy of the product_add as action, where only the redirect at the end goes to a different location. Now the weired thing: adding a new productinstance through the ZMI, takes about 20 - 30 seconds after hitting the submit button, and adding it through the customized version takes about 1 - 2 seconds !! In both cases logged in as the same user, who apparently has Manager rights. How can I find out, where Zope is spending its time ? This is Zope 2.4.3 on sun-solaris behind apache. Mit freundlichen Grüßen Joachim Schmitz -------------------------------------------------------------------- AixtraWare Ingenieurbüro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 -------------------------------------------------------------------- Key fingerprint = DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6 Keyserver: http://germany.keyserver.net/en/
Joachim Schmitz writes:
... setup 1: 20-30 sec; setup 2: 1-2 sec ... How can I find out, where Zope is spending its time ? Options:
* "CallProfiler" product for high level timing analysis. * "Control_Panel -> Debug Information -> Profiling" for low level timing analysis * the "-M" option to see timings on a request basis. Dieter
participants (2)
-
Dieter Maurer -
Joachim Schmitz