Description
Feature Description
Lately we had some issues like this one which touched on git timing out too soon to calculate something. I'd like to propose precalculating activity stats and storing them instead of making git calls which might be expensive on larger repositories.
The idea I had is to keep the already calculated data (files changed, deletions, additions, etc.) in a iceberg/parquet file, tied to repository.
When user requests activity data from the last year, instead running git and recalculate it all over again, the data would be fetched from the file.
This way things like getExtendedCommitStats
can reuse this data and avoid spawning long running git commands.
Ideally it would be append only, with the exception being force push, where a history could be rewritten.
Screenshots
No response