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

Lee Crossley commented on CB-638:
---------------------------------

@Patrick - I agree that batching requests (such as file writes) would be 
faster, as you're minimising the native callbacks but that is just sticking 
duck-tape on it and could lead to other issues. I'm experiencing a 300+ms delay 
in small file writes on Android 2.3.5 - it's less than a 10th of that on iOS. 
Using the WebView.addJavascriptInterface() API (optionally) could be a great 
idea.

@Joe - Yes, seeing the source and having an independent party do some testing 
would be interesting, I don't think that's going to happen with their 
commercial modelling :) My point wasn't really that there's something faster, 
it's more than I'm experiencing poor performance on Android devices, especially 
with earlier Android SDK versions (I'm experiencing a 300+ms delay in small 
file writes on Android 2.3.5). It's less than a 10th of that on iOS and what 
I'm asking is to see similar performance cross platform.
                
> Slow native bridge (especially android)
> ---------------------------------------
>
>                 Key: CB-638
>                 URL: https://issues.apache.org/jira/browse/CB-638
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Lee Crossley
>
> 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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to