http://bugzilla.novell.com/show_bug.cgi?id=618176
http://bugzilla.novell.com/show_bug.cgi?id=618176#c0 Summary: Array CopyTo is slower than .net Classification: Mono Product: Mono: Runtime Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: JIT AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- For following micro benchmark mono is about 2.5x slower than .net using System; using System.Diagnostics; using System.Collections.Generic; class Test { public static void Main () { IList<Test> src = new Test [4]; var target = new Test [4]; var sw = new Stopwatch (); sw.Start (); for (int i = 0; i < 10000000; ++i) src.CopyTo (target, 0); sw.Stop (); Console.WriteLine (sw.ElapsedMilliseconds); Console.WriteLine (target.Length); } } 32-bit system Mono trunk: 1967 NET v4: 791 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
