Environmental factors which can slow down Software Factory execution
So as to avoid negatively affecting developer productivity, we take the performance of the Software Factory very seriously. Over time we have applied many optimizations to the Software Factory and continue to do so as we find areas where it's possible.
However, we have found that on some developer machines, environmental factors / configurations can negatively impact the Software Factory execution speed.
Firstly, to ensure you're getting the best and shortest possible execution times, please ensure you're running the latest version of Intent Architect as well as the latest versions of modules. Otherwise, continue reading for additional advice.
Windows' Dev Drive
Windows 11 users are able to use Microsoft's Dev Drive feature which is intended to improve the performance of many developer related tasks and tools by using a different file system type and adjusting the way that Windows Defender works. Intent Architect's Software Factory has been found to run faster when solutions are running off of a Dev Drive.
Other common causes of slowness
"Initializing Software Factory Execution" step is slow
A common area of slowness in the Software Execution is the very first step, "Initializing Software Factory Execution". While this step should take less than a second, on some machines we have observed it taking multiple seconds and in extreme cases, tens of seconds.
The identified cause of this slowness is the interference of computer anti-virus software in the loading process of Module DLLs from the disk drive.
To avoid this interference, consider adding some or all of the following exclusions to your anti-virus software:
- The folder in which Intent Architect is installed (e.g.
C:\Program Files\Intent Architect v4
). - The folder containing your Intent Architect Solution and Applications, essentially the folder into which the "source code" for your project is checked out.
- The Intent Architect software factory executable:
Intent.SoftwareFactory.Host.exe
Warning
Adding exclusions to your anti-virus protection may expose you to additional risks. If your computer is administered by an IT department, their approval and assistance may be required to add exclusions.
Adding Exclusions to Windows Defender
Open Windows Security by clicking on the Start menu and selecting the shield icon to open Windows Security. Alternatively, you can search for "Windows Security" in the search bar.
In the Windows Security window, click on "Virus & threat protection" on the left sidebar.
Scroll down to the "Virus & threat protection settings" section and click on "Manage settings."
In the settings window, scroll down to the "Exclusions" section. Here, you will find options to add exclusions for files, folders, file types, and process exclusions.
Add Exclusions:
- For Folders: Click on "Add or remove exclusions" under the "Folders" section. In the window that opens, click on "Add an exclusion," then browse to the folder you want to exclude (e.g.
C:\Program Files\Intent Architect v4
orC:\Dev
) and select it. Click "Select Folder" and then "OK." - For Processes: Click on "Add an exclusion" under the "Processes" section. Type the name of the process you want to exclude (e.g.
Intent.SoftwareFactory.Host.exe
) and click "Add."
- For Folders: Click on "Add or remove exclusions" under the "Folders" section. In the window that opens, click on "Add an exclusion," then browse to the folder you want to exclude (e.g.
After adding the exclusions, you will be prompted to confirm. Click "OK" to save your changes.