Note that in the context of CPS, all the nodes we'll use will be
referenceable.
Some tests I'd be interested in having (but maybe reading the source
would give an answer too) are the optimizations available for the
following cases:
- can I get the number of subnodes of a node without taking too much
time?
For instance will the length of the NodeIterator returned by
node.getNodes() be computed efficiently?
- can I ask the jcr:uuid of a node which has many properties without
incurring the cost of reading all these properties.
Zope will do that all the time.
- can I get the length of a STRING or BINARY value efficiently,
without the value itself being read?
This is important to be able to fetch in one go all the small
properties, but make the big ones lazy.
BTW, I've put in
http://svn.nuxeo.org/trac/priv/file/nuxeo.capsule/trunk/src/nuxeo/
capsule/protocol.py
a first version of a simple protocol between Zope and the JCR.
I'll prototype it according to a simple text protocol (see doc/
PROTOCOL.txt) using a simple jython server.
Florent
On 3 Apr 2006, at 19:50, Mircea-Eugen Ionica wrote:
> Here are some results of my tests on jackrabbit.
>
> .insert of 1 nodes NON referenceable tooks 144 milliseconds
> .insert of 1 nodes referenceable tooks 88 milliseconds
> .insert of 10 nodes NON referenceable tooks 946 milliseconds
> .insert of 10 nodes referenceable tooks 892 milliseconds
> .insert of 100 nodes NON referenceable tooks 7278 milliseconds
> .insert of 100 nodes referenceable tooks 7681 milliseconds
> .insert of 100 nodes NON referenceable tooks 9795 milliseconds
> .insert of 100 nodes referenceable tooks 10466 milliseconds
> .access of 1 nodes NON referenceable tooks 13 milliseconds
> .access of 100 nodes NON referenceable tooks 162 milliseconds
> .access of 1 nodes referenceable tooks 0 milliseconds
> .access of 100 nodes referenceable tooks 102 milliseconds
> .node update took 510 milliseconds ;(add 10 props, update 10 props
> & delete 10 props)
>
> Time: 46.315
> OK (13 tests)
--
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
Hosting: Nuxeo: Zope service provider
This page is a mailing archive for one of the Nuxeo projects.
[2008/11/18] Nuxeo 5.2.M3 and Nuxeo WebEngine 1.0.RC released!
[2008/11/13] First Nuxeo Developer Day (1st Dec. 2008) - Still a few seats available[2008/11/13] First Nuxeo Survey[2008/10/08] Nuxeo 5.1.6 ReleasedCorporate News[2008/11/20] Nuxeo secures 2 million Euros and strengthens its board of directors and corporate governance
[2008/11/17] Nuxeo joins OASIS[2008/10/23] IFRA Expo 2008 Amsterdam, October 27th to 30th, Booth 9363, Hall 9[2008/10/08] Nuxeo announces the appointment of Carina Rimoli as Indirect Sales Manager