Re: TR : RE : Zope really slow in d ebug mode

Florent Guillaume <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
You could add a LOG or a print statement in the _cook method of lib/ 
python/Products/PageTemplates/PageTemplate.py, that's where ZPT  
recompiling occurs.
Or in _updateFromFS in Products/CMFCore/FSObject.py, which is where  
the file dates are checked and maybe reread when in debug mode.

Florent

On 8 Mar 2007, at 08:05, Winterflood, Jonathan wrote:

> Forwarding to the list
> De: Lennart Regebro [mailto:[email protected]]
> Date: mer. 07/03/2007 18:30
> À: Winterflood, Jonathan
> Objet : Re: RE : [CPS-devel] Zope really slow in debug mode
> On 3/7/07, Winterflood, Jonathan  
> <[email protected]> wrote:
> >
> > My date is correct, as far as I can tell (It's wednesday, right? :D)
> > I'm editing with Eclipse and Lomboz, which I doubt would scramble  
> the dates (plus the dates are managed by the file system, no?)
> > Could Zope be unable to resolve the system date somehow?
>
> No, in fact I checked the code and it doens't compare with the system
> date at all, but with the old date of the file, so that's not the
> problem at all.
>
> > Is there a way to tell whether zope is actually recompiling  
> everything?
>
> Not an easy one that I can think of, no.
>
> --
> Lennart Regebro: Zope and Plone consulting.
> http://www.colliberty.com/
> +33 661 58 14 64
>
> This message contains information that may be privileged or  
> confidential and is the property of the Capgemini Group. It is  
> intended only for the person to whom it is addressed. If you are  
> not the intended recipient, you are not authorized to read, print,  
> retain, copy, disseminate, distribute, or use this message or any  
> part thereof. If you receive this message in error, please notify  
> the sender immediately and delete all copies of this message.
>
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel

-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87



_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.