[Mono-bugs] [Bug 652522] Parallel.For is 100 times slower than sequential for, at the same time Parallel.For with Partitioner is ok

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 15 00:41:38 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=652522

https://bugzilla.novell.com/show_bug.cgi?id=652522#c3


--- Comment #3 from Mariusz Krej <mariusz.krej at gmail.com> 2010-11-15 05:41:37 UTC ---
Now my results are:

00:00:17.6532821: 3.14159265359043
00:00:28.0364287: 3.14159265358974
00:00:00.9239252: 3.14159265359043
00:00:05.8214685: 3.14159265358968
00:00:00.5391163: 3.14159265359011

so it's significantly better now,

I have added Your version of linq query, and it's run time is:
00:00:22.8898434: 3.14159265358974
net result:
00:00:01.2046403: 3.14159265358968

net's ParallelEnumerable implicitly forces range partitioning

-- 
Configure bugmail: https://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