I haven't been keeping detailed records, but from what I have been seeing, 
I think much of my performance hits and optimization improvements has come 
from uglifying my code by removing annotations from injected parameters, 
replacing @Assisted/FMB with boilerplate factories, and creating 
boilerplate generic implementations instead of using TypeLiteral.

On Wednesday, June 20, 2012 8:28:02 AM UTC-5, Christian Gruber wrote:
>
>
> Not an android guy (and am in the middle of six things - won't be able to 
> start up a new environment for this - but I trust you).  Reflection can be 
> expensive in constrained environments.  I am hoping to do some benchmarking 
> with caliper this coming quarter, and look at key areas to speed up.  As a 
> personal musing, I wonder where most of that work is… the reflection of 
> finding @Inject constructors and using them, or of looking up provider 
> methods. etc.  Which bits would be the biggest hits.  And byte code 
> manipulation might not be faster for your case, but a code-gen approach 
> might. 
>
> While I can't setup the env right now, when I start benchmarking, it'd be 
> good to look at this.  Please feel free to send me the trace-view, and I'll 
> dig through it when I can get some time for this. 
>
> C.

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

Reply via email to