{"id":18859687,"url":"https://github.com/perfectomobilesa/benchmarksample","last_synced_at":"2026-02-08T15:30:17.994Z","repository":{"id":95609887,"uuid":"453034719","full_name":"PerfectoMobileSA/BenchMarkSample","owner":"PerfectoMobileSA","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-01T15:01:26.000Z","size":1964,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-12-30T20:15:12.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/PerfectoMobileSA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2022-01-28T11:00:21.000Z","updated_at":"2022-01-28T11:02:16.000Z","dependencies_parsed_at":"2023-05-21T02:00:36.161Z","dependency_job_id":null,"html_url":"https://github.com/PerfectoMobileSA/BenchMarkSample","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/PerfectoMobileSA%2FBenchMarkSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FBenchMarkSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FBenchMarkSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FBenchMarkSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerfectoMobileSA","download_url":"https://codeload.github.com/PerfectoMobileSA/BenchMarkSample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239800488,"owners_count":19699127,"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":[],"created_at":"2024-11-08T04:18:55.268Z","updated_at":"2026-02-08T15:30:17.920Z","avatar_url":"https://github.com/PerfectoMobileSA.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"Android Performance\n===================================\n\nBenchmark samples using the shiny new [Jetpack Benchmark library](https://d.android.com/benchmark).\n\n## [BenchmarkSample](BenchmarkSample)\n\nThis sample shows how to use the Benchmark library to benchmark code and UI from\nlibrary modules.\n\nTo run the sample: `./gradlew benchmark:cC`\n\n## [BenchmarkNdkSample (Prototype!)](BenchmarkNdkSample)\n\n### Important Notes\n\n* Make sure your device's screen is on before running benchmarks\n* Don't forget to checkout submodules: `git submodule update --init --recursive`\n\nThis prototype sample shows how to use the Benchmark library together with the\nNDK, and [google/benchmark](https://github.com/google/benchmark) to benchmark\nC++ code, while getting the Android-specific performance stability, and Studio\nintegration from the Jetpack Benchmark library.\n\nTo run the sample: `./gradlew benchmark:cC`\n\n## [Macrobenchmark](MacrobenchmarkSample)\n\nThis sample shows how to use the MacrobenchmarkSample library for testing application startup and runtime performance cases, such as scrolling a `RecyclerView` to measure jank.\n\nThe sample also includes a [GitHub workflow](.github/workflows/firebase_test_lab.yml) to run Macrobenchmarks on Firebase Test Lab. For more information refer to the [README.md](MacrobenchmarkSample/ftl/README.md).\n\nTo run the sample: `./gradlew macrobenchmark:cC`\n\n## [ConstraintLayout performance comparison](ConstraintLayoutPerformance)\n\nThis sample compares how different ViewGroups\n(ConstraintLayout vs traditional layouts) affect the UI performance.\n\nTo run the sample: `./gradlew benchmark:cC`\n\n### Reporting Issues\n\nYou can report an [Issue with a\nsample](https://github.com/googlesamples/android-performance/issues) using this\nrepository. If you find an issue with the Benchmark library, report it using the\n[Android Benchmark Issue\nTracker](https://issuetracker.google.com/issues/new?component=585351\u0026template=1235073)\n\n### Additional Resources\n\n[PagingWithNetworkSample](https://github.com/googlesamples/android-architecture-components/tree/master/PagingWithNetworkSample) - Example of benchmarking an androidx.paging backed RecyclerView\n\n[WorkManagerSample](https://github.com/googlesamples/android-architecture-components/tree/master/WorkManagerSample) - Example of benchmarking asynchronously scheduled background work\n\nLicense\n-------\n\nCopyright 2019 The Android Open Source Project, Inc.\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor\nlicense agreements.  See the NOTICE file distributed with this work for\nadditional information regarding copyright ownership.  The ASF licenses this\nfile to you under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this file except in compliance with the License.  You may obtain a copy of\nthe License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the\nLicense for the specific language governing permissions and limitations under\nthe License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectomobilesa%2Fbenchmarksample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperfectomobilesa%2Fbenchmarksample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectomobilesa%2Fbenchmarksample/lists"}