incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-638) Slow native bridge (especially android)
Date Fri, 07 Sep 2012 18:01:07 GMT

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

Andrew Grieve commented on CB-638:
----------------------------------

Right now, the default bridge is still HANGING_GET, with a fall-back to polling. It's set
here:
https://github.com/agrieve/incubator-cordova-js/blob/10264ba16f74ceeb284219f1a8ce1582892f9d25/lib/android/exec.js#L55

Definitely looking like there is not future for the callback server. Agree we should just
axe it once this is all said and done.
                
> Slow native bridge (especially android)
> ---------------------------------------
>
>                 Key: CB-638
>                 URL: https://issues.apache.org/jira/browse/CB-638
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Lee Crossley
>            Assignee: Andrew Grieve
>            Priority: Critical
>              Labels: 2.1.0
>
> Doing many native callbacks (such as writing files) has a significant overhead.
> Trigger.io's native bridge is more than 5 times faster than Cordova (on Android). http://trigger.io/cross-platform-application-development-blog/wp-content/uploads/2012/02/chart_1-21.png
> I'd love to see similar performance stats in Cordova.

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

Mime
View raw message