Since moving to Dynamic Proxy 2, we have noticed that our application, which uses NHibernate, runs *extremely* slowly when the VS debugger is attached (calls that normally take about 1 second are taking up to 40 seconds to complete). Using dotTrace, we have tracked this down to the System.Reflection.Emit.TypeBuilder.CreateType() method, which is called by DP when it creates hibernate proxies. We never saw this behaviour with DP 1.
Any ideas what might be causing this? Incidentally, it does not happen when the debugger is attached through Task Manager - it only happens when the debugger is launched or attached from VS. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
