When doing performance checks, make sure you are using a "release"
configuration, and do NOT have a debugger attached. If the JIT optimization
is disabled (as it will be in either of the cases) you will get much poorer
performance. Remember that it is the JIT which decides what to inline, and
is a MAJOR factor in performance.

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Jerome Bonnet
Sent: Monday, January 07, 2013 11:48 AM
To: [email protected]
Subject: [nhusers] Load of 100.000 objects in 500ms

 

Hello,

 

In my app, I load 100.000 objects map on a table in about 500 ms from Cache
L2. I use NamedQuery;

 

I runned the same query but picking only value like select a, b, c, so there
is no transformation from data to object, and it takes 15ms

 

So, there is a lot of time and CPU to transform the data;

 

Is there a way to optimize this process? perharps I can write something to
avoir reflection ?

 

thk

-- 
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/nhusers/-/tmuUIiEMbBIJ.
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/nhusers?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to