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

Add nightly job to track build metrics #9460

Closed
wants to merge 30 commits into from
Closed

Add nightly job to track build metrics #9460

wants to merge 30 commits into from

Conversation

assignUser
Copy link
Collaborator

@assignUser assignUser commented Apr 12, 2024

This PR adds a nightly job that collect build time and binary size metrics for a debug and release build and uploads the data to conbench. For example: https://velox-conbench.voltrondata.run/runs/BM-release-8665191090-1/

The adapters also add aggregate statistics, for time the wall_time is of course dependent on the number of cores so there will be clear differences between release and debug as debug runs on 16 cores (because the 8 cores don't have enough disk space for a debug build).

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 12, 2024
Copy link

netlify bot commented Apr 12, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 254d73b
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/66279f693182ae0008247823

@assignUser assignUser marked this pull request as draft April 12, 2024 00:57
Copy link
Contributor

@austin3dickey austin3dickey left a comment

Choose a reason for hiding this comment

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

looks great!

scripts/benchmark-requirements.txt Outdated Show resolved Hide resolved
@assignUser assignUser marked this pull request as ready for review April 12, 2024 17:54
Copy link
Contributor

@austin3dickey austin3dickey left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@kgpai kgpai left a comment

Choose a reason for hiding this comment

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

Thanks ! This is very exciting, some small nits, comments.

.github/workflows/build-metrics.yml Show resolved Hide resolved
.github/workflows/build-metrics.yml Outdated Show resolved Hide resolved
.github/workflows/build-metrics.yml Show resolved Hide resolved
"suite": suite,
"source": f"{self.build_type}_build_metrics_time",
},
info={},
Copy link
Contributor

Choose a reason for hiding this comment

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

i wonder if we can capture other things like ' compiler' , compiler flags used etc ? (maybe in the next set of changes).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We can add arbitrary metadata as tags. There might also be a build in way to capture compiler and such similar to the machine info that's already part of the results.

scripts/build-metrics.py Outdated Show resolved Hide resolved
@assignUser
Copy link
Collaborator Author

@facebook-github-bot
Copy link
Contributor

@kgpai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kgpai merged this pull request in a9a620d.

Copy link

Conbench analyzed the 1 benchmark run on commit a9a620d4.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Jun 7, 2024
Summary:
This PR adds a nightly job that collect build time and binary size metrics for a debug and release build and uploads the data to conbench. For example: https://velox-conbench.voltrondata.run/runs/BM-release-8665191090-1/

The adapters also add aggregate statistics, for time the `wall_time` is of course dependent on the number of cores so there will be clear differences between release and debug as debug runs on 16 cores (because the 8 cores don't have enough disk space for a debug build).

Pull Request resolved: facebookincubator#9460

Reviewed By: Yuhta

Differential Revision: D56496198

Pulled By: kgpai

fbshipit-source-id: e6d0c3f83d10c053e90d1ad18532ff474eee25e0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants