{"id":19674975,"url":"https://github.com/devapro/app_start_up_time","last_synced_at":"2025-07-26T02:39:23.265Z","repository":{"id":73356089,"uuid":"529881569","full_name":"devapro/app_start_up_time","owner":"devapro","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-19T12:57:23.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T16:56:08.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/devapro.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}},"created_at":"2022-08-28T14:11:03.000Z","updated_at":"2023-03-19T12:57:28.000Z","dependencies_parsed_at":"2023-07-06T23:31:23.626Z","dependency_job_id":null,"html_url":"https://github.com/devapro/app_start_up_time","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devapro/app_start_up_time","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devapro%2Fapp_start_up_time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devapro%2Fapp_start_up_time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devapro%2Fapp_start_up_time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devapro%2Fapp_start_up_time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devapro","download_url":"https://codeload.github.com/devapro/app_start_up_time/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devapro%2Fapp_start_up_time/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267108965,"owners_count":24037615,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"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":"2024-11-11T17:20:32.797Z","updated_at":"2025-07-26T02:39:23.238Z","avatar_url":"https://github.com/devapro.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Measuring difference of stat time between two APK\n\n#### How to add to the project\n\napp/build.gradle.kts\n```kotlin\nplugins {\n    ....\n    id 'androidx.benchmark'\n}\n```\n\n/build.gradle.kts\n```kotlin\nbuildscript {\n....\n\n    dependencies {\n        classpath(\"androidx.benchmark:benchmark-gradle-plugin:1.1.1\")\n    }\n}\n```\n\nScript for running application N times and collect statistics of the time from start to the first frame\nIt can be useful for comparing start-up time between releases.\n\n### Benchmark\n\n```bash\n/bin/bash ./startup_time_rooted.sh release/v1.0.1 release/v1.0.2 Phone_API_30\n```\n\nOptional parameters:\n\n**Phone_API_30** - name of the emulator (or you can use real device) - device/emulator should be rooted\n\nRequired parameters:\n**release/v1.0.1** - previous release brunch\n**release/v1.0.2** - new release branch\n\nOr for non rooted device, you can use this script, the difference only in Lock clocks on rooted device\n```bash\n/bin/bash ./startup_time.sh release/v1.0.1 release/v1.0.2 Phone_API_30\n```\n\n### Activity manager\n\n```bash\n/bin/bash ./startup_time_am.sh release/v1.0.1 release/v1.0.2 Phone_API_30\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevapro%2Fapp_start_up_time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevapro%2Fapp_start_up_time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevapro%2Fapp_start_up_time/lists"}