Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2008 +/- ##
=======================================
Coverage 92.24% 92.24%
=======================================
Files 117 117
Lines 23731 23731
=======================================
Hits 21891 21891
Misses 1840 1840 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fd69346 to
8d67894
Compare
📦 Cargo Bloat ComparisonBinary size change: +0.00% (25.8 MiB → 25.8 MiB) Expand for cargo-bloat outputHead Branch ResultsBase Branch Results |
⚡️ Hyperfine BenchmarksSummary: 0 regressions, 0 improvements above the 10% threshold. Environment
CLI CommandsBenchmarking basic commands in the main repo:
|
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base --version |
1.9 ± 0.2 | 1.7 | 3.3 | 1.01 ± 0.12 |
prek-head --version |
1.8 ± 0.1 | 1.7 | 2.3 | 1.00 |
prek list
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base list |
7.9 ± 0.2 | 7.5 | 8.5 | 1.00 ± 0.06 |
prek-head list |
7.8 ± 0.4 | 7.3 | 9.8 | 1.00 |
prek validate-config .pre-commit-config.yaml
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base validate-config .pre-commit-config.yaml |
2.7 ± 0.2 | 2.4 | 3.2 | 1.04 ± 0.07 |
prek-head validate-config .pre-commit-config.yaml |
2.6 ± 0.1 | 2.4 | 2.7 | 1.00 |
prek sample-config
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base sample-config |
2.1 ± 0.1 | 1.9 | 2.3 | 1.00 |
prek-head sample-config |
2.1 ± 0.1 | 1.9 | 2.3 | 1.01 ± 0.06 |
Cold vs Warm Runs
Comparing first run (cold) vs subsequent runs (warm cache):
prek run --all-files (cold - no cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --all-files |
101.7 ± 2.3 | 96.8 | 104.2 | 1.00 |
prek-head run --all-files |
103.5 ± 2.5 | 100.4 | 107.3 | 1.02 ± 0.03 |
prek run --all-files (warm - with cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --all-files |
102.4 ± 2.9 | 96.5 | 106.5 | 1.00 ± 0.04 |
prek-head run --all-files |
102.1 ± 3.0 | 97.1 | 108.2 | 1.00 |
Full Hook Suite
Running the builtin hook suite on the benchmark workspace:
prek run --all-files (full builtin hook suite)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --all-files |
101.3 ± 2.2 | 96.8 | 105.8 | 1.00 ± 0.03 |
prek-head run --all-files |
101.2 ± 2.4 | 95.4 | 105.4 | 1.00 |
Individual Hook Performance
Benchmarking each hook individually on the test repo:
prek run trailing-whitespace --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run trailing-whitespace --all-files |
15.5 ± 0.5 | 14.8 | 16.9 | 1.02 ± 0.04 |
prek-head run trailing-whitespace --all-files |
15.2 ± 0.4 | 14.5 | 16.0 | 1.00 |
prek run end-of-file-fixer --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run end-of-file-fixer --all-files |
21.0 ± 1.3 | 18.7 | 23.1 | 1.02 ± 0.09 |
prek-head run end-of-file-fixer --all-files |
20.7 ± 1.3 | 19.0 | 22.9 | 1.00 |
prek run check-json --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-json --all-files |
9.4 ± 0.3 | 9.0 | 10.0 | 1.01 ± 0.05 |
prek-head run check-json --all-files |
9.3 ± 0.3 | 8.7 | 9.9 | 1.00 |
prek run check-yaml --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-yaml --all-files |
8.8 ± 0.2 | 8.3 | 9.3 | 1.00 |
prek-head run check-yaml --all-files |
8.8 ± 0.3 | 8.3 | 9.4 | 1.00 ± 0.04 |
prek run check-toml --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-toml --all-files |
8.8 ± 0.3 | 8.3 | 9.8 | 1.02 ± 0.05 |
prek-head run check-toml --all-files |
8.6 ± 0.3 | 8.2 | 9.5 | 1.00 |
prek run check-xml --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-xml --all-files |
9.0 ± 0.3 | 8.4 | 9.7 | 1.03 ± 0.05 |
prek-head run check-xml --all-files |
8.7 ± 0.3 | 8.2 | 9.6 | 1.00 |
prek run detect-private-key --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run detect-private-key --all-files |
13.9 ± 0.8 | 12.6 | 15.8 | 1.00 |
prek-head run detect-private-key --all-files |
14.1 ± 0.8 | 12.6 | 15.8 | 1.02 ± 0.08 |
prek run fix-byte-order-marker --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run fix-byte-order-marker --all-files |
17.0 ± 0.9 | 15.4 | 18.6 | 1.00 |
prek-head run fix-byte-order-marker --all-files |
26.4 ± 27.3 | 15.7 | 138.8 | 1.55 ± 1.61 |
Installation Performance
Benchmarking hook installation (fast path hooks skip Python setup):
prek install-hooks (cold - no cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base install-hooks |
3.9 ± 0.1 | 3.8 | 4.1 | 1.06 ± 0.04 |
prek-head install-hooks |
3.7 ± 0.1 | 3.6 | 3.8 | 1.00 |
prek install-hooks (warm - with cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base install-hooks |
3.7 ± 0.1 | 3.6 | 3.8 | 1.01 ± 0.03 |
prek-head install-hooks |
3.7 ± 0.1 | 3.6 | 3.9 | 1.00 |
File Filtering/Scoping Performance
Testing different file selection modes:
prek run (staged files only)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run |
36.0 ± 2.0 | 34.2 | 43.6 | 1.00 |
prek-head run |
36.0 ± 0.8 | 34.0 | 37.5 | 1.00 ± 0.06 |
prek run --files '*.json' (specific file type)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --files '*.json' |
6.6 ± 0.4 | 6.2 | 7.6 | 1.01 ± 0.06 |
prek-head run --files '*.json' |
6.5 ± 0.1 | 6.3 | 6.8 | 1.00 |
Workspace Discovery & Initialization
Benchmarking hook discovery and initialization overhead:
prek run --dry-run --all-files (measures init overhead)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --dry-run --all-files |
9.9 ± 0.2 | 9.6 | 10.3 | 1.01 ± 0.04 |
prek-head run --dry-run --all-files |
9.8 ± 0.3 | 9.5 | 10.8 | 1.00 |
Meta Hooks Performance
Benchmarking meta hooks separately:
prek run check-hooks-apply --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-hooks-apply --all-files |
10.0 ± 0.3 | 9.8 | 10.7 | 1.00 |
prek-head run check-hooks-apply --all-files |
10.2 ± 0.3 | 9.8 | 10.9 | 1.01 ± 0.04 |
prek run check-useless-excludes --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-useless-excludes --all-files |
9.3 ± 0.2 | 8.9 | 9.9 | 1.02 ± 0.04 |
prek-head run check-useless-excludes --all-files |
9.1 ± 0.3 | 8.7 | 9.7 | 1.00 |
prek run identity --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run identity --all-files |
7.8 ± 0.2 | 7.7 | 8.2 | 1.00 |
prek-head run identity --all-files |
7.9 ± 0.2 | 7.7 | 8.3 | 1.02 ± 0.03 |
This PR contains the following updates:
v5.0.4→v5.0.5v8.0.0→v8.0.1v6.3.0→v6.4.0v8.0.0→v8.1.0v2.10.4→v2.11.0v2.0.1→v2.0.2v1.301.0→v1.302.0v1.306.0(+3)v2.75.7→v2.75.18v2.75.22(+3)v0.5.2→v0.5.3Release Notes
actions/cache (actions/cache)
v5.0.5Compare Source
What's Changed
Full Changelog: actions/cache@v5...v5.0.5
actions/download-artifact (actions/download-artifact)
v8.0.1Compare Source
What's Changed
Full Changelog: actions/download-artifact@v8...v8.0.1
actions/setup-node (actions/setup-node)
v6.4.0Compare Source
astral-sh/setup-uv (astral-sh/setup-uv)
v8.1.0: 🌈 New inputno-projectCompare Source
Changes
This add the a new boolean input
no-project.It only makes sense to use in combination with
activate-environment: trueand will append--no projectto theuv venvcall. This is for example useful if you have a pyproject.toml file with parts unparseable by uv🚀 Enhancements
🧰 Maintenance
📚 Documentation
⬆️ Dependency updates
haskell-actions/setup (haskell-actions/setup)
v2.11.0Compare Source
GHC: try ghcup first, choco only as fallback
What's Changed
Full Changelog: haskell-actions/setup@v2.10.3...v2.11.0
j178/prek-action (j178/prek-action)
v2.0.2Compare Source
What's Changed
Full Changelog: j178/prek-action@v2...v2.0.2
ruby/setup-ruby (ruby/setup-ruby)
v1.302.0Compare Source
Full Changelog: ruby/setup-ruby@v1.301.0...v1.302.0
taiki-e/install-action (taiki-e/install-action)
v2.75.18: 2.75.18Compare Source
Update
vacuum@latestto 0.26.1.Update
wasm-tools@latestto 1.247.0.Update
mise@latestto 2026.4.16.Update
espup@latestto 0.17.1.Update
trivy@latestto 0.70.0.v2.75.17Compare Source
Initial release
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.