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
Avoid eager initialization of Scope objects. #1680
Comments
A JMH benchmark has been created in a demo project on this branch. To run the benchmark: Lazy initialization and retrieval of Scope objects is shown to be more efficient. Shown using these results (lower is better).
The garbage collector pressure also is improved. Shown with the pauses profiler using JMH (lower is better)
|
Scope objects are being initialized without necessarily being used.
To avoid allocation and gc pressure this issue proposes lazy initialization.
The text was updated successfully, but these errors were encountered: