Created
July 19, 2021 13:15
-
-
Save shelajev/e6febbf9d9de1380b8f4a4b8ef25339c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function lowUsage() { | |
for (i = 0; i < COMPILATION_THRESHOLD; i++) { | |
// Do something | |
} | |
} | |
function highUsage() { | |
for (i = 0; i < 100 * COMPILATION_THRESHOLD; i++) { | |
// Do something | |
} | |
} | |
while(true) { | |
lowUsage(); | |
highUsage(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment