Hello,

I'm encountering performance issue in RequestFactory when sending
large complicated object graphs to the server.
After some debuging I found out that the problem is in line 267 in
SimpleRequestProcessor.createReturnOperations

     if (id.isEphemeral()) {
        // See if the entity has been persisted in the meantime
        returnState.getResolver().resolveClientValue(domainObject,
id.getProxyClass(),
            Collections.<String> emptySet());
      }

Request that takes about 20 sec. goes down to 2 sec. if I skip this
code like this:

     if (id.isEphemeral()) {
        // See if the entity has been persisted in the meantime
        //returnState.getResolver().resolveClientValue(domainObject,
id.getProxyClass(), Collections.<String> emptySet());
      }

It dosen't seem to have any other effect on my app.
So I wonder, is it realy necessary to see if the entity has been
persisted in the meantime?
and if so, why is so slow when working with large object graphs?

Thanks,
Jakob

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to