Skip to content

Fix saving benchmark results - #28

Merged
berendkleinhaneveld merged 2 commits into
masterfrom
fix-saving-benchmark-results
Nov 24, 2025
Merged

Fix saving benchmark results#28
berendkleinhaneveld merged 2 commits into
masterfrom
fix-saving-benchmark-results

Conversation

@berendkleinhaneveld

Copy link
Copy Markdown
Contributor

GitHub caches are immutable, so saving to a restored cache is not going to work.
Instead, store to a unique key and restore with using a restore key.

Also, clear out old benchmarks while we're at it and only (re)store the latest results.

@berendkleinhaneveld

Copy link
Copy Markdown
Contributor Author

@Korijn I'm curious to hear whether you would be interested in the historical benchmark data? I think it will mostly add a lot of noise to the benchmark output. I'll merge this now but I'm open for discussion. Since this might also make sense to then apply in observ and patchdiff as well.

@berendkleinhaneveld
berendkleinhaneveld merged commit ac5bb70 into master Nov 24, 2025
9 checks passed
@berendkleinhaneveld
berendkleinhaneveld deleted the fix-saving-benchmark-results branch November 24, 2025 15:30
berendkleinhaneveld added a commit that referenced this pull request Nov 24, 2025
This version includes:

* benchmarks on CI #22 #28 
* improved CLI output when dealing with multiple files (more like ruff, although less detailed) #23 
* use current working directory as default path argument (like ruff) #29
* major performance improvements
    * reduce disk access #25 
    * only sort when needed and cache the setting lookup #26 
    * batch formatting of template expression in one go #27
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.

1 participant