# How To...Speed Up Project Loading

Designer includes experimental features to help reduce the time required for your system to load your Designer project. Cognex recommends you review the Risks section at the end of this topic before enabling these features. In addition, see the topic How To ... Properties Shortcuts

Use Project Settings to configure various options for your project. Each Cognex Designer release supports the following settings designed to reduce the time required for loading your project:

## Tasks

Loading many ToolBlocks used in Tasks can significantly contribute to delays in project loading.

- Load Tasks in parallel: The loading (mainly deserialization) of each Task will be done in parallel.

- Load other services while Tasks is loading: The loading (mainly deserialization) of each Task will be run on a background thread so other services can load simultaneously.

## Services

Project Services provide all the features to support the functionality of Designer such as Pages, Tags, and so on. These services are configured and loaded on Startup and have been configured within dependency groups to allow Services that rely on each other to start in a specific order.

Load Services in Parallel enables loading each service (within a dependency group) to be started in parallel.

## General

- Don't load IDE pages on startup: By default, Designer will auto-load environment Documents (for example, Pages/Tasks) from the last run session. This feature clears the last session cache so documents are not loaded.

- Max degree of parallelism: Sets the maximum number of concurrent tasks. Set to -1 to allow Windows to decide the best number to use.

  This setting applies to both Tasks and Services.

Prior to enabling this feature, be aware of the following:

- Cognex recommends you create a backup of your project.
- Be aware of the possibility that some project configurations might include features/plugins that were not encountered during Cognex testing which may prevent the project from loading correctly.
- Once you apply this setting and load your project, Cognex recommends you check the log file for any errors on startup (View\Output from IDE).

## Risks

Some of the features available to help speed up project loading will attempt to load project dependencies simultaneously. There is a possibility that some project configurations include features/plugins that were not encountered during testing which may prevent the project from loading correctly.

Cognex strongly recommends you make a backup of your project files before applying any of these settings. After applying these settings and loading your project, you should check the log file for any errors and confirm your project still functions as expected.