<commit_before>Android Performance
===================================

A collection of samples using the performance libraries.

## [JankStats sample](JankStatsSample)

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

## [Macrobenchmark sample](MacrobenchmarkSample)

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

The 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).

## [Microbenchmark sample](MicrobenchmarkSample)

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
* Don't forget to checkout submodules: `git submodule update --init --recursive`

## Reporting Issues
<commit_msg>Update README to include Compose<commit_after>Android Performance
===================================

A collection of samples using the performance libraries.

## [JankStats sample](JankStatsSample)

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

## [Macrobenchmark sample](MacrobenchmarkSample)

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

The 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).

The Macrobenchmark sample also demonstrates using [Jetpack Compose with Macrobenchmark](MacrobenchmarkSample/macrobenchmark/src/main/java/com/example/macrobenchmark/frames/FrameTimingBenchmark.kt#L72).

## [Microbenchmark sample](MicrobenchmarkSample)

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
* Don't forget to checkout submodules: `git submodule update --init --recursive`

## Reporting Issues

{'fraction_non_alphanumeric': 0.09067579127459367, 'fraction_numerical': 0.000855431993156544, 'mean_word_length': 5.819241982507289, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4749693', 'n_tokens_mistral': 642, 'n_tokens_neox': 598, 'n_words': 254}