Thanks for quick reply.

We moved to the beta version of cordova-crosswalk (arm) you mentioned, and
it improved the startup time by few seconds. However we are still facing a
delay during very startup. Please look at the below logs from our Android
app.

We are using Samsung Galaxy S III with Android 4.3.

19:10:58.094: E/chromium(28979): [ERROR:gl_context_egl.cc(177)]
eglSwapInterval failed with error EGL_SUCCESS
19:10:59.764: I/chromium(28979): [INFO:CONSOLE(0)] "The key "minimum-ui" is
not recognized and ignored.", source:file:///android_asset/www/index.html
19:11:01.139: I/chromium(28979): [INFO:CONSOLE(1)] "BaseView Initialized.",
source: file:///android_asset/www/app.js (1)

You can see that, the very first logcat log we are getting in ADT is an
error. And after that it takes 1.7 seconds to start loading the Index.html.

I also want to understand the "minimum-ui" ignore log.

Can you please look into the above and let us know what could be the issue
and any solution? Reducing the above 1.7 seconds will help us greatly in
improving the overall app startup time.


-- 
Regards,
Aditya.

Adityanand Pasumarthi
Co-Founder & Chief Technology Officer (CTO), Stillpoint Software, Inc.
Managing Director, Stillpoint Software India Pvt Ltd.

+91.9246241805 (mobile)
+91.9573960369 (mobile)

DISCLAIMER
The information contained in this eMail is confidential and intended for
the named recipient(s) only.  If you are not an intended recipient of this
eMail you must not copy, distribute or take any further action in reliance
on it.  You should delete it and notify the sender immediately


On Mon, May 19, 2014 at 6:45 PM, Hu, Ningxin <[email protected]> wrote:

>  Hi Aditya,
>
>
>
> I suppose the 'cordova' in your email means 'crosswalk-cordova-android',
> am I correct?
>
>
>
> I tested the app launch time in CordovaExample generated by
> crosswalk-cordova-android, it is about* 1.106 seconds* on my Nexus 4.
>
>
>
> I used the latest Crosswalk 6 beta:
> https://download.01.org/crosswalk/releases/crosswalk/android/beta/6.35.131.5/arm/crosswalk-cordova-6.35.131.5-arm.zip
>
> The steps to build CordovaExmaple are:
> https://crosswalk-project.org/#wiki/Create-Sample-App-With-Crosswalk-Cordova-Android
>
> The measurement method of launch time is 1) use logcat to record timestamp
> of application start intent ("START u0 { act=android.intent.action.MAIN…")
> and "ondeviceready" timestamp. 2) minus the "ondeviceready" timestamp with
> start intent timestamp.
>
>
>
> I also used the SenchaCmd-4.0.4.84 with touch-2.3.1 to generate a Cordova
> app as http://docs-origin.sencha.com/touch/2.3.0/#!/guide/cordova. And I
> switched the default CordovaLib (Android WebView) to Crosswalk WebView as
> https://crosswalk-project.org/#wiki/Moving-Existing-Cordova-App-To-Crosswalk
>
> The "ondeviceready" timestamp - start intent timestamp is* 2.043 seconds*on 
> Nexus 4.
>
>
>
> I inspected the Sencha app a little bit, it embeds a SenchaCmd script into
> the index.html like:
>
> <!-- The line below must be kept intact for Sencha Command to build your
> application -->
>
> <script type="text/javascript">(function(e)… </script>
>
> You mentioned in your index.html doesn't have any script except cordova
> launch event handler ("ondeviceready" event handler?). May I know what your
> index.html is like?
>
>
>
> Thanks,
>
> -ningxin
>
>
>
> *From:* Crosswalk-help [mailto:
> [email protected]] *On Behalf Of *Aditya
> Pasumarthi
> *Sent:* Saturday, May 17, 2014 11:22 PM
> *To:* crosswalk-help
> *Subject:* [Crosswalk-help] Cordova app startup time with xwalkview
>
>
>
> Hi,
>
>
>
> We are using sencha touch + cordova for an Android app. There is a general
> startup time delay for cordova apps.
>
>
>
> However we are seeing a *7 second gap* between app launch (from app icon
> tap) and when our index.html is loaded. We do not have any script in
> index.html. We do all our app initialization when we get cordova launch
> event, which is after index.html is loaded.
>
>
>
> Does everyone experience this delay? If so, any ideas on how to reduce
> this? If not, again any thoughts on how to reduce this and any pointers we
> should be looking at?
>
>
>
> Any help is highly appreciated.
>
>
>
> --
>
> Regards,
>
> Aditya.
>
>
>
> Adityanand Pasumarthi
>
> Co-Founder & Chief Technology Officer (CTO), Stillpoint Software, Inc.
>
> Director, Stillpoint Software India Pvt Ltd.
>
>
>
> +91.9246241805 (mobile)
>
> +91.9573960369 (mobile)
>
>
>
> DISCLAIMER
>
> The information contained in this eMail is confidential and intended for
> the named recipient(s) only.  If you are not an intended recipient of this
> eMail you must not copy, distribute or take any further action in reliance
> on it.  You should delete it and notify the sender immediately
>
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to