c++ - Benchmarking Native Android Apps -
i wish perform benchmarking on native android app i'm working with. i've managed print desired data logcat in eclipse looking way of 1) running tests multiple times , 2) recording logcat output.
i'm c++ developer i'm more familiar say, running bash script in terminal execute program multiple times , redirecting output text file. however, i'm not sure if can similar native android app.
any advice on place start appreciated.
thanks
sure, while there frameworks kind of thing, if bash scripting environment like, there's no reason can't use it.
you can launch activities adb shell ,
am startcommand, exampleadb shell 'am start -a android.intent.action.main -n your.package.name/.youractivity'
adb logcathappily outputs stdout on host, can readily grep whatever of interest or other analysis desire
Comments
Post a Comment