<commit_before># Macrobenchmark Sample

This sample project shows how to use the Jetpack Macrobenchmark library.

See the [Macrobenchmark guide](https://developer.android.com/studio/profile/macrobenchmark-intro) for more information on the library.

### Samples

The sample project includes the following:

* [TrivialStartupBenchmark](macrobenchmark/src/main/java/com/example/macrobenchmark/TrivialStartupBenchmark.kt) measures the application startup time for a trivial `Activity` with a single `TextView`.

* [SmallListStartupBenchmark](macrobenchmark/src/main/java/com/example/macrobenchmark/SmallListStartupBenchmark.kt) measures the application startup time for an `Activity` with a `RecyclerView`.

* [FrameTimingBenchmark](macrobenchmark/src/main/java/com/example/macrobenchmark/FrameTimingBenchmark.kt) scrolls a simple `RecyclerView`, measuring frame timing / jank.

### Running<commit_msg>Update Readme for Compose samples<commit_after># Macrobenchmark Sample

This sample project shows how to use the Jetpack Macrobenchmark library.

See the [Macrobenchmark guide](https://developer.android.com/studio/profile/macrobenchmark-intro) for more information on the library.

### Samples

The sample project includes the following:

* [TrivialStartupBenchmark](macrobenchmark/src/main/java/com/example/macrobenchmark/TrivialStartupBenchmark.kt) measures the application startup time for a trivial `Activity` with a single `TextView`.

* [SmallListStartupBenchmark](macrobenchmark/src/main/java/com/example/macrobenchmark/SmallListStartupBenchmark.kt) measures the application startup time for an `Activity` with a `RecyclerView` and an `Activity` with a Compose `LazyColumn`.

* [FrameTimingBenchmark](macrobenchmark/src/main/java/com/example/macrobenchmark/FrameTimingBenchmark.kt) scrolls a simple `RecyclerView` and Compose `LazyColumn`, measuring frame timing / jank.

### Running
{'fraction_non_alphanumeric': 0.08787718369507676, 'fraction_numerical': 0.0, 'mean_word_length': 6.52988047808765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1529814', 'n_tokens_mistral': 561, 'n_tokens_neox': 536, 'n_words': 147}