| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| README.md | D | 08-Apr-2025 | 888 | 22 | 19 | |
| configuration.scenarios | D | 08-Apr-2025 | 171 | 8 | 7 |
README.md
1# Profiling AndroidX Gradle configuration phase 2 31. Check out [gradle-profiler](https://github.com/gradle/gradle-profiler) 42. Build it with `./gradlew installDist` 53. If you are a Googler, download YourKit following the instructions 6 [here](go/yourkit) 74. Run the following: 8```bash 9LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/yourkit/bin/linux-x86-64/ \ 10 YOURKIT_HOME=~/yourkit/ \ 11 JAVA_HOME=/path/to/androidx/prebuilts/jdk/jdk17/linux-x86/ \ 12 ./build/install/gradle-profiler/bin/gradle-profiler \ 13 --profile yourkit \ 14 --project-dir /path/to/androidx/frameworks/support/ \ 15 --gradle-user-home /path/to/androidx/frameworks/support/../../out/.gradle \ 16 --scenario-file /path/to/androidx/frameworks/support/development/gradleProfiler/configuration.scenarios \ 17 rerunDryRun 18``` 19 20This will produce a `.snapshot` file that you can open in YourKit profiler for 21analysis. 22