[ 
https://issues.apache.org/jira/browse/CB-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599656#comment-13599656
 ] 

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: 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-Project.zip, StartupBench-Screenshot.png
>
>
> 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

Reply via email to