Checking Performances

You can launch a performance checker to evaluate the performance of the 3DEXPERIENCE client-server interaction.

This tools calculates the time needed for basic scenarios and generates the results in a .csv file. The performance checker performs the following actions:

  • Login
  • Query the root Product (either DS-PerformanceChecker- BTree or DS-PerformanceChecker- Flat-tree_constraints)
  • Explore the Root
  • Expand All
  • Open (empty cache)
  • Close the editor
  • Open (cache filled)
  • Edit Properties on the root Product, modify a value of any attribute, save
  • Logout

This task shows you how to:


Before you begin:
  • Make sure that 3DXML data are in the performance checker. Import the 3DXML in the desired customization. You can find them in {3DEXPERIENCE_installation_directory}\{OSname}\startup\PerformanceChecker.
  • To capture relevant measures for the baseline performance, the tool must be executed alone on the server to avoid any disturbance.

Check Performances in Interactive Mode

  1. Open a Command Prompt window.
  2. Go to the following folder: C:\enovia\R2027x\code\win_b64\code\bin
  3. To launch the tool interactively, enter the following command:

    catstart -env CATIA.V6R2014.B215 -direnv E:\CATEnv -run "PerformanceChecker.exe"

  4. Log on with your V6 user.
    The performance checker appears.
  5. Click Run Test.
    The different tests are launched and a progress bar appears.
  6. When the tests are done, select the directory where you want to save the .csv file with the results.

Result: The results of the performance checker are saved.

Note: The .csv file contains the elapsed time for each step, in milliseconds.

Check Performances in Batch Mode

The PerformanceChecker batch takes the following options: -batch <result.csv path><user><password><role><host><port><uri><loginticket><protocol>

To launch the performance checker through a batch, enter the following command:

catstart -env CATIA.V6R2014.B215 -direnv E:\CATEnv -run "PerformanceChecker.exe -batch -output C:\results.csv -user User1 -pwd Pwd1 -role VPMLeader.MyCompany.Standard -host Ve4al124dsy -port 8090 -uri enovia -protocol http -ticket MjU0ODg4MzYxMDU0NDFCM0E5OUY4MzdENkJERkExMzV8V1ZNfFdWTXx8fDB8"

Result: The different tests are launched. When the tests are done, the .csv file with the results is saved in the .csv file specified in the -output option.

Notes:
  • The -batch option allows you to replay the performance checker automatically every n minutes.
  • The .csv file contains the elapsed time for each step, in milliseconds.