[Mono-bugs] [Bug 618176] New: Array CopyTo is slower than .net
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jun 29 04:49:51 EDT 2010
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: lupus at novell.com
ReportedBy: msafar at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list