[Mono-bugs] [Bug 316921] AssemblyQualifiedName is slow

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 4 22:45:17 EDT 2009


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

User joncham at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=316921#c2


Jonathan Chambers <joncham at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joncham at gmail.com




--- Comment #2 from Jonathan Chambers <joncham at gmail.com>  2009-08-04 20:45:11 MDT ---
Patch takes test case below from around 4200 ms to 10 ms. Lluis how did you
profile remoting performance? Is this still a bottleneck there?

using System;
using System.Diagnostics;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            Type t = typeof(Program);
            int total = 0;
            Stopwatch s = new Stopwatch();
            s.Start();
            for (uint i = 0; i < 1000000; i++)
            {
                total += t.AssemblyQualifiedName.Length;
            }
            s.Start();
            Console.WriteLine(s.ElapsedMilliseconds);
        }
    }
}

-- 
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.


More information about the mono-bugs mailing list