cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Henderson (JIRA)" <>
Subject [jira] [Commented] (CB-2232) Initial app launch is 10x slower than subsequent ones on a device
Date Tue, 12 Mar 2013 03:29:13 GMT


George Henderson commented on CB-2232:

I was able to confirm that yes the startup is slower than subsequent launches but never 10x.
The slowness I was observing was caused by a string compression algorithm running super slow
when writing to local storage. Thanks for the benchmark app proved very useful in my debugging.
> Initial app launch is 10x slower than subsequent ones on a device
> -----------------------------------------------------------------
>                 Key: CB-2232
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 2.4.0
>         Attachments:, StartupBench-Screenshot.png
> Based on this report:
> I have attached which is a sample project to benchmark startup times
- starting from main(), to applicationDidFinishLaunching, webViewDidFinishLoad and onDeviceReady.
The app is based on the tip of tree 2.4.0 edge code as of this writing.
> Note that this project the splashscreens from the Resources group have been removed,
as well as the icons and splashscreens in www/res.
> Initial tests reveal that yes, the initial startup time is slow (probably because of
the resource copying), but it is never 10x.
> I have attached a screenshot of the results screen as well.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message