-
Notifications
You must be signed in to change notification settings - Fork 56
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
Move benchmarks to an independent project #325
Conversation
@@ -1,8 +1,10 @@ | |||
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | |||
// SPDX-License-Identifier: Apache-2.0 | |||
package com.amazon.corretto.crypto.provider; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When using published ACCP for benchmarking, it complains that the benchmark package is not consistent with ACCP's signed JAR. To resolve this issue, the benchmark code is moved to com.amazon.corretto.crypto.provider.benchmarks
from com.amazon.corretto.crypto.provider
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent simplification @amirhosv !
* Benchmarks now depend on ACCP and there is no need to build ACCP * Benchmarks can be run against published ACCP artifacts on Maven
jmhResultPath = "${jmhReportOutput}/results.json" | ||
} | ||
|
||
tasks.jmh { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block ensures jmhReport
is executed after jmh
.
Thanks for doing this! This'll solve a lot of annoying problems related to the awkward JMH source set breaking conventions in IDEs and Gradle. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Move benchmarks to an independent project
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.