You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Michal Mocny (JIRA)" <ji...@apache.org> on 2013/01/14 23:10:14 UTC

[jira] [Commented] (CB-2216) Create Mobile Spec Test to benchmark ArrayBuffer exec bridge

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

Michal Mocny commented on CB-2216:
----------------------------------

Commit: https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=commit;h=f9ae3788b8470be2344f298f7732c1e44ad9b34c

The test is a manual test linked from the current exec() benchmark page, and uses a modified Echo plugin.  It does not yet test all configurations.

There seems to be some odd behavior on ios, where if I navigate to the test page, the Echo plugin fails to reply, but if I start the app on the test (by changing startPage), then it works fine.  DeviceReady does fire and cordova is loaded, so I'm not sure whats up.  Will not mark this fixed until that is reso'ved, not sure if its a bug on the test page of of mobile-spec/multi-page apps.
                
> Create Mobile Spec Test to benchmark ArrayBuffer exec bridge
> ------------------------------------------------------------
>
>                 Key: CB-2216
>                 URL: https://issues.apache.org/jira/browse/CB-2216
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.4.0
>
>


--
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: http://www.atlassian.com/software/jira

Re: [BENCHMARKS] (CB-2216) Create Mobile Spec Test to benchmark ArrayBuffer exec bridge

Posted by Andrew Grieve <ag...@chromium.org>.
>From doing the exec bridge benchmark:
- Joe wrote a version of it that used Jasmine, but it didn't show the same
timing results as the hand-coded one. I don't think Jasmine is a good
option for benchmarks
- I wrote a version of the exec benchmark that used benchmark.js. Found it
worked really well with sync. code, but it's async mode messed up timings.

Possible that we could address/fix the problems I had with benchmark.js,
but I'd be open to hearing what other options we have as well. I like the
idea of this being integrated into your CI system :)


On Mon, Jan 14, 2013 at 5:15 PM, Filip Maj <fi...@adobe.com> wrote:

> The ticket below is related to this:
>
> https://issues.apache.org/jira/browse/CB-1528
>
>
> I was gonna tackle that this week. I would like to automate as much of
> these tests/benchmarks as possible for easy integration into ci.cordova.io
> .
>
> Thoughts? Any other issues/benchmarks we can think of that should be
> linked up to CB-1528 ?
>
> On 1/14/13 2:10 PM, "Michal Mocny (JIRA)" <ji...@apache.org> wrote:
>
> >
> >    [
> >
> https://issues.apache.org/jira/browse/CB-2216?page=com.atlassian.jira.plug
> >in.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553185#commen
> >t-13553185 ]
> >
> >Michal Mocny commented on CB-2216:
> >----------------------------------
> >
> >Commit:
> >
> https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=commit
> >;h=f9ae3788b8470be2344f298f7732c1e44ad9b34c
> >
> >The test is a manual test linked from the current exec() benchmark page,
> >and uses a modified Echo plugin.  It does not yet test all configurations.
> >
> >There seems to be some odd behavior on ios, where if I navigate to the
> >test page, the Echo plugin fails to reply, but if I start the app on the
> >test (by changing startPage), then it works fine.  DeviceReady does fire
> >and cordova is loaded, so I'm not sure whats up.  Will not mark this
> >fixed until that is reso'ved, not sure if its a bug on the test page of
> >of mobile-spec/multi-page apps.
> >
> >> Create Mobile Spec Test to benchmark ArrayBuffer exec bridge
> >> ------------------------------------------------------------
> >>
> >>                 Key: CB-2216
> >>                 URL: https://issues.apache.org/jira/browse/CB-2216
> >>             Project: Apache Cordova
> >>          Issue Type: Bug
> >>          Components: mobile-spec
> >>            Reporter: Michal Mocny
> >>            Assignee: Michal Mocny
> >>             Fix For: 2.4.0
> >>
> >>
> >
> >
> >--
> >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: http://www.atlassian.com/software/jira
>
>

[BENCHMARKS] (CB-2216) Create Mobile Spec Test to benchmark ArrayBuffer exec bridge

Posted by Filip Maj <fi...@adobe.com>.
The ticket below is related to this:

https://issues.apache.org/jira/browse/CB-1528


I was gonna tackle that this week. I would like to automate as much of
these tests/benchmarks as possible for easy integration into ci.cordova.io.

Thoughts? Any other issues/benchmarks we can think of that should be
linked up to CB-1528 ?

On 1/14/13 2:10 PM, "Michal Mocny (JIRA)" <ji...@apache.org> wrote:

>
>    [ 
>https://issues.apache.org/jira/browse/CB-2216?page=com.atlassian.jira.plug
>in.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553185#commen
>t-13553185 ] 
>
>Michal Mocny commented on CB-2216:
>----------------------------------
>
>Commit: 
>https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=commit
>;h=f9ae3788b8470be2344f298f7732c1e44ad9b34c
>
>The test is a manual test linked from the current exec() benchmark page,
>and uses a modified Echo plugin.  It does not yet test all configurations.
>
>There seems to be some odd behavior on ios, where if I navigate to the
>test page, the Echo plugin fails to reply, but if I start the app on the
>test (by changing startPage), then it works fine.  DeviceReady does fire
>and cordova is loaded, so I'm not sure whats up.  Will not mark this
>fixed until that is reso'ved, not sure if its a bug on the test page of
>of mobile-spec/multi-page apps.
>                
>> Create Mobile Spec Test to benchmark ArrayBuffer exec bridge
>> ------------------------------------------------------------
>>
>>                 Key: CB-2216
>>                 URL: https://issues.apache.org/jira/browse/CB-2216
>>             Project: Apache Cordova
>>          Issue Type: Bug
>>          Components: mobile-spec
>>            Reporter: Michal Mocny
>>            Assignee: Michal Mocny
>>             Fix For: 2.4.0
>>
>>
>
>
>--
>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: http://www.atlassian.com/software/jira