Announcement

Collapse
No announcement yet.

A question about Performance Test Scripting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • A question about Performance Test Scripting

    What is the difference between setting # of iterations and looping?

  • #2
    LOOP does a loop of the scripting commands that are in the { } block.

    SETITERATIONS runs the actual benchmark multiple times

    They are similar.

    SETITERATIONS COMMAND

    Syntax:

    SETITERATIONS <Iterations>

    Parameters:
    <Iterations> Sets the number of times to iterate through any tests run. Using this command is the same as changing the iterations in the preferences window.
    Only values between 1 and 100 are valid, anything else will be discarded.
    Examples:

    #Set the number of iterations to 5

    SETITERATIONS 5

    LOOP

    Syntax:

    LOOP <number of iterations>

    {

    <Tasks to repeat>

    } [REPORTSUMMARYCSV | REPORTSUMMARYTEXT | REPORTSUMMARYHTML "<filename>"]

    Note: If REPORTSUMMARY is specified, the results after each iteration are output to a text, CSV or HTML file with a single header row.

    Parameters:
    < number of iterations > The number of times the Tasks within brackets will be repeated.
    Examples:

    # Run the test 3 times and export the results at the end of each iteration to a CSV file.

    LOOP 3

    {

    # Clear the results

    CLEARRESULTS

    # Run all tests except the 3D test

    RUN CPU_ALL

    RUN G2D_ALL

    RUN ME_ALL

    RUN DI_ALL

    RUN CD_ALL

    } REPORTSUMMARYCSV "results.csv"

    Comment

    Working...
    X