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

Commits on Aug 17, 2023

  1. Embed version info; print benchmark config

    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 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    1c1949b View commit details
    Browse the repository at this point in the history