Suppose the overall dll size is 100M, here are the 2 cases:
- 100M * 1
- 10M * 10
Will their be much performance impact when using many small sized DLLs? why?
We did a testing recently but didn’t detect much performance difference between the 2 cases, I am not sure if there are some wrong steps with my testing or this is the fact.
The only hit you’re likely to get with multiple DLLs is a slight startup hit as the OS loader will have to locate the DLLs and resolve and references these DLLs have and rebase them as they’re loaded. However, the performance impact is not worth worry about, especially if you’ve got 10M*10 DLLs