Re: schema write expression

Julien Anguenot <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Organization NUXEO
Message-ID <[email protected]>
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

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE/hEeGhoG8MxZ/pIRAtGPAJoDOMqAJQoOwDBW/GVBY4koz5uHygCff6n3
dg4zzKTzLXEfWrsR2ROKEOM=
=tTto
-----END PGP SIGNATURE-----
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.