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

Benchmark with JMH #260

Open
stokito opened this issue Dec 29, 2018 · 1 comment
Open

Benchmark with JMH #260

stokito opened this issue Dec 29, 2018 · 1 comment

Comments

@stokito
Copy link
Member

stokito commented Dec 29, 2018

I saw the org.javamoney.moneta.PerformanceTest and actually I can rewrite it with JMH and extend. Maybe we already have some benchmark?

@marschall
Copy link
Member

I thought the same thing. I found that it's in general easier to put JMH benchmarks in a dedicated Maven submodule instead of fitting them into an existing one.

I haven't profiled org.javamoney.moneta.PerformanceTest yet but I would not be surprised int the rounding tests spend most of their time in Monetary.getDefaultRounding() rather than in rounding.

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

3 participants