Test harness for benchmarking git-pkgs against real-world repositories.
Add repos to repos.txt (one URL per line), then run:
go run .
Results are saved as JSON files in results/. Repos are cached in repos/ for subsequent runs.
go run . --fresh # Force fresh clone (ignore cache)
go run . https://github.com/foo/bar # Test specific repo
go run . results # Table output
go run . results -m # Markdown output
go run . results --csv=FILE # CSV output
Latest results: results/results.csv
For each repo, the harness runs git pkgs init and then times these commands:
list- list current dependenciesblame- show who added each dependencyhistory- dependency changes over timestale- find outdated dependencieslog- dependency change logtree- dependency treelicenses- license informationsearch- search for dependenciesdiff- compare dependency snapshotsoutdated- check for outdated dependencies
Results include init time, database size, manifest count, ecosystems, dependency count, and change count.