mirror of
https://github.com/tateisu/SubwayTooter
synced 2025-01-27 09:11:23 +01:00
fix onStart benchmark limit value
This commit is contained in:
parent
afc14e6e30
commit
6e99875a56
@ -636,7 +636,7 @@ class ActMain : AppCompatActivity(),
|
||||
}
|
||||
}
|
||||
|
||||
private fun benchmark(caption: String, limit: Long = 0L, block: () -> Unit) {
|
||||
private fun benchmark(caption: String, limit: Long = 100L, block: () -> Unit) {
|
||||
val start = SystemClock.elapsedRealtime()
|
||||
block()
|
||||
val duration = SystemClock.elapsedRealtime() - start
|
||||
|
Loading…
x
Reference in New Issue
Block a user