Skip to content

Conversation

@sdatkinson
Copy link
Owner

@sdatkinson sdatkinson commented Jan 14, 2026

this adds two things to help with PRs:

1. A step in build.yml that runs the formatter. If any changes are detected, the run fails. clang version needs to be decided.
2. A benchmarking script. If making changes to existing models, this allows you to quickly compare the speed of a model between your branch and main. Handy for easily finding performance regressions.

- Move benchmark_compare.sh from project root to tools/
- Update script to change to project root (parent of tools/) before execution
- Update usage comment to reflect new location
…n build directory

- Add --model flag to optionally specify model path
- Add --help flag for usage information
- Update build directory cleanup to preserve tracked files (like .gitignore)
- Update usage comment to reflect new flag
Run format.sh and fail if any changes are detected
@sdatkinson
Copy link
Owner Author

It worked! 😂

@sdatkinson sdatkinson changed the title Benchmarking report and improvements to build workflow Benchmarking report Jan 14, 2026
@sdatkinson sdatkinson merged commit c6f0be3 into main Jan 14, 2026
1 check passed
@sdatkinson sdatkinson deleted the benchmarking-report branch January 14, 2026 23:39
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