{"id":40142060,"url":"https://github.com/compnerd/nv","last_synced_at":"2026-01-19T14:31:47.344Z","repository":{"id":320076919,"uuid":"1063084377","full_name":"compnerd/nv","owner":"compnerd","description":"Ninja Visualizer","archived":false,"fork":false,"pushed_at":"2025-11-12T21:35:44.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-01T22:17:25.044Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/compnerd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-09-24T06:30:45.000Z","updated_at":"2025-11-21T19:51:48.000Z","dependencies_parsed_at":"2025-10-21T21:12:50.383Z","dependency_job_id":"73f6ab8f-a4dc-4ee3-ad05-3fc429a6aa95","html_url":"https://github.com/compnerd/nv","commit_stats":null,"previous_names":["compnerd/nv"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/compnerd/nv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compnerd%2Fnv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compnerd%2Fnv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compnerd%2Fnv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compnerd%2Fnv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/compnerd","download_url":"https://codeload.github.com/compnerd/nv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compnerd%2Fnv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28571778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-01-19T14:31:47.271Z","updated_at":"2026-01-19T14:31:47.339Z","avatar_url":"https://github.com/compnerd.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nv - Ninja Build Analyzer and Visualizer\n\n`nv` is a command-line utility written in Swift that helps analyze Ninja build logs. It parses `.ninja_log` files to extract build timing information and provides detailed textual output of build durations.\n\n## Features\n\n- **Log Parsing**: Supports Ninja log format version 6\n- **Build Analysis**: Extracts start/end times and durations for each build target\n- **Sorting**: Option to sort output by build duration (longest first)\n- **Console Output**: Displays build targets with their execution times\n\n## Usage\n\n### Basic Analysis\n\nAnalyze a `.ninja_log` file (defaults to `.ninja_log` in current directory):\n\n```bash\nnv\n```\n\nSpecify a custom log file:\n\n```bash\nnv analyze -logfile .ninja_log\n```\n\n### Sort by Duration\n\nSort targets by build time (longest first):\n\n```bash\nnv -s\n```\n\n### Build Statistics\n\nGenerate comprehensive build statistics and metrics:\n\n```bash\n# Detailed statistics summary (default)\nnv stats\n\n# Concise build overview\nnv stats -f brief\n```\n\nThe statistics include:\n- **Basic metrics**: Total/average/median build times, min/max durations\n- **Statistical analysis**: Standard deviation, 95th percentile\n- **Parallelization analysis**: Estimated cores used, parallelization efficiency\n- **Build efficiency**: CPU utilization, wall time vs CPU time\n- **Performance insights**: Fastest/slowest targets, potential bottlenecks\n- **Dependency analysis**: Critical path identification (inferred from timing)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompnerd%2Fnv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompnerd%2Fnv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompnerd%2Fnv/lists"}