Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Optional
    • Resolution: Unresolved
    • Affects Version/s: 3.3.4.001
    • Fix Version/s: None
    • Labels:

      Description

      Current cftimer attribute type supports comment|inline|outline|debug.
      It would be nice if we can have additional type and attribute where we can set timing information into a variable

      For example:

      <cftimer label="Outer loop" type="info" name="time1">
      <cfsleep time="2000">
      <cfloop for="1" to="5" index="n">

      <cftimer label="Inside a loop" type="info" name="time2">
      <cfsleep time="1000">
      </cftimer>
      <cfoutput>Time taken #n#: #time2# ms</cfoutput> <!--- 1000 --->

      </cfloop>
      <cfsleep time="3000">
      </cftimer>
      <cfoutput>Total time taken: #time1# ms</cfoutput> <!--- 2000+(1000*5)+3000=10000 --->

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                peterpham Peter Pham
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: