cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Woghiren <m...@chromium.org>
Subject Re: Why does deviceready take a second to load on Android?
Date Tue, 28 May 2013 18:08:14 GMT
It looks like Bryan was correct; the reversion of the change he linked,
which was done to fix mobile-spec on ICS, fixes this problem as well.


On Tue, May 28, 2013 at 1:45 PM, Brian LeRoux <b@brian.io> wrote:

> createElement would fix that
>
> On Fri, May 24, 2013 at 1:23 PM, Bryan Higgins <bryan@bryanhiggins.net>
> wrote:
> > I bet it has to do with this change to mobile-spec.
> >
> > By injecting the script tag, cordova.js does not load until after the DOM
> > has rendered.
> >
> >
> https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=commit;h=8b1fd7d49c278d43b34b4c041f1575a1a39a664d
> >
> >
> >
> > On Fri, May 24, 2013 at 9:54 AM, Braden Shepherdson <braden@chromium.org
> >wrote:
> >
> >> It might be the time spent doing the plugin loading, but I'm not sure.
> We
> >> should instrument some of these launch steps to see how long they each
> take
> >> and keep an eye on them over time. Eventually and in an ideal world, the
> >> timings could be collected by the CI server so we can spot any
> substantial
> >> increases and figure out their cause.
> >>
> >> Braden
> >>
> >>
> >> On Thu, May 23, 2013 at 6:22 PM, Joe Bowser <bowserj@gmail.com> wrote:
> >>
> >> > Hey
> >> >
> >> > I just tested Cordova with the latest JS on Android and I'm noticing a
> >> > pretty solid lag in how long it takes for things like the platform
> >> > name, version and UUID appear.  Was there a recent change to
> >> > deviceReady that causes it to be noticeably slower than it used to be?
> >> >  I'd figure that asking is faster than reading through the commit logs
> >> > and debugging this.
> >> >
> >> > Anyone know?
> >> >
> >> > Joe
> >> >
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message