-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add a bench suite #58
Comments
What is a "bench suite"? |
A set of benchmarks used to detect performance improvements and regressions. |
Turns out I know far too little about GH actions to add this into @infinisil's workflow for PRs so my proposal is:
For the second item, I hacked together this script: #!/usr/bin/env bash
set -euo pipefail
{
echo '['
while IFS= read -r f; do
if [[ -s "${f}" ]]; then
echo -n '('
cat "${f}"
echo ')'
fi
done <<< "$(find . -type f -name '*.nix')"
echo ']'
} | { command time -v nixfmt > /dev/null; } 2>&1 Which for me returns:
Formatting a lot of small files in the (probably) largest nix-code repo and formatting a very huge file is hopefully a good enough indicator. |
No description provided.
The text was updated successfully, but these errors were encountered: