Compose Compiler Report to HTML¶
A utility (Gradle Plugin + CLI) to convert Jetpack Compose compiler metrics and reports to beautified 😍 HTML page. Made with ❤️ for Android Developers and Composers
The Compose Compiler plugin can generate reports / metrics around certain compose-specific concepts that can be useful to understand what is happening with some of your compose code at a fine-grained level. See this to understand this concept in detail.
This generates reports in
txt files which are not easily trace-able for developers.
Also, Composable function and class reports becomes large and tedious to check.
This tool parses the reports and metrics generated by Compose compiler and beautifies into a HTML page and intelligently
distinguishes problematic and non-problematic composable functions and classes.
This utility doesn't generate Compose Metrics and Reports on its own. First, raw Compose report should be generated from the Compose Compiler and those generated files should be feed to this utility. By parsing that data, this utility generates the beautified report.
📈 How it looks?¶
See report generated for NotyKT app. Once report is generated, it looks like this ⬇️.
This is overall Report Overview:
|Brief Statistics||Generates metrics from
|Detailed Statistics||Generates report from
Right now, work is in progress and more improvements related to the report will happen in some time. If you have any feedback / suggestions related to the report, feel free to discuss.