Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid simple benchmarking for applications
    primarykey
    data
    text
    <p>I've made an application for Android and i want to proove to my teacher the solutions i've chooseen are the best based not only on the litterature but also in practice (by providing series statistiks). SO i'm wondering if someone can suggest me how to procceed to compare web services solutions like REST, KSOAP and XML-RPC in one hand and in another hand i want also to compare these parse solutions SAX, DOM and XML Pull Parser in the other hand. For now i'm proceeding that way: i'm making the same simpliest request (of course the responding servers should be the same) and mesure (RAM Consume, Time taken and..?): the amount of memory consume by the activity with that</p> <pre><code>Runtime runtime = Runtime.getRuntime(); System.out.print( "used : " + ( runtime.totalMemory()-runtime.freeMemory() ) ); System.out.print( " committed : " + runtime.totalMemory() ); System.out.println( " max : " + runtime.maxMemory() ); </code></pre> <p>The time taken to excute the request:</p> <pre><code>long start = System.nanoTime(); //instructions to do long duration = System.nanoTime() - start; </code></pre> <p>but for the duration, i think it will be biased by the bandwith of the network (for web services) which will fluctuate</p> <p>Also i want to know how to measure the network traffic generates by the activity but i have no idea to do that, can someone help me and tell me if i'm going in the right direction? Any other criteria i can use to compare?</p> <p>And finally, is there any way to test an Android GRAPHICAL uSER iNTERFACE (performance, fonctionnality, Unitary Test like Junit) Thanks for reading </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload