Re: [Mono-winforms-list] Very slow performance in WinForms ListView

2009-04-21 Thread jyoti_C#

Using BeginUpdate() and EndUpdate() worked well for adding items. But, I
still see very slow listview refresh when a column is resized. Do I need to
capture these events and add above function calls in the event handler?
Basically, the problem is that refresh of listview is very slow. Is there
any solution that will fix the list view performance universally(column
reszing, scrolling, coming out of screensaver etc.) and not just when I add
items.

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Very-slow-performance-in-WinForms-ListView-tp20725159p23162133.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] Very slow performance in WinForms ListView

2009-04-21 Thread Carlos Alberto Cortez
I commited some changes some weeks ago (not available in 2.4, but they will
be ready for 2.6) that improve the rendering, with less flicker changing
columns width/position. But anyway, would you mind filling a bug report with
a test case? There are different things that can affect the performance of
the ListView, and unfortunately we don't have an universally way to make
fast the ListView (such ListView.SuperFast = true).

If we have a specific usage scenario, we can try to improve the performance
- specially when other users have notified of the bad performance and we
have tuned the performance in the past.

Carlos.

2009/4/21 jyoti_C# jyoti.b.ko...@intel.com


 Using BeginUpdate() and EndUpdate() worked well for adding items. But, I
 still see very slow listview refresh when a column is resized. Do I need to
 capture these events and add above function calls in the event handler?
 Basically, the problem is that refresh of listview is very slow. Is there
 any solution that will fix the list view performance universally(column
 reszing, scrolling, coming out of screensaver etc.) and not just when I add
 items.

 Thanks.
 --
 View this message in context:
 http://www.nabble.com/Very-slow-performance-in-WinForms-ListView-tp20725159p23162133.html
 Sent from the Mono - WinForms mailing list archive at Nabble.com.

 ___
 Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-winforms-list

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] Very slow performance in WinForms ListView

2009-04-21 Thread Ernesto
El 27/11/2008 17:27, JvD escribió:
 Hello,

 I'm new to Mono. I have downloaded and installed Mono2 onto Ubuntu V8.04.
 After that I wrote a small Winforms program adding 100 lines to a listview,
 repeating that for 10 times. Running the program on WindowsXP, adding 100
 lines takes between 15 and 30 msec each time. Running the same program on
 Ubuntu and Mono the first cycle takes 1,5 seconds and the last one even
 takes 15 seconds.
 Can somebody help me in fixing this problem since this performance is way to
 slow for my application.


I'm extensively using ListView (several forms with different listviews 
with thousands of items each) with Mono 2.4 under Fedora 11 Beta, 
openSUSE 11.1 and Mono SVN on Ubuntu 9.04 RC. Performance if very good 
and loading a listview with 5000 items will always take less than a 
second, even on an old Athlon XP.

Although, I can remember a recursion problem that affected the listview 
some time ago. I don't have access to the Mono source code right now but 
maybe you or someone else can take a look at the Listview changelog to 
see when was this recursion problem fixed.

Anyway, I'm sure a more recent version of Mono will work. Here are some 
very straightforward instructions to install Mono 2.4 on Ubuntu:

http://blog.ruski.co.za/page/Install-Mono-on-Ubuntu.aspx

Regards,
Ernesto


___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list