Skip to content

perf: skip re-hashing unchanged files via stat fingerprints to speed up warm cache runs - #545

Closed
samsonasik wants to merge 2 commits into
mainfrom
re-hash
Closed

samsonasik wants to merge 2 commits into
mainfrom
re-hash

Conversation

@samsonasik

@samsonasik samsonasik commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

improve warm cache on macos and linux

Project Scenario main this PR Change
Magento (21,445 files) Warm cache, nothing changed 0.86–0.96 s 0.57–0.59 s ~ βˆ’35%
Magento Warm cache, one file edited 2.13–2.28 s 1.81–2.00 s ~ βˆ’11%
Magento Cold (no cache) 4.41–4.55 s 4.43–4.74 s flat (ranges overlap)
WordPress (3,215 files) Warm cache, nothing changed 0.196–0.205 s 0.169–0.184 s ~ βˆ’13%
WordPress Cold 1.60–1.74 s 1.61–1.80 s flat
PSL (1,253 files) Warm cache, nothing changed 0.152–0.167 s 0.144–0.148 s ~ βˆ’5%
PSL Cold 0.47–0.52 s 0.48–0.54 s flat
Memory (peak RSS, process tree) main this PR
Magento, warm cache, nothing changed 46 MB 48 MB
Magento, cold 603–613 MB 607–615 MB

@samsonasik
samsonasik marked this pull request as draft November 6, 2026 17:27
@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.

πŸ“’ Thoughts on this report? Let us know!

@samsonasik samsonasik closed this Nov 6, 2026
@samsonasik
samsonasik deleted the re-hash branch November 6, 2026 18:23
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