cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Commented] (CB-1579) Optimize exec() calls made from plugin callbacks on iOS
Date Wed, 03 Oct 2012 20:12:08 GMT


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

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