cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon MacDonald <simon.macdon...@gmail.com>
Subject Re: more benchmarking in mobile-spec
Date Fri, 22 Feb 2013 21:54:35 GMT
What's XHR like reading something from the TEMP/PERSISTENT areas?

Simon Mac Donald
http://hi.im/simonmacdonald


On Fri, Feb 22, 2013 at 4:45 PM, Filip Maj <fil@adobe.com> wrote:

> Check out the latest commit to mobile-spec to see the auto benches. I will
> work towards integrating with ci.cordova.io.. Eventually. There are so
> many things to do in that project, I could use volunteers :D
>
> Anyways, for a prelim auto bench result, here is what I get on my Galaxy
> Nexus running Android 4.2.2:
>
> Cordova.exec invocations (of Echo/echo plugin): ~3800 per second
> Cordova.exec callbacks coming back (from Echo/echo plugin): ~3600 per
> second
> XHR to the LICENSE file and get contents back (11kb) WITHIN the
> application www/ folder: ~2 per second
> Use FileReader to retrieve contents of LICENSE file (11kb) that is stored
> on the TEMP FileSystem: ~135 per second
> Use FileReader to retrieve contents of LICENSE file (11kb) that is stored
> on the PERSISTENT FileSystem: ~140 per second
>
>
> The FileReader tests create the LICENSE file before the start of the
> benchmarking, btw.
>
> Thoughts/comments/questions/feedback welcome.
>
> On 2/20/13 8:29 AM, "Andrew Grieve" <agrieve@chromium.org> wrote:
>
> >It's not a bug-fix, so push to master :)
> >
> >
> >On Tue, Feb 19, 2013 at 4:50 PM, Filip Maj <fil@adobe.com> wrote:
> >
> >> K I've got a little bit ready. Just benches:
> >>
> >> 1. The # of exec invocations possible in a time interval
> >> 2. The # of exec callback invocations possible in a time interval
> >>
> >> Now my conundrum is: where do I push this to? Next branch? Master? :(
> >>
> >> On 2/19/13 12:16 PM, "Andrew Grieve" <agrieve@chromium.org> wrote:
> >>
> >> >Awesome stuff Fil! The first one is one that I tried before when doing
> >>the
> >> >bridge benchmark and found it to not get accurate results. Had a look
> >>at
> >> >the README.md of the second one, and it sounds pretty good. Looking
> >> >forward
> >> >to seeing what you come up with :)
> >> >
> >> >
> >> >On Tue, Feb 19, 2013 at 2:41 PM, Filip Maj <fil@adobe.com> wrote:
> >> >
> >> >> Raising this thread from the dead :)
> >> >>
> >> >> I'm thinking of either http://benchmarkjs.com/ or
> >> >> https://github.com/akdubya/uubench
> >> >>
> >> >> Both apparently support async which is our only requirement AFAIK.
> >> >>
> >> >> Will mess aboot with adding both to mobile-spec and seeing how it
> >>pans
> >> >>out.
> >> >>
> >> >> On 10/26/12 11:09 AM, "Brian LeRoux" <b@brian.io> wrote:
> >> >>
> >> >> >eh folks, any thoughts on using
> >> >> >https://github.com/robohornet/robohornet for benching?
> >> >>
> >> >>
> >>
> >>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message