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

        Hide
        Ted Goddard added a comment -

        Current trunk build with instrumented auctionMonitor.

        Show
        Ted Goddard added a comment - Current trunk build with instrumented auctionMonitor.
        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 ""; + } +
        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.
        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()>
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: