-
Notifications
You must be signed in to change notification settings - Fork 274
Performance testing script: cleanup, bugfixes, new features #3517
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
Conversation
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: 1fbd642).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/93295865
Marking "do not merge" - the "compare-to" code does not seem to be working as it should. |
1fbd642
to
3c584e1
Compare
The comparison feature is now working as well, benchexec nicely produces tables to compare multiple runs. |
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.
Nothing objectionable in here, but I don't feel qualified to really give it a proper review
@@ -0,0 +1,35 @@ | |||
#!/bin/bash |
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.
⛏️ Add docs at the top for how to run this (e.g. it looks like it should be called ec2-terminate.sh start|status
)
@@ -0,0 +1,35 @@ | |||
#!/bin/bash | |||
### BEGIN INIT INFO |
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 don't know what the next 8 lines of code do...? That aren't informative to me?
esac | ||
|
||
# send instance-terminated message | ||
# http://rogueleaderr.com/post/48795010760/how-to-notifyemail-yourself-when-an-ec2-instance/amp |
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.
❓ Is this the source of this code? Probably want to make it more obvious that's what this link is for, e.g.
# Code take from
@@ -0,0 +1,256 @@ | |||
#!/bin/bash |
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 is a long bash file that looks to be mostly moved:
- move in one commit, bug fixes and other changes in a separate one if possible
- is bash the right language for something this long?
We need to manually upload to S3 rather than using CodeBuild's cache configuration as each perf-test run creates new CodeBuild configurations and thus also new keys to store the cache at.
This reduces overhead during package install.
This simplifies editing. Just upload them to S3 when setting up benchmarking and download them from S3 onto the instance. Also fixed several bugs in the script.
This simplifies performance comparison.
3c584e1
to
1614a5f
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: 1614a5f).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/95125956
In preparation of SV-COMP'19 several improvements to the script were due, overall also improving the maintainability of the code.