Created
August 19, 2021 12:46
-
-
Save kota1921/7b5ef9a8476223265fabbefd6dab13b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Before | |
fun init() { | |
val field = androidx.benchmark.BenchmarkState::class.java.getDeclaredField("REPEAT_COUNT") | |
field.isAccessible = true | |
field.set(benchmarkRule, GLOBAL_REPEAT_COUNT) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment