Last active
October 16, 2021 08:06
-
-
Save ShakibHabibi/67e7114fe1d9edbb5b7e6e47d4cc1e5c 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
package com.shkbhbb.performancetest; | |
import android.app.Application; | |
public class MyApp extends Application { | |
public static String ID = ""; | |
@Override | |
public void onCreate() { | |
super.onCreate(); | |
new Thread(() -> { | |
for (int i = 0; i < 20000; i++) { | |
ID = ID.concat(String.valueOf(i)); | |
} | |
}).start(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment