Skip to content

feat(benchmarks): track benchmark trends across CI runs - #280

Merged
MisterVVP merged 3 commits into
mainfrom
feat/86-benchmark-trends
Oct 10, 2026
Merged

MisterVVP merged 3 commits into
mainfrom
feat/86-benchmark-trends

Conversation

@MisterVVP

Copy link
Copy Markdown
Owner

Summary

Closes #86.

Benchmark artifacts previously contained only a single run's raw results and threshold report. CI now also retains a compact, versioned trend JSON with commit/run metadata and mean/median timings, and shows signed percentage changes against the preceding successful main push run in the benchmark job summary.

The comparison uses medians where available, a configurable 5% noise band, and advisory signals that ask for confirmation across multiple runs. Existing threshold behavior is unchanged. Baseline retrieval excludes the current run and newer runs, supports existing raw artifacts, and records a first history point when the API or artifact is unavailable. Added/missing benchmarks and zero baselines are reported explicitly. Artifact history is retained for 90 days.

Authorship and AI usage

  • Contains substantive content written by a human
  • Contains substantive content generated by an AI agent

Implementation, tests, documentation, and workflow changes were generated by an AI agent.

Testing

  • Go formatting, go vet ./..., go test -race ./..., and go build ./cmd/....
  • Compiled CLI smoke tests and mocked GitHub baseline retrieval, including missing/expired artifacts, malformed input, and a 100% slowdown remaining advisory.
  • Actionlint for both changed workflows and Bash syntax validation.
  • CI-compatible C++ formatting and ./scripts/verify_changes.sh using the configured development build and LLVM 19: formatting, build, all 661 tests, and lint passed (exit 0).
  • Performance smoke: 54 result rows, zero errors.
  • govulncheck: no vulnerabilities found using the official golang/vulndb OSV snapshot f5aaa67 (the public vulnerability endpoint is blocked by the environment's network policy). No runtime dependencies were added.

The TCK gate was waived at the requester's direction; the reported current 80.9% compliance is accepted for this change.

Checklist

  • ./scripts/verify_changes.sh passed locally
  • Docs updated if behavior changed

@MisterVVP MisterVVP added the AI agent AI agent contribution label Oct 9, 2026 — with ChatGPT Codex Connector
@MisterVVP MisterVVP self-assigned this Oct 9, 2026
@MisterVVP MisterVVP added performance Performance improvement related tasks based on benchmark results. Performance tests changes. maintenance labels Oct 9, 2026
@MisterVVP

Copy link
Copy Markdown
Owner Author

@codex review this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T20:04:51.534073Z af928cf Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c09bd2a9b3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@MisterVVP

Copy link
Copy Markdown
Owner Author

@codex review this PR again

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7aa6d64ac4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@MisterVVP

Copy link
Copy Markdown
Owner Author

@codex review this PR

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: af928cf003

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@MisterVVP
MisterVVP merged commit 9958907 into main Oct 10, 2026
21 checks passed
@MisterVVP
MisterVVP deleted the feat/86-benchmark-trends branch October 10, 2026 15:44
@MisterVVP

Copy link
Copy Markdown
Owner Author

Ideally, this requires self-hosted runner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI agent AI agent contribution maintenance performance Performance improvement related tasks based on benchmark results. Performance tests changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add benchmark trend tracking across CI runs

1 participant