-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add benchmark tests for machine creation latency #105
Comments
Benchmarks.java already has a few benchmarks that pound away at |
Thanks. Found this
Its just missing couple of lines to track total-time or number of machines built per sec. |
Those benchmarks are generally lousy for their declared purpose, back when I was doing that there was really no good way to track Java memory usage and relate it to code. Maybe the tooling is better now? But yeah, might give useful latency numbers. |
JMH is the standard solution though we need to break apart the benchmark into smaller files with tests. Last time I gave it a try, the numbers were had more than 5% of variance compared to our current tests. Not sure if that's just a quirk of benchmarks tests or because of the changes we've made. I don't think there's any big changes coming up soon, so I might give adding JMH again a try once I've wrapped up the first draft for epml-spec/draft-ietf-patterns-protocol#1 |
What is your idea?
Add benchmark tests for machine creation latency
Would you be willing to make the change?
Maybe
Additional context
#104
The text was updated successfully, but these errors were encountered: