You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2012/10/03 22:12:08 UTC
[jira] [Commented] (CB-1579) Optimize exec() calls made from plugin
callbacks on iOS
[ https://issues.apache.org/jira/browse/CB-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468785#comment-13468785 ]
Andrew Grieve commented on CB-1579:
-----------------------------------
My initial prototype shows the exec() benchmark goes from 300 calls/sec (using IFRAME_NAV) to 800 calls/sec.
> Optimize exec() calls made from plugin callbacks on iOS
> -------------------------------------------------------
>
> Key: CB-1579
> URL: https://issues.apache.org/jira/browse/CB-1579
> Project: Apache Cordova
> Issue Type: Improvement
> Components: iOS
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Fix For: 2.2.0
>
>
> Using stringByEvaluatingJavascriptString is super fast, and using and XHR / iframe navigation is really slow. The idea here that whenever the native side does a stringByEvaluatingJavascriptString call, to use its return value to bundle the actual return value along with any pending js->native messages
--
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