Hi Florian,
We take a standard approach of avoiding early optimization. I was
going to do profiling when 1.2 goes beta. Right now too many things
change to do any meaningful work on that.
But still thanks for bringing this up! I would even go as far as
opening an issue in Jira to list your findings so that we do not
overlook it. Could you please do that:
http://objectstyle.org/cayenne/bugs-features.html
> Profiling of the application show us that in version 1.2 most of the
> creation time is spent inside
> org.objectstyle.cayenne.util.IDUtil.pseudoUniqueByteSequence16()
Need to look into that. Due to the new remoting and nesting features
we need a temporary ID that is unique, but we may need a better
algorithm. Maybe batch this operation somehow. Your application made
the inefficiency obvious since you insert lots of objects.
> The call
> org.objectstyle.cayenne.access.DataContext.createAndRegisterNewObject(
> Class)
> is up to 6 time slower in the 1.2 implementation.
>
> Also it show us that for 40 commits the code 1.2 is 500 ms times
> slower
> than 1.1.
Do you have relative data (500 ms. relative to what)? Also do you
have any profiling data to point to the cause?
Thanks
Andrus
This archive was generated by hypermail 2.0.0 : Thu Feb 02 2006 - 12:46:51 EST