Hi,

Armand LEROUX wrote:
> I am running basic performance tests on document creation factory
> because document creation takes too much time.
> 
> Here is the famous point :
> 
> * My schema contains write expression. I whish to disable write
> expression evaluation, measure creation time and compare them.

How many wrote expressions and doing what ? Why do you suspect them to
be responsible for that ?

> Write expression are stored in CPSFields subclasses (CPSStringField,
> CPSListField...)
> 
> "I think write expression evaluations are evaluated by Datamodel.py". I
> don't know yet what to alter to disable the write-expression contained
> in portal_schemas/my_schema/myField:write-expression
> 
> Which file should I alter to disable write expression calculus ?
> 
> Can somebody point me toward relevant links ?

Field.py : processValueBeforeWrite()

Cheers,

        J.


-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to