-
Notifications
You must be signed in to change notification settings - Fork 212
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
test: add benchmarks and helper functions #4139
test: add benchmarks and helper functions #4139
Conversation
Pull Request Test Coverage Report for Build 8270408024Details
💛 - Coveralls |
@@ -242,8 +265,8 @@ cat << EOF >> ${VHD_LOGS_FILEPATH} | |||
EOF | |||
|
|||
echo "${CONTAINER_RUNTIME} images pre-pulled:" >> ${VHD_LOGS_FILEPATH} | |||
|
|||
|
|||
stop_watch $capture_time "Pull NVIDIA Image, Start installBcc subshell" false |
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.
nit: "Pull NVIDIA driver image (mcr)" - minor change to note this is the image from MCR/hosted by Azure. There's a separate Nvidia driver container which will be used in the future.
Thanks for addressing the comments here: #4067. |
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 after a rebase.
f3041e4
to
95d0d5e
Compare
95d0d5e
to
77f1052
Compare
ad74ed5
to
1606dce
Compare
What type of PR is this?
/kind test
What this PR does / why we need it:
This PR adds benchmarking helper functions to cse_helpers.sh and then utilizes them in pre / post / install-dependencies scripts. These can be used to view benchmarking data while running ADO pipelines, and can be reviewed during the build or after.
This data will later be used to programmatically evaluate the effect of a PRs code changes on the VHD Build Time.
Which issue(s) this PR fixes:
This code prevents the developer from not being able to easily evaluate how long certain parts of the VHD Build process take.