[ 
https://issues.apache.org/jira/browse/CB-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-2587:
---------------------------------

    Fix Version/s:     (was: 2.6.0)
                   2.7.0

Proposed:
Add a timer before each getCommandInstance call.

[CDVTimer start:@"pluginName"]
[self getCommandInstance:pluginName
[CDVTimer stop:@"pluginName"]

Timing would be shown in the console log etc and could only be triggered when 
needed at startup.

                
> Investigate possible startup time issue for config.xml plugin "onload" 
> attribute
> --------------------------------------------------------------------------------
>
>                 Key: CB-2587
>                 URL: https://issues.apache.org/jira/browse/CB-2587
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> The loading of plugins on iOS is synchronous. We might want to load the 
> plugins async just in case the initWithWebView and/or pluginInitialize 
> functions take a long time.
> I added a note to the 2.5.0 iOS Plugin Upgrade Guide for this possibility.

--
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