-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to speed up loading Microsoft.xaml.Behaviors.dll? #197
Comments
Can you explain how you got to the pinpoint the issue to that specific assembly? Also, can you tell me if this was on a debug or release build? |
It happens in release and debug mode.
I noticed this assembly always took around d10 seconds to load in the VS output window.
I tried removing the next assembly to load from the solution which was one of my projects), but it made no difference
I have made sure there are no exceptions raised when the solution loads
In the production environment it takes the same 20 seconds to load all 53 assemblies as it does on my development PC. On my development PC it takes 10 seconds out of the 20 seconds to load this single assembly.
I am measurting the time from when it says symbols loaded to when the next assembly says its symbols are loaded
Gordon
From: Pedro Lamas <notifications@github.com>
Sent: 15 September 2020 18:00
To: microsoft/XamlBehaviors <XamlBehaviors@noreply.github.com>
Cc: Gordon Ireland <gordon.ireland@gi-computersolutions.com>; Author <author@noreply.github.com>
Subject: Re: [microsoft/XamlBehaviors] Is there any way to speed up loading Microsoft.xaml.Behaviors.dll? (#197)
Can you explain how you got to the pinpoint the issue to that specific assembly? Also, can you tell me if this was on a debug or release build?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#197 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEOMXTD55NW7DBB7PY4Q54DSF6MSFANCNFSM4Q6HVNUA> . <https://github.com/notifications/beacon/AEOMXTCUSJ22SL2N7HSQVJ3SF6MSFA5CNFSM4Q6HVNUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFFF73RY.gif>
|
On site I have tried NGEN and installing in GAC vioa a Wix Installer, but it makes very little difference if any
From: Pedro Lamas <notifications@github.com>
Sent: 15 September 2020 18:00
To: microsoft/XamlBehaviors <XamlBehaviors@noreply.github.com>
Cc: Gordon Ireland <gordon.ireland@gi-computersolutions.com>; Author <author@noreply.github.com>
Subject: Re: [microsoft/XamlBehaviors] Is there any way to speed up loading Microsoft.xaml.Behaviors.dll? (#197)
Can you explain how you got to the pinpoint the issue to that specific assembly? Also, can you tell me if this was on a debug or release build?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#197 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEOMXTD55NW7DBB7PY4Q54DSF6MSFANCNFSM4Q6HVNUA> . <https://github.com/notifications/beacon/AEOMXTCUSJ22SL2N7HSQVJ3SF6MSFA5CNFSM4Q6HVNUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFFF73RY.gif>
|
GAC plays no role in UWP... this is a UWP app we are talking here, correct? I ask this as this is the UWP Xaml Behaviors, not the WPF one (that's a different repository!) |
Now that I look at the assembly you pointed out, I see that the issue is for the XamlBehaviors for WPF, not this project! Please open this issue on the correct repo, closing it as it is unrelated to this repo. |
This a WPF application. Definitely not UWP
The DLL is installed as a Nuget package :
It was recommended to me by Infragistics support team
From: Pedro Lamas <notifications@github.com>
Sent: 16 September 2020 10:01
To: microsoft/XamlBehaviors <XamlBehaviors@noreply.github.com>
Cc: Gordon Ireland <gordon.ireland@gi-computersolutions.com>; Author <author@noreply.github.com>
Subject: Re: [microsoft/XamlBehaviors] Is there any way to speed up loading Microsoft.xaml.Behaviors.dll? (#197)
GAC plays no role in UWP... this is a UWP app we are talking here, correct? I ask this as this is the UWP Xaml Behaviors, not the WPF one (that's a different repository!)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#197 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEOMXTAYZG2OEAVJIAIHYK3SGB5DVANCNFSM4Q6HVNUA> . <https://github.com/notifications/beacon/AEOMXTCPWRDB3VXYJDGBCJTSGB5DVA5CNFSM4Q6HVNUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFFJIICY.gif>
|
This repo is for the UWP Xaml Behaviors, the assembly you are referring to is from the WPF Xaml Behaviors; please re-open the issue here: https://github.com/microsoft/XamlBehaviorsWpf |
I am finding that it takes around 10 seconds to load this DLL - longer than loading all of my other 50 DLLs combined. this is on a quad core PC with 32GB RAM.
I have tried using WIX to install the application in the production environmenmt, and NGEN'ing all DLLs but it makes little if any difference
Any hints or tips on speeding this up would be appreciated
The text was updated successfully, but these errors were encountered: