An example repo on how we can combine Kotlin, UI Automator and gfxinfo to create an automated jank test
Here is a blog post which contains the ideas behind this example project:
https://medium.com/@akperkins1/gfxinfo-ui-automator-kotlin-automated-jank-tests-fc43995c7a06