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

Feature stonewall perf report #166

Merged
merged 3 commits into from
Aug 2, 2019
Merged

Conversation

JulianKunkel
Copy link
Collaborator

MDTest and IOR can output the performance when hitting the stonewall.
Also allow to output rate and tp for mdtest.

fprintf(out_logfile, "%14.3f ", mean);
fprintf(out_logfile, "%14.3f\n", sd);
fflush(out_logfile);
if (i != 2) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line here 'if (i != 2) {' is hard to read. What is 'i' and what is '2'? This is not really related to your PR but it'd be nice if 'i' had a better variable name and if 2 was an enum or something. Maybe just a comment here to remind the reader what these values are? Then later we should go back I think and give 'i' a more meaningful name. 'i' is useful as the index within a tight loop but here I think it is being used as something else.

Copy link
Collaborator

@johnbent johnbent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@glennklockwood
Copy link
Contributor

OK to merge despite the i == 2 bit? I'm OK with kicking the can on this, as there are way worse offenses in both IOR and mdtest.

@JulianKunkel
Copy link
Collaborator Author

JulianKunkel commented Aug 2, 2019 via email

@glennklockwood glennklockwood merged commit a0c5dce into master Aug 2, 2019
@johnbent
Copy link
Collaborator

johnbent commented Aug 3, 2019 via email

@JulianKunkel JulianKunkel deleted the feature-stonewall-perf-report branch August 3, 2019 08:21
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

Successfully merging this pull request may close these issues.

3 participants