{"id":50316514,"url":"https://github.com/thozza/osbuild-depsolve-dnf-benchmark","last_synced_at":"2026-05-29T00:03:32.419Z","repository":{"id":359192291,"uuid":"1244961645","full_name":"thozza/osbuild-depsolve-dnf-benchmark","owner":"thozza","description":"Benchmark tooling for osbuild-depsolve-dnf — measures runtime, peak memory (via memray), and CPU profiles across solver commands.","archived":false,"fork":false,"pushed_at":"2026-05-20T19:30:27.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-21T00:57:06.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thozza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-20T19:16:49.000Z","updated_at":"2026-05-20T19:30:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/thozza/osbuild-depsolve-dnf-benchmark","commit_stats":null,"previous_names":["thozza/osbuild-depsolve-dnf-benchmark"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/thozza/osbuild-depsolve-dnf-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thozza%2Fosbuild-depsolve-dnf-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thozza%2Fosbuild-depsolve-dnf-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thozza%2Fosbuild-depsolve-dnf-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thozza%2Fosbuild-depsolve-dnf-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thozza","download_url":"https://codeload.github.com/thozza/osbuild-depsolve-dnf-benchmark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thozza%2Fosbuild-depsolve-dnf-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33631002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-29T00:03:29.757Z","updated_at":"2026-05-29T00:03:32.410Z","avatar_url":"https://github.com/thozza.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osbuild-depsolve-dnf-benchmark\n\nBenchmark tooling for [osbuild-depsolve-dnf](https://github.com/osbuild/osbuild) — measures runtime, peak memory (via [memray](https://github.com/bloomberg/memray)), and CPU profiles across solver commands (`dump`, `search`, `depsolve`).\n\n## Prerequisites\n\n- Python 3\n- [memray](https://pypi.org/project/memray/) (`pip install memray`)\n- A checkout of the [osbuild](https://github.com/osbuild/osbuild) repository\n\n## Usage\n\nRun from the osbuild repo checkout root:\n\n```sh\npython3 benchmark.py \\\n    --tool-path /path/to/osbuild_repo/tools/osbuild-depsolve-dnf \\\n    --pythonpath /path/to/osbuild_repo \\\n    --queries-dir . \\\n    --profile \\\n```\n\n### Options\n\n| Flag | Description |\n|---|---|\n| `--tool-path` | Path to the `osbuild-depsolve-dnf` script (required) |\n| `--queries-dir` | Directory containing JSON query files (required) |\n| `--api-version` | API version to benchmark: `1` or `2` (required) |\n| `--iterations` | Number of iterations per command (default: 5) |\n| `--pythonpath` | `PYTHONPATH` for the tool invocation (default: `.`) |\n| `--commands` | Commands to benchmark: `dump`, `search`, `depsolve` (default: all) |\n| `--profile` | Enable cProfile profiling (saves `.prof` files) |\n| `--dnf5` | Use the dnf5 solver instead of dnf4 |\n\n## Query files\n\nSample query JSON files are included for both API versions:\n\n- `dump.json` / `dump_v2.json`\n- `search.json` / `search_v2.json`\n- `depsolve.json` / `depsolve_v2.json`\n\n## License\n\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthozza%2Fosbuild-depsolve-dnf-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthozza%2Fosbuild-depsolve-dnf-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthozza%2Fosbuild-depsolve-dnf-benchmark/lists"}