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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -