-
Notifications
You must be signed in to change notification settings - Fork 153
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 more details to HTML report #256
Conversation
eec05b4
to
957ad7f
Compare
@@ -65,7 +65,7 @@ public static String safeFileName(String name) { | |||
|
|||
@Override | |||
public String getBuildToolDisplayName() { | |||
return buildConfiguration.getGradleVersion().getVersion(); | |||
return buildConfiguration.getGradleVersion().toString(); |
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.
So the build tool for Gradle scenarios gets displayed as Gradle 6.7
, not 6.7
.
1142b34
to
3ba8a23
Compare
3ba8a23
to
d944a01
Compare
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.
Nice! I added some comments.
json.addProperty("name", scenario.getName()); | ||
json.addProperty("title", scenario.getTitle()); | ||
json.addProperty("displayName", scenario.getDisplayName()); | ||
json.addProperty("buildTool", scenario.getBuildToolDisplayName()); |
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.
Maybe the build tool should only be Gradle
and not include the version number given that we have the version number in a separate property?
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.
I agree, but let's do it in a separate PR.
We are now showing the build tool in parenthesis after the scenario title if and only if there are different build tools invoked during the benchmark: If all scenarios are executed with the same build tool (in the case of Gradle it means the same version), then the build tool version is only shown in the details view after pressing +. |
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!
Add some extra information like the system properties and Java home.
Improves #161.
Reports:
test-html-report.zip