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

Embed version info; print benchmark config #1874

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

helsaawy
Copy link
Contributor

@helsaawy helsaawy commented Aug 15, 2023

Update how we set/read the version and commit information, so that it can be set via writing to files instead of needing to update all go build commands to add (or update) -ldflags with -X main.version=... -X main.gitCommit=...".

Augment benchmark configuration with additional information, such as the go version, number of CPUs available, start time, version, and git branch and commit.

This allows standardizing the configuration data across different benchmarking suites (including future, non-go based suites).

Benchmark config follows the benchmark raw data format: https://golang.org/design/14313-benchmark-format

Update how we set/read the version and commit information, so that it
can be set via writing to files instead of needing to update all `go
build` commands to add (or update) `-ldflags` with
`-X main.version=... -X manin.gitCommit=...".

Augment benchmark configuration with additional information, such as the
go version, number of CPUs available, start time, version, and git
branch and commit.

This allows standardizing the configuration data across different
benchmarking suites.

Benchmark config follow the benchmark raw data format:
https://go.googlesource.com/proposal/+/master/design/14313-benchmark-format.md

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
@helsaawy helsaawy merged commit 725bcee into microsoft:main Oct 23, 2023
16 checks passed
@helsaawy helsaawy deleted the bench-info branch October 23, 2023 18:00
darracott pushed a commit to KenGordon/hcsshim that referenced this pull request Oct 30, 2023
Update how we set/read the version and commit information, so that it
can be set via writing to files instead of needing to update all `go
build` commands to add (or update) `-ldflags` with
`-X main.version=... -X manin.gitCommit=...".

Augment benchmark configuration with additional information, such as the
go version, number of CPUs available, start time, version, and git
branch and commit.

This allows standardizing the configuration data across different
benchmarking suites.

Benchmark config follow the benchmark raw data format:
https://go.googlesource.com/proposal/+/master/design/14313-benchmark-format.md

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
Signed-off-by: Joe Powell <joepowell@microsoft.com>
princepereira pushed a commit to princepereira/hcsshim that referenced this pull request Aug 29, 2024
Update how we set/read the version and commit information, so that it
can be set via writing to files instead of needing to update all `go
build` commands to add (or update) `-ldflags` with
`-X main.version=... -X manin.gitCommit=...".

Augment benchmark configuration with additional information, such as the
go version, number of CPUs available, start time, version, and git
branch and commit.

This allows standardizing the configuration data across different
benchmarking suites.

Benchmark config follow the benchmark raw data format:
https://go.googlesource.com/proposal/+/master/design/14313-benchmark-format.md

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
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.

4 participants