Created
July 22, 2018 01:50
-
-
Save goncalossilva/0964bd49ff117d36b75b7c242c233d0f 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
// On a Huawei Watch | |
// 2225ms | |
for (i in 0..10000) { | |
launch(UI) { | |
withContext(DefaultDispatcher) { } | |
} | |
} | |
// 10ms | |
launch(UI) { | |
for (i in 0..10000) { | |
withContext(DefaultDispatcher) { } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment