Skip to content

Add custom version format for benchmarking#25188

Merged
mbovel merged 2 commits intoscala:mainfrom
mbovel:mb/bench-release
Feb 4, 2026
Merged

Add custom version format for benchmarking#25188
mbovel merged 2 commits intoscala:mainfrom
mbovel:mb/bench-release

Conversation

@mbovel
Copy link
Member

@mbovel mbovel commented Feb 4, 2026

When benchmarking a specific commit, I need a version string that includes the Git commit hash but excludes the current date. This ensures that the same commit yields identical version strings across different benchmark runs, regardless of when they’re executed.

@mbovel
Copy link
Member Author

mbovel commented Feb 4, 2026

@mbovel mbovel requested a review from SolalPirelli February 4, 2026 11:47
@mbovel mbovel enabled auto-merge (squash) February 4, 2026 12:10
mbovel added a commit to lampepfl/scala3-benchmarks that referenced this pull request Feb 4, 2026
Use BENCHMARKBUILD (scala/scala3#25188) instead of NIGHTLYBUILD for
deterministic, date-free version strings with full commit hashes.
Since versions now uniquely identify commits, remove the branch
component from raw and aggregated result paths.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mbovel mbovel merged commit e9fb15f into scala:main Feb 4, 2026
58 checks passed
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.

2 participants