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

Optimize InvocationContext creation & sharing among composite handlers #15

Open
schlosna opened this issue May 11, 2017 · 3 comments
Open

Comments

@schlosna
Copy link
Contributor

Avoid multiple calls to System.nanoTime() to avoid unnecessary overhead.

See also https://shipilev.net/blog/2014/nanotrusting-nanotime/

@schlosna
Copy link
Contributor Author

Will likely require injecting nanos into handler preInvocation and API break

@schlosna
Copy link
Contributor Author

While at it, really need to inject ticker for testing

@carterkozak
Copy link
Contributor

Rather than optimization on sharing data, perhaps we could solve this with additional isolation? #393

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

No branches or pull requests

2 participants