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 start command, example

    adb shell 'am start -a android.intent.action.main -n your.package.name/.youractivity'

  • adb logcat happily outputs stdout on host, can readily grep whatever of interest or other analysis desire


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -