I have found a performance problem in LoadTypesForModule method. In the case of a recursive load of multiple modules we ended up repeatedly creating AddTypesToNamespace load task for each namespace for the whole collection of types (from all assemblies).
I think it should be enough to create AddTypesToNamespace task with types from current assembly only. This quick fix allows for previously ignored LoadAssembliesIncludingRecursiveDependencies test to pass in about 20 seconds. Without this fix it takes 110 seconds on my machine.
Hello.
I have found a performance problem in LoadTypesForModule method. In the case of a recursive load of multiple modules we ended up repeatedly creating AddTypesToNamespace load task for each namespace for the whole collection of types (from all assemblies). I think it should be enough to create AddTypesToNamespace task with types from current assembly only. This quick fix allows for previously ignored LoadAssembliesIncludingRecursiveDependencies test to pass in about 20 seconds. Without this fix it takes 110 seconds on my machine.