Improving code generation performance

If you notice that performance is reduced, you might need to change the location of the temporary files.

About this task

To change the location for temporary files, change the following entry in the Rhapsody.ini file, as follows:

[CodeGen]
TemporaryFilesDirectory=<the temporary code generation
   files directory (for example, C:\TEMP)>

When the entry is not present, temporary files are created in the project directory where the .rpy file is stored. By changing the location to a directory outside of a IBM® Rational® ClearCase® VOB domain, code generation performance improves.

Note: When you initially generate code inside a Rational ClearCase VOB, there is still performance loss due to VOB overhead (creating the code directories and files). You will see the full performance gain beginning with the second code generation.

Feedback