Quantcast
Viewing all articles
Browse latest Browse all 4828

How to optimise for Chrome Android

@Steffen wrote:

Hi there,

We are developing a hybrid app which includes to pages with ember apps. On iOS everything is fine, WKWebkit is really fast.

On Android we are bundling the crosswalk browser (= Chrome), which we learned, has some optimisation issues. At the moment we are observing this when we load the respective webpage. Observations: - the internalRequire of modules takes very long (almost 3 seconds) with single compiled (not minified) vendor production javascript file, from cache. - not as dramatic, but equally the startup of the app itself

I would really be grateful for some feedback on how we can improve this situation:

  1. Is there a way to reduce the dependencies, e.g. require fewer internal modules? Is that even possible?

  2. Any hints on speeding this up in general. Flags on XWalk/Chrome, new canaries that work better?

  3. Has anyone tried creating an ember initialised page? Maybe something that has the ember vendor modules already initialised?

Trace of our application start: ember 2.2, ember data 2.2, jquery reduced custom build, all assets from cache, nothing fancy otherwise. The first big chunk is until page is ready, the second chunk is ember app starting. Measured on a Sony Xperia M2, Android 4.4.2.

Cheers Steffen

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles