However, since that functionality is based on Chromium (and even works on 
chrome), I am guessing that it should be possible in Cordova webviews. 

-----Original Message-----
From: Joe Bowser [mailto:[email protected]] 
Sent: Monday, August 25, 2014 2:22 PM
To: dev
Subject: Re: GPU Profile tracing in Cordova Apps

Amazon's Chromium is different than Android Chromium.  I don't know exactly how 
they're different, but I wouldn't expect GPU profiling to work the same way.


On Mon, Aug 25, 2014 at 2:18 PM, Parashuram <[email protected]> wrote:

> Hi,
>
> I am working on a performance framework (
> http://github.com/axemclion/browser-perf) and was looking at ways to 
> start the GPU profile on Cordova Android apps.
>
> To read about:tracing information for Chrome, I can do
>
> $ adb shell am broadcast -a com.android.chrome.GPU_ PROFILER_START -e 
> categories "benchmark" -e continuous ""
>
> ​In case of Amazon's ​port of Chromium, I use
>
> $ adb shell am broadcast -a 
> com.android.org.chromium.action.PROFILE_START.<
> package.name>
>
> ​However, for Cordova Webview apps, the following does not seem to 
> work ​
>
> $ ​adb shell am broadcast -a 
> io.cordova.hellocordova.GPU_PROFILER_START
>
> Am I missing something obvious, or is the webview implemented differently?
> I am starting to look at the source but was hoping that the experts on 
> this list could point me to the right direction.
> ​
>
>
> Parashuram
> http://nparashuram.com
>

Reply via email to