Re: more benchmarking in mobile-spec

2013-02-22 Thread Filip Maj
O snap! don¹t I look silly. Nice work! On 2/22/13 4:13 PM, "Simon MacDonald" wrote: >It's all JS Fil. No, Java code. No reason why this wouldn't work on all >platforms. > >The limitations I see is that we will never get an error condition as the >status is always 0 when reading from file:// > >

Re: more benchmarking in mobile-spec

2013-02-22 Thread Simon MacDonald
It's all JS Fil. No, Java code. No reason why this wouldn't work on all platforms. The limitations I see is that we will never get an error condition as the status is always 0 when reading from file:// Simon Mac Donald http://hi.im/simonmacdonald On Fri, Feb 22, 2013 at 6:05 PM, Filip Maj wro

Re: more benchmarking in mobile-spec

2013-02-22 Thread Filip Maj
... Wrapped in your own plugin.. When stuff like this lands for ALL platforms then we can talk On 2/22/13 2:11 PM, "Simon MacDonald" wrote: >Sure it does. I wrote code to do this on Sunday. > >http://simonmacdonald.blogspot.ca/2013/02/phonegap-android-xhrfilereader.h >tml > >Just double checked

Re: more benchmarking in mobile-spec

2013-02-22 Thread Simon MacDonald
Sure it does. I wrote code to do this on Sunday. http://simonmacdonald.blogspot.ca/2013/02/phonegap-android-xhrfilereader.html Just double checked that if I send it the path file:///mnt/sdcard/robots.txt I am able to get the contents of the text file. Lemme know what the problem is. Although, I'

Re: more benchmarking in mobile-spec

2013-02-22 Thread Filip Maj
Xhr won't resolve to temp/persistent areas, at least on android :s On 2/22/13 1:54 PM, "Simon MacDonald" wrote: >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 wrote: > >> Check o

Re: more benchmarking in mobile-spec

2013-02-22 Thread Simon MacDonald
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 wrote: > Check out the latest commit to mobile-spec to see the auto benches. I will > work towards integrating with ci.cordova.io.. Eventual

Re: more benchmarking in mobile-spec

2013-02-22 Thread Filip Maj
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 Andr

Re: more benchmarking in mobile-spec

2013-02-20 Thread Filip Maj
Cool will do (shortly). I've also added benches for: - reading a file within the www/ folder via XHR - reading a file from the PERSISTENT filesystem via File API - reading a file from the TEMPORARY filesystem via File API I'll take a look at adding this info into ci.cordova.io today. On 2/20/13

Re: more benchmarking in mobile-spec

2013-02-20 Thread Andrew Grieve
It's not a bug-fix, so push to master :) On Tue, Feb 19, 2013 at 4:50 PM, Filip Maj 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: whe

Re: more benchmarking in mobile-spec

2013-02-19 Thread Filip Maj
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" wrote: >Awesome stu

Re: more benchmarking in mobile-spec

2013-02-19 Thread Andrew Grieve
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

Re: more benchmarking in mobile-spec

2013-02-19 Thread Filip Maj
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 L

more benchmarking in mobile-spec

2012-10-26 Thread Brian LeRoux
eh folks, any thoughts on using https://github.com/robohornet/robohornet for benching?