Skip to content

Instantly share code, notes, and snippets.

@ShakibHabibi
Last active October 16, 2021 08:06
Show Gist options
  • Save ShakibHabibi/67e7114fe1d9edbb5b7e6e47d4cc1e5c to your computer and use it in GitHub Desktop.
Save ShakibHabibi/67e7114fe1d9edbb5b7e6e47d4cc1e5c to your computer and use it in GitHub Desktop.
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