You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/01/17 07:54:23 UTC

[jira] [Created] (CB-2232) Initial app launch is 10x slower than subsequent ones on a device

Shazron Abdullah created CB-2232:
------------------------------------

             Summary: Initial app launch is 10x slower than subsequent ones on a device
                 Key: CB-2232
                 URL: https://issues.apache.org/jira/browse/CB-2232
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
            Reporter: Shazron Abdullah
            Assignee: Shazron Abdullah
             Fix For: 2.4.0
         Attachments: StartupBench.zip

Based on this report: https://twitter.com/wghenderson/status/291366353607200768

I have attached StartupBench.zip 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: http://www.atlassian.com/software/jira