To: Ivan Bojer , IBatis
Subject: Re: Java reflection performance
I recommend that if you have performance problem, find the root cause
first, find what makes your application slow, then fix it, maybe by
rewriting algorithms, using batch processing.
You need to prove what the problem is first
answer.
>
>
> From: Kengkaj Sathianpantarit
> Reply-To: IBatis
> Date: Fri, 13 Mar 2009 06:35:03 -0700
> To: IBatis
> Subject: Re: Java reflection performance
>
> By realtime applications, I just mean applications that the timing is really
> important.
> From your e
answer.
>
>
> *From: *Kengkaj Sathianpantarit
> *Reply-To: *IBatis
> *Date: *Fri, 13 Mar 2009 06:35:03 -0700
> *To: *IBatis
> *Subject: *Re: Java reflection performance
>
>
> By realtime applications, I just mean applications that the timing is
> really important
improvement that will
tell me something. Beside all of this I am really just curious from the
geekness factor on why is there a difference.
Thank you for your answer.
From: Kengkaj Sathianpantarit
Reply-To: IBatis
Date: Fri, 13 Mar 2009 06:35:03 -0700
To: IBatis
Subject: Re: Java reflection
By realtime applications, I just mean applications that the timing is really
important.
>From your example, for retrieving an account balance, the system slowdown
sometimes for 10 seconds is bad, but there is nobody dies or losses big
benefit because of it.
But for jet fighters, it's a different st
I'm curious what you mean by 'realtime application'. Not trying to be
confrontational, but do you mean like the difference between writing
controls for a jet fighter vs. retrieving an account balance? I've always
thought they were both 'realtime'. Just a difference in semantics, I'm
sure, but I
It is "slower", because it has more things to do, but if you're not
implementing realtime application, this should not be an issue.
Kengkaj
On Fri, Mar 13, 2009 at 11:47 AM, Ivan Bojer wrote:
> Ibatis documentation states that there is performance gain if one uses
> resultmaps instead of letti
Reflection is not slow enough to worry about. But if you don't specify the
result maps explicitly, then iBATIS has to access a bunch of metadata, look
stuff up in maps, and synchronize the call. That's slower. Still not
enough to worry about IMHO.
Clinton
On Thu, Mar 12, 2009 at 10:47 PM, Ivan