incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Commented] (CB-638) Slow native bridge (especially android)
Date Tue, 11 Sep 2012 18:48:08 GMT


Andrew Grieve commented on CB-638:

I'm now finished all of the TODO items I had outlined above and some "final" results!

Joe - I've updated the two branches with the latest changes, so if you're able to benchmark
on other android devices with the latest code changes, that would be awesome!

The update benchmarks are reflected in the spreadsheet I linked to. But the TLDR:

Initial vs new bridge speed (calls / second) for synchronous echoes with a 500 character string:
480 vs 1100  == 2.3x improvement
Initial vs new bridge speed (calls / second) for asynchronous echoes with a 500 character
string: 34 vs 835   == 25x improvement
> Slow native bridge (especially android)
> ---------------------------------------
>                 Key: CB-638
>                 URL:
>             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.
>'s native bridge is more than 5 times faster than Cordova (on Android).
> 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:

View raw message