What is the minimum Cross AppDomain communication performance penalty?
问题 I am trying to minimize the performance penalty of communicating across AppDomains in the same machine. In my toy example, Class A is loaded in AppDomain 1. It creates an AppDomain 2 and loads there an instance of Class 2 (Class 2 inherits from MarshalByRef) getting back a proxy. Then Class 1 calls repeatedly a method on the proxy that returns no values. I get the following results: No AppDomains, both classes are loaded in the same AppDomain and the first calls repetedly the method on the