Skip to content

Automate Benchmark Updates#321

Merged
vsanthanam merged 1 commit intomainfrom
vsanthanam/automate-benchmarks
Jan 16, 2026
Merged

Automate Benchmark Updates#321
vsanthanam merged 1 commit intomainfrom
vsanthanam/automate-benchmarks

Conversation

@vsanthanam
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

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

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: 3b2c6e46a6

ℹ️ 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".


swift package --allow-writing-to-package-directory benchmark baseline update swiftyjson

swift package benchmark baseline compare foundation jbird --format markdown > Results/foundation.md
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Recreate Results directory before redirecting output

Because the script deletes Results earlier (rm -rf Results on line 4), the first redirection to Results/foundation.md will fail if the directory no longer exists. In bash, redirections are evaluated before running the command, so this causes the compare command to never execute and the script exits with a “No such file or directory” error on a clean run. Add mkdir -p Results (or stop deleting it) before these redirects.

Useful? React with 👍 / 👎.

@vsanthanam vsanthanam force-pushed the vsanthanam/automate-benchmarks branch from 3b2c6e4 to d99c6a6 Compare January 16, 2026 19:24
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.72%. Comparing base (f585b30) to head (d99c6a6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #321   +/-   ##
=======================================
  Coverage   94.72%   94.72%           
=======================================
  Files          35       35           
  Lines        2879     2879           
=======================================
  Hits         2727     2727           
  Misses        152      152           
Flag Coverage Δ
llvm-cov 94.72% <ø> (ø)
swiftpm 94.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vsanthanam vsanthanam merged commit 5d1a9aa into main Jan 16, 2026
47 checks passed
@vsanthanam vsanthanam deleted the vsanthanam/automate-benchmarks branch January 16, 2026 19:40
@vsanthanam vsanthanam linked an issue Jan 17, 2026 that may be closed by this pull request
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.

Instrument benchmark updates

1 participant