Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces, load testing

      Description


      It is useful to have metrics available to determine both the amount of time taken by a push operation and whether the push operation successfully reached all desired clients.

        Activity

        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8.2 [ 10190 ]
        Hide
        Ted Goddard added a comment -

        Current trunk build with instrumented auctionMonitor.

        Show
        Ted Goddard added a comment - Current trunk build with instrumented auctionMonitor.
        Ted Goddard made changes -
        Attachment auctionMonitor.war [ 11897 ]
        Hide
        Ted Goddard added a comment -

        The idea is to output the renderInfo only when it is different from the previous render. This should suppress renderInfo for renders not associated with the Renderer of interest (such as for user interaction or push updates caused by other Renderers).

        <div id="hiddenDiv">
        <ice:outputText value="#

        {LogBean.autoLoad}

        "/>
        <ice:outputText value="#

        {UserBean.autoLoad}

        "/>
        <ice:outputText value="#

        {ClockBean.autoLoad}

        "/>
        + <ice:outputText value="#

        {ClockBean.renderInfo}

        "/>
        </div>

        +++ src/com/icesoft/applications/faces/auctionMonitor/beans/ClockBean.java (working copy)

        + String renderInfo = null;
        + public String getRenderInfo() {
        + String currentRenderInfo = clock.getLastRenderInfo();
        + if (!currentRenderInfo.equals(renderInfo))

        { + renderInfo = currentRenderInfo; + return currentRenderInfo; + }

        + return "";
        + }
        +

        Show
        Ted Goddard added a comment - The idea is to output the renderInfo only when it is different from the previous render. This should suppress renderInfo for renders not associated with the Renderer of interest (such as for user interaction or push updates caused by other Renderers). <div id="hiddenDiv"> <ice:outputText value="# {LogBean.autoLoad} "/> <ice:outputText value="# {UserBean.autoLoad} "/> <ice:outputText value="# {ClockBean.autoLoad} "/> + <ice:outputText value="# {ClockBean.renderInfo} "/> </div> +++ src/com/icesoft/applications/faces/auctionMonitor/beans/ClockBean.java (working copy) + String renderInfo = null; + public String getRenderInfo() { + String currentRenderInfo = clock.getLastRenderInfo(); + if (!currentRenderInfo.equals(renderInfo)) { + renderInfo = currentRenderInfo; + return currentRenderInfo; + } + return ""; + } +
        Ken Fyten made changes -
        Assignee Ted Goddard [ ted.goddard ]
        Hide
        Ted Goddard added a comment -

        Checked in under ICE-4583

        r19124 | ted.goddard | 2009-07-28 13:31:23 -0600 (Tue, 28 Jul 2009) | 1 line

        storing lastRenderInfo (ICE-4583)

        Show
        Ted Goddard added a comment - Checked in under ICE-4583 r19124 | ted.goddard | 2009-07-28 13:31:23 -0600 (Tue, 28 Jul 2009) | 1 line storing lastRenderInfo ( ICE-4583 )
        Hide
        Ted Goddard added a comment -

        Fix was checked in but commit comment contained wrong issue number.

        Show
        Ted Goddard added a comment - Fix was checked in but commit comment contained wrong issue number.
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Salesforce Case []
        Security Private [ 10001 ]
        Hide
        Ted Goddard added a comment -

        ICEfaces group renderers now provide rendering statistics. The getLastRenderInfo() call returns a String containing the size of the group and the start time as of the last render request.

        groupSize=<group.size()> startTime=<System.currentTimeMillis()>

        Show
        Ted Goddard added a comment - ICEfaces group renderers now provide rendering statistics. The getLastRenderInfo() call returns a String containing the size of the group and the start time as of the last render request. groupSize=<group.size()> startTime=<System.currentTimeMillis()>
        Ken Fyten made changes -
        Fix Version/s 1.8.2-RC1 [ 10210 ]
        Hide
        Ted Goddard added a comment -

        auctionMonitor sample with metrics for both bids and clock updates.

        Show
        Ted Goddard added a comment - auctionMonitor sample with metrics for both bids and clock updates.
        Ted Goddard made changes -
        Attachment auctionMonitor.war [ 11994 ]
        Ted Goddard made changes -
        Salesforce Case []
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: