Jump to content
philipljackson

50 second + Complier delay

Recommended Posts

Hi

 

Environment 10.2.2 enterprise on Windows 10 professional

 

When compiling my applications I have recently noticed a 50+ second delay in the compilation process, which I believe is waiting for rtutils.dll or combase.dll (?) to finish and exit a thread.  Fortunately this does not occur on user applications but just my development machine.

 

I have used procmon.exe to watch the compilation process and below are sample events

 

This is where thread ID 3996 is created 

 

<event>
<ProcessIndex>515</ProcessIndex>
<Time_of_Day>15:17:51.7721871</Time_of_Day>
<Process_Name>Alarm.exe</Process_Name>
<PID>6564</PID>
<Operation>QueryNormalizedNameInformationFile</Operation>
<Path>C:\Windows\SysWOW64\combase.dll</Path>
<Result>SUCCESS</Result>
<Detail></Detail>
</event>

<event>
<ProcessIndex>515</ProcessIndex>
<Time_of_Day>15:17:51.7721984</Time_of_Day>
<Process_Name>Alarm.exe</Process_Name>
<PID>6564</PID>
<Operation>Thread Create</Operation>
<Path></Path>
<Result>SUCCESS</Result>
<Detail>Thread ID: 3996</Detail>
</event>

<event>
<ProcessIndex>515</ProcessIndex>
<Time_of_Day>15:17:51.7723309</Time_of_Day>
<Process_Name>Alarm.exe</Process_Name>
<PID>6564</PID>
<Operation>Load Image</Operation>
<Path>C:\Windows\SysWOW64\combase.dll</Path>
<Result>SUCCESS</Result>
<Detail>Image Base: 0x76fe0000, Image Size: 0x278000</Detail>
</event>

 

 

This is where thread ID 3996 is finishes, note the 56 second delay between the two events below

 

<event>
<ProcessIndex>515</ProcessIndex>
<Time_of_Day>15:17:55.4613083</Time_of_Day>
<Process_Name>Alarm.exe</Process_Name>
<PID>6564</PID>
<Operation>RegCloseKey</Operation>
<Path>HKLM\System\CurrentControlSet\Control\SQMServiceList</Path>
<Result>SUCCESS</Result>
<Detail></Detail>
</event>

<event>
<ProcessIndex>515</ProcessIndex>
<Time_of_Day>15:18:51.7779281</Time_of_Day>
<Process_Name>Alarm.exe</Process_Name>
<PID>6564</PID>
<Operation>Thread Exit</Operation>
<Path></Path>
<Result>SUCCESS</Result>
<Detail>Thread ID: 3996, User Time: 0.0000000, Kernel Time: 0.0156250</Detail>
</event>

 

Advice most welcome as this is wasting a lot of my time.

 

Regards

 

Philip L Jackson

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×