http://bugzilla.novell.com/show_bug.cgi?id=316921

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=316921#c3


Rodrigo Kumpera <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #3 from Rodrigo Kumpera <[email protected]>  2009-08-05 08:10:46 
MDT ---
I'm trying this very simple benchmark that results in quite a lot of
AssemblyQualifiedName calls for each remoting call. My results are for a 5%
perf increase but my machine is too unsuited for benchmarking.

Can someone run it with and without the patch and report back the result?

using System;
using System.Threading;

public class Remote : MarshalByRefObject {
    public void Ping (Remote rem, object payload) { rem.Pong (payload); }
    public void Pong (object payload) { }

}
public class Driver {
    public static void Main()
    {
        AppDomainSetup setup = new AppDomainSetup ();
        setup.ApplicationBase = ".";
        Console.WriteLine (AppDomain.CurrentDomain.FriendlyName);
        AppDomain newDomain = AppDomain.CreateDomain ("NewDomain", null,
setup);

        Remote rem = (Remote)newDomain.CreateInstanceAndUnwrap (typeof
(Remote).Assembly.FullName, "Remote");

        Remote local = new Remote ();
        for (int i = 0; i < 30000; ++i)
            rem.Ping (local, i);
    }
}

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to