Files
netbird-docs/scripts/git-dates.mjs
Jack Carter e7b2214883 perf: build git last-modified map in one pass instead of per-file (#837)
Replace ~314 `git log` spawns per gen script with a single `git log --name-only` pass, memoised per process. Cuts gen:last-updated + gen:sitemap from ~15s to ~1.5s.

Output is byte-identical to the per-file version; still degrades to no-dates when git is unavailable (e.g. the Docker image).
2026-07-09 11:19:46 +02:00

2.1 KiB