37297

Performance benchmark of native android map vs webview map, what parameters can be included in the b

Question:

I am trying to compare native google maps (v2) vs the embeddable HTML version encapsulated in a webview on android. While it's pretty evident that the native maps are smoother and faster, I must prove that somehow. I have been searching on the internet for quite some time and did not seem to find any existing benchmarks. Does anybody know someone who actually done something similar? I am already thinking of creating such benchmark of my own, but how can the performance actually be measured? My ideas so far are:

<ul><li>Measure rendering of different number of markers, polylines, etc... </li> <li>Measure map tile loading (maybe not possible at all)</li> <li>Somehow measure the lag when dragging the map. This must be somehow based on the map events, but the native GoogleMap class does not seem to have something like onDragListener.</li> </ul>

If you have any ideas or know some existing resource, please help me!

<strong>-----------------EDITED 03.01.2014----------------</strong>

I already started creating my benchmark but now I am struggling with some strange issues - see <a href="https://stackoverflow.com/questions/20482647/measure-complete-time-of-adding-showing-an-array-of-markers-to-google-maps-v3" rel="nofollow">this question for more details</a>.

The source code of the first version of my benchmark can be found <a href="https://github.com/martindobrev/MapBenchmark" rel="nofollow">here</a>. It currently does not include automated testing. Nevertheless when experimenting with adding different number of markers and lines you can get an idea of how slower html maps are. I have also uploaded a simple demo on youtube, to view it <a href="http://youtu.be/ze9V7SImBc4" rel="nofollow">click here</a>

Answer1:

So Your topic is pretty interesting, but remember if you are going for google maps on mobile vs web, there is mobile v2 and javascript v3. Javascript google maps has some added functionalities that mobile does not offer, you can refer the docs to find out. AND You can perform on various parameters like.<br /> 1. Time it takes to load (display) the map on the screen. <br /> 2. As you mentioned rendering on the map.<br /> 3. Performance issues on low bandwidth.<br /> 4. UI and UX.<br /> 5. Reliability<br /> 6. User Satisfaction<br /> 7. Implementation (Complete off topic but since you are doing a thesis I will recommend that)<br /> 8. Features<br /> 9. At last pricing. (I think upto 20000 calls per day is free on one API key on javascript v3)<br />

<strong>NOTE</strong> <br /> Anyone feel free to edit and add some more parameters for benchmarking.

Recommend

  • Why does trying to click with selenium brings up “ElementNotInteractableException”?
  • Want to open downloaded file in appropriate application in Android
  • How to load an XHTML file into an XElement using a custom XmlUrlResolver?
  • add help text to a read only field in django admin view
  • OpenInputDesktop() to determine Secure/Login desktop
  • Rijndael key size in C#
  • C# for loop syntax
  • Entity Framework Core 1.0 code-first migrations using code?
  • Oracle optional relationship
  • Extract image file metadata
  • How to find out the declared type of an identifier in Java?
  • How can I convert a null-terminated string in a byte buffer to a string in Go?
  • gzip not working in Django with Whitenoise
  • New Google Play badge doesn't get the size right
  • Python: BaseHTTPRequestHandler - Read raw post
  • generate sql script from tables
  • How to open a pop up when page loads using jquery?
  • Nfc Toggle in Android 4.x+?
  • R - Linear Regression - Control for a variable
  • How to redirect to next page by passing Id and show details in angular2
  • Fingerprint SDK for Linux [closed]
  • MySQL long running query in 5.5 is very fast in 5.6
  • Tricky mysql count occurrences of each day within date range
  • Bounding csv data to topojson path - cloropleth
  • Comparing a large set of images by content
  • How to use template selector within a ContentPresenter in Windows 8.1
  • Google Geocoding API limit exceeded on cell network, but not on wifi
  • Get max bookings count in range
  • Complex multiple if statements
  • Javascript / jQuery not executing in IE until the body of the page is moused over
  • Unable to connect to Azure MySQL Database through Azure Function - C#
  • Firestore: Version history of documents
  • Debugging php script timeout?
  • flex tree gets chopped even after using scroll bar
  • Regex not working in java 1.5
  • Conflicting declaration using constexpr and auto in C++11
  • PHP Permalinks.. how to change?
  • What does the “id” field in an Android “Google Play Music” broadcast intent correspond to?