{"id":18087055,"url":"https://github.com/artemnovichkov/xcode-timing","last_synced_at":"2026-03-05T23:42:51.624Z","repository":{"id":186377003,"uuid":"612907829","full_name":"artemnovichkov/xcode-timing","owner":"artemnovichkov","description":"CLI tool and scripts for collecting Xcode build times","archived":false,"fork":false,"pushed_at":"2023-03-13T15:01:47.000Z","size":1390,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T21:43:35.225Z","etag":null,"topics":["macos","swift","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artemnovichkov.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}},"created_at":"2023-03-12T10:48:48.000Z","updated_at":"2025-03-17T00:50:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b134965-2455-406a-802f-ff9afc9b5852","html_url":"https://github.com/artemnovichkov/xcode-timing","commit_stats":null,"previous_names":["artemnovichkov/xcode-timing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2Fxcode-timing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2Fxcode-timing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2Fxcode-timing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2Fxcode-timing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artemnovichkov","download_url":"https://codeload.github.com/artemnovichkov/xcode-timing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650750,"owners_count":21139681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["macos","swift","xcode"],"created_at":"2024-10-31T16:59:45.747Z","updated_at":"2026-03-05T23:42:46.568Z","avatar_url":"https://github.com/artemnovichkov.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xcode-timing\n\nA CLI tool for collecting Xcode build statistics.\n\n## Installation\n\n1. Clone the repo.\n2. Install the tool:\n\n```bash\n$ make install\n```\n3. Edit behaviors via Xcode -\u003e Behaviors -\u003e Edit Behaviors...\n\n- Add start.sh script to Starts\n\u003cimg src=\".github/starts.png\" width=\"80%\"/\u003e\n\n- Add end.sh script to Succeeds and Fails\n\u003cimg src=\".github/succeeds.png\" width=\"80%\"/\u003e\n\u003cimg src=\".github/fails.png\" width=\"80%\"/\u003e\n\n## Usage\n\nBy default, all statistics are saved in Documents/xcode-times.json.\n\n```json\n[\n  {\n    \"totalBuilds\" : 64,\n    \"project\" : \"MyProject.xcworkspace\",\n    \"totalBuildTime\" : 1825.0506573915482,\n    \"lastStartDate\" : 676459449.23457396,\n    \"date\" : 676380482.42901003\n  }\n]\n```\n\nYou can run `xcode-timing show` to see all statistics:\n\n```bash\n+------------+-----------------------+------------------+--------------------+\n| Date       | Project Name          | Total Build Time | Average Build Time |\n+------------+-----------------------+------------------+--------------------+\n| 08.06.2022 | MyProject.xcworkspace | 30m 25s          | 28s                |\n| 09.06.2022 | MyProject.xcworkspace | 21m 45s          | 37s                |\n+------------+-----------------------+------------------+--------------------+\n```\n\nOr you can use `xcode-timing show -n MyProject.xcworkspace` to see statistics for selected project:\n\n```bash\n+------------------------------------------------------+\n| Build statistics for MyProject.xcworkspace (08.06.2022-09.06.2022) |\n+------------------------------------------------------+\n| Total Builds | Total Build Time | Average Build Time |\n+--------------+------------------+--------------------+\n| 99           | 52m 10s          | 31s                |\n+--------------+------------------+--------------------+\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemnovichkov%2Fxcode-timing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartemnovichkov%2Fxcode-timing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemnovichkov%2Fxcode-timing/lists"}