From callback-dev-return-12848-apmail-incubator-callback-dev-archive=incubator.apache.org@incubator.apache.org Fri Sep 7 18:01:08 2012 Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4359BD4C2 for ; Fri, 7 Sep 2012 18:01:08 +0000 (UTC) Received: (qmail 24859 invoked by uid 500); 7 Sep 2012 18:01:07 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 24840 invoked by uid 500); 7 Sep 2012 18:01:07 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 24831 invoked by uid 99); 7 Sep 2012 18:01:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 18:01:07 +0000 Date: Sat, 8 Sep 2012 05:01:07 +1100 (NCT) From: "Andrew Grieve (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1410480038.51435.1347040867817.JavaMail.jiratomcat@arcas> In-Reply-To: <1153424107.27209.1336143290128.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-638) Slow native bridge (especially android) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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