Skip to content

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

License

Notifications You must be signed in to change notification settings

git-pkgs/testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Languages