Comments (3)
Hi @erikcaffrey I did some performance tests, and the time consumed by reflection is insignificant. Reflection can affect the performance is you are doing for each run cycle or with a lot of object. In this case is for find a field when the activity has been created and when you invoke a useCase, if you are invoking a use case each few time the problem could be other.
The solution is use code generation annotations. We can move it to this solution in a future, but it's not in the pipeline right now.
If you want make some performance test it's really easy, calculate the difference with System.nanotimes, after and before to search the use case, and this is the time spent in reflection.
from rosie.
Oh!! I get it thanks for your answer Jorge @flipper83 !
Thank you for your great contributions!
from rosie.
You are welcome @erikcaffrey :) As this question seems to be answered I'm closing this issue :) Thank you so much!
from rosie.
Related Issues (20)
- Improve ``PresenterLifeCycleLinker`` public API.
- Extending RosieApplication HOT 4
- RosieSupportFragment HOT 3
- How to connect a Activity to its Presenter without Injection? HOT 4
- Communication between presenters HOT 5
- Remove ButterKnife and Renderers library. HOT 1
- I have another question, How can I include third library in my arr like your rosie? HOT 5
- NoSuchMethodError. No ButterKnife.bind(Activity) method HOT 1
- Uses cases from sync service (question) HOT 1
- Extract caching logic from RosieRepository.java HOT 1
- OnErrorCallback null pointer exception with Marshmallow devices HOT 1
- Searching in repositories HOT 2
- Stabilize Travis-CI builds HOT 2
- provide a proguard rules HOT 1
- NullPointerException sometimes in RosieUseCase.notifyError() HOT 1
- Release 2.1.1 - ButterKnife changes HOT 2
- RuntimeException with 2 or more presenters HOT 1
- Error when running a signed APK HOT 17
- Rosie incompatible with android.arch.lifecycle ¿? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosie.