• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Performance Testing on Android
 

Performance Testing on Android

on

  • 8,242 views

 

Statistics

Views

Total Views
8,242
Views on SlideShare
8,223
Embed Views
19

Actions

Likes
0
Downloads
164
Comments
1

1 Embed 19

http://www.slideshare.net 19

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Can u please explain in detail about the tool test procedure. So that we can get some better understanding....! :)
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Performance Testing on Android Performance Testing on Android Presentation Transcript

    • Android: Performance Testing
      -Akshay Dashrath
    • Need Speed?
    • What about?
    • Tools
      Analysing logs (Trace View)
      Heap Dump Analysis
      Debug class
    • Trace View
      Graphical Tool to analyse execution logs
    • // start tracing to "/sdcard/test.trace"    Debug.startMethodTracing(“test");   // ...    // stop tracing    Debug.stopMethodTracing();
      adb pull /sdcard/test.trace C:/
      traceview C:/trace.test
    • Issues
      If a thread exits during profiling, the thread name is not emitted;
      The VM reuses thread IDs. If a thread stops and another starts, they may get the same ID.
      .trace files larger than 8MB cannot be read by the Viewer
    • Instruction Count
    • Heap Dumps
      C:/adb shell
      C:/ chmod 777 /data/misc – In order to make the /data/misc directory writeable
      C:/exit
      C:/ adb shell ps
      C:/ adb shell kill -10 1234 -------Example
      C:/ adb pull /data/misc/heap-dump-tm-pid.hprofaddress.hprof
      C:/ hprof-conv heap-dump-tm-pid.hprof4mat.hprof
    • Questions?