Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Dagger instead of Guice for Dependency Injection #148

Open
Tracked by #165
yissachar opened this issue Apr 25, 2014 · 0 comments
Open
Tracked by #165

Use Dagger instead of Guice for Dependency Injection #148

yissachar opened this issue Apr 25, 2014 · 0 comments

Comments

@yissachar
Copy link
Owner

Dagger uses compile-time code generation instead of runtime reflection for better performance.

On the test site this resulted in instances starting up 3.5 seconds faster (a 16% improvement). On the production site this would be around 2.5 seconds, bringing the time down to 13 seconds.

The current Dagger version is a bit messy to use (at least in conjunction with Jersey/Servlets). The 2.0 version should clean things up, as well as bring even more performance benefits since it will completely remove any runtime reflection in favor of total up-front code generation and wiring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant