Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-pkgs testing

Test harness for benchmarking git-pkgs against real-world repositories.

Usage

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.

Options

go run . --fresh              # Force fresh clone (ignore cache)
go run . https://github.com/foo/bar  # Test specific repo

View results

go run . results              # Table output
go run . results -m           # Markdown output
go run . results --csv=FILE   # CSV output

Latest results: results/results.csv

What it tests

For each repo, the harness runs git pkgs init and then times these commands:

  • list - list current dependencies
  • blame - show who added each dependency
  • history - dependency changes over time
  • stale - find outdated dependencies
  • log - dependency change log
  • tree - dependency tree
  • licenses - license information
  • search - search for dependencies
  • diff - compare dependency snapshots
  • outdated - check for outdated dependencies

Results include init time, database size, manifest count, ecosystems, dependency count, and change count.

About

Testing harness for benchmarking git-pkgs against a wide varient of of real world repositories

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages