Initializing help system before first use

# Starting a Profiling Session

Complete the following steps to start profiling a model:

1. In the Run Configurations drop-down list, select the Mosel or Python source file that you want to profile.
2. Click Run Tools (the fourth button to the right of the Run Configurations drop-down list).
3. In the menu that appears, click Show Run Dialog.
4. In the Run Model dialog box, set the Run Mode field to Profile the Model.
5. Click Run.
   When the model has finished running, the Profiler tab opens, showing the profiling results in a table. The results are also written to a file in the same directory as the source file; this file has the same name as the source file, with the extension .prof.
   Note: If a Mosel model loads multiple packages, a separate .prof file is written for each package. For Python models, only a single .prof file is written.
   The columns of the table on the Profiler tab differ depending on the language of the source file.
   - Mosel source files:
     - Line #: The line number of the statement in the source file.
     - Count: The number of times the corresponding statement has been executed.
     - Time (s): The total amount of time (in seconds) spent on this particular line (this measure is not valid if the statement is a recursive call).
     - Latest (s): The elapsed time (in seconds) between the beginning of the execution and the last time the line was executed (the line number, then the first three columns before the Mosel source).
   - Python source files:
     - Line #: The line number of the statement in the source file.
     - Name: The name of the function that was executed.
     - Count: The total number of times the executed function was called.
     - Total Time (s): The total amount of time (in seconds) spent executing the function.
     - Average Time (s): The average amount of time (in seconds) spent executing the function on each call.
     - File: The file or module name of the executed function.
     - Thread: The name of the thread executing the function.
   You can double-click a row in the table jump to the line in the source file.
   Note: If the source has been updated since the .prof file was created, it might take longer to go to the correct line.

   You can sort the profiler table by clicking on the header of the column you want to sort by.

Parent Topic Profiling Models

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.