{"id":15044162,"url":"https://github.com/gradle/santa-tracker-performance","last_synced_at":"2025-09-29T17:30:47.247Z","repository":{"id":45534404,"uuid":"205204893","full_name":"gradle/santa-tracker-performance","owner":"gradle","description":"Performance tests for Santa Tracker Android project","archived":true,"fork":false,"pushed_at":"2023-02-07T16:30:56.000Z","size":97,"stargazers_count":10,"open_issues_count":0,"forks_count":11,"subscribers_count":34,"default_branch":"main","last_synced_at":"2024-09-22T19:04:25.106Z","etag":null,"topics":["gradle-bt","gradle-bt-release-coordination"],"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/gradle.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}},"created_at":"2019-08-29T16:24:58.000Z","updated_at":"2024-08-26T18:05:23.000Z","dependencies_parsed_at":"2023-01-11T15:38:33.357Z","dependency_job_id":null,"html_url":"https://github.com/gradle/santa-tracker-performance","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradle%2Fsanta-tracker-performance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradle%2Fsanta-tracker-performance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradle%2Fsanta-tracker-performance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gradle%2Fsanta-tracker-performance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gradle","download_url":"https://codeload.github.com/gradle/santa-tracker-performance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867296,"owners_count":16554408,"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":["gradle-bt","gradle-bt-release-coordination"],"created_at":"2024-09-24T20:50:09.389Z","updated_at":"2025-09-29T17:30:46.880Z","avatar_url":"https://github.com/gradle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Santa Tracker Performance\n\n_Performance tests for Santa Tracker Android project._\n\nThe project contains [Gradle Profiler](http://github.com/gradle/gradle-profiler) benchmark scenarios to test the performance of different kinds of behavior using the Santa Tracker Android app.\nThe repo has a submodule pointing to the Gradle fork of the [official Santa Tracker](https://github.com/google/santa-tracker-android) repository.\nThere is also a submodule pointing to Gradle Profiler itself.\n\n## Running a benchmark\n\nTo run a benchmark set the following environment variables:\n\n- `JAVA_HOME`\n- `ANDROID_HOME`\n\nYou can customize the tool versions for the following:\n\n- `GRADLE_VERSION` for the Gradle distribution to use to run the tests\n- `AGP_VERSION` for the Android Gradle plugin version\n- `KOTLIN_VERSION` for the Kotlin Gradle plugin version\n\nNote that if you don't set these environment variables explicitly, then the defaults from the respective scripts will be used.\n\nYou can run the incremental benchmark with the `run-incremental-benchmark.sh` script and the Android Studio sync benchmark with the `run-android-studio-benchmark.sh`.\nDoing so will use Gradle Profiler from the `gradle-profiler` submodule.\n\nYou can also pass a number as a parameter to the above tests to make it run the given number of iterations, like so:\n\n```console\n$ AGP_VERSION=4.0.0-beta01 ./run-incremental-benchmark.sh 40\n```\n\nThis will run 40 iterations with the default Gradle and Kotlin versions, using AGP `4.0.0-beta01`.\n\nTo run just a specific set of benchmarks you can set BENCHMARK environment variable, like so:\n\n```console\n$ BENCHMARK=\"no-optimizations only-file-system-watching\" ./run-incremental-benchmark.sh\n```\n\nThis will run just `no-optimizations` and `only-file-system-watching` scenario.\n\n### Android Studio benchmark specifics\n\nFor Android Studio sync Android Studio Bumblebee (2021.1.1) or later is required. Additionally, you have to set `ANDROID_STUDIO_INSTALL_DIR` environment variable with a location of the Android Studio. On the macOS that is normally `/Applications/Android Studio.app/`.\n\nAndroid Studio benchmark will create an Android Studio sandbox folder in the `studio-sandbox` directory. This can be modified by setting `ANDROID_STUDIO_SANDBOX_DIR` environment variable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradle%2Fsanta-tracker-performance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgradle%2Fsanta-tracker-performance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgradle%2Fsanta-tracker-performance/lists"}