The 25x is based on the mobile-spec benchmark Braden mentioned. That's for non-synchronous plugins. There are lots of details in the bug ( issues.cordova.io/638). The 25x is based on the PROMPT+HANGING_GET number in this spreadsheet<https://docs.google.com/a/google.com/spreadsheet/ccc?key=0Aq9kFRDB1QGhdEtZZENBMThLSDdRUVJfRUFzVW5LSVE#gid=0> on sheet 1 vs. the JS_OBJECT + LOAD_URL number on the last sheet. Note that it's actually 24x, but 25 sounds better :).
Improvements to the existing benchmark, or even new benchmarks would be a welcome contribution :) On Wed, Oct 31, 2012 at 9:50 AM, Braden Shepherdson <bra...@chromium.org>wrote: > We have a bridge speed test in mobile-spec already. The last entry in the > main screen is "Benchmark". Andrew made this a while back while working on > the iOS bridge, but it should let you select between all available bridges > on whichever platform, and measure their speed. > > Braden > > > On Wed, Oct 31, 2012 at 3:01 AM, Filip Maj <f...@adobe.com> wrote: > > > Brian recently suggested incorporating some kind of baseline bridge > > benchmark into mobile-spec. It would be nice to track the progression of > a > > standard "bridge speed" metric into our daily commits. > > > > On 10/30/12 11:19 PM, "Lorin Beer" <lorin.beer....@gmail.com> wrote: > > > > >Hey Andrew, > > > > > >bridge speed on android is of particular interest to me, and > > >Pender<https://github.com/lorinbeer/pender-android> > > > > > >I have a working Pender-Cordova Plugin, and a 25x increase in bridge > speed > > >would massively affect possible usage. > > >Is 25x a metric, or an approximation? > > >Do we have a benchmark tool for Cordova Android bridge speed? > > >If not, would a bridge speed benchmark tool be of interest? I wrote one > > >about a year and a half ago, and could massage it into something useful. > > > > > >- Lorin > > > > > > > > >On Tue, Oct 30, 2012 at 8:48 PM, Alessandro Preziosi (licnep) < > > >lsnprezi...@gmail.com> wrote: > > > > > >> >My understanding is as follows: > > >> >Unless you preventDefault() on the touchstart event, then dragging > your > > >> >finger will attempt to scroll the page. Once scroll mode has begun, > no > > >>JS > > >> >callbacks are called until you lift your finger and exit scroll mode. > > >> great explanation, sounds like it could be the case, thanks > > >> > > > > >