GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hamen/performance-samples: Samples to show APIs and best practices in Performance on Android

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

682 Commits
682 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
JankStatsSample
JankStatsSample
 
 
MacrobenchmarkSample
MacrobenchmarkSample
 
 
MicrobenchmarkSample
MicrobenchmarkSample
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CODEOWNERS
CODEOWNERS
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pull_benchmark_data.sh
pull_benchmark_data.sh
 
 
pull_traces.sh
pull_traces.sh
 
 
renovate.json
renovate.json
 
 

Repository files navigation

Android Performance

A collection of samples using the performance libraries.

You can learn more about Android Performance at https://d.android.com/performance.

Macrobenchmark sample

This sample shows how to use the Macrobenchmark library for testing application startup and runtime performance cases, such as scrolling a RecyclerView or LazyColumn to measure jank.

Baseline Profiles can be generated with the Macrobenchmark library. This sample contains code to generate a baseline profile.

The sample also includes a GitHub workflow to run Macrobenchmarks on Firebase Test Lab. For more information refer to the README.md.

The Macrobenchmark sample also demonstrates using Jetpack Compose with Macrobenchmark.

Microbenchmark sample

This sample shows how to use the Benchmark library to benchmark code and UI from library modules.

Important Notes

  • Make sure your device's screen is on before running benchmarks

JankStats sample

This sample shows how to set up and use the JankStats library to detect janky frames.

Reporting Issues

You can report an Issue with a sample using this repository. If you find an issue with a specific library, report it using the corresponding issue tracker link available in the sample README file.

Additional Resources

PagingWithNetworkSample

  • Example of benchmarking an androidx.paging backed RecyclerView

WorkManagerSample

  • Example of benchmarking asynchronously scheduled background work

About

Samples to show APIs and best practices in Performance on Android

d.android.com/topic/performance/overview

Resources

Readme
License

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.