Documentation
¶
Overview ¶
Command genrepos builds the watch list of Phase 0 benchmark 3 (bench/github/repos.txt, story angelia-dev/angelia#64): public GitHub repositories that publish releases, a mix of very popular, active, quiet and smaller ones.
ANGELIA_BENCH_GITHUB_TOKEN=… make bench-github-repos
It searches repositories (GET /search/repositories, sorted by stars, forks excluded) in four buckets and keeps a candidate only if GET /repos/{repo}/releases?per_page=1 lists a release. A bucket that runs short passes its shortfall to the next. It sends about 40 search requests and one request per candidate (about 3,000), paced under GitHub's secondary limits; that uses most of an hour of the token's 5,000, so run it at least an hour before the benchmark (bench/load waits for a fresh window anyway).