|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Problems WinForms in LinuxMSI MegaBook M510A (CPU Intel Pentium-M 1.7 GHz, Memory 2 GB, ATI Mobility Radeon 9700 64 MB)
test.exe: 1. XP SP2 .NET FrameWork 2.0 - 4.3 sek 2. XP SP2 mono 2.4 - 7.7 sek 3. OpenSUSE 11.1 (Gnome) Mono 2.4 - 494.2 sek Why????????? ![]() Code:Test.zip Source:Test_source.zip |
|
|
Re: Problems WinForms in LinuxI filled a new bug report regarding your application's issue: https://bugzilla.novell.com/show_bug.cgi?id=498963
Thanks! Carlos.
2009/4/27 v567 <viv567@...>
_______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@... http://lists.ximian.com/mailman/listinfo/mono-winforms-list |
|
|
Re: Problems WinForms in Linux
Passed it is enough much time, but answer has not followed. The Problem remained. I try to state my version of the slow work WinForm exhibits in Linux in comparison with Windows. The Graphic operations in WinForm exhibits are produced through GDI+. Library gdiplus.dll is used In Windows herewith. In Linux developers Mono for this have written the library libgdiplus.so, which realizes the graphic conclusion with use the library Cairo. Cairo in Linux can draw through Xlib or through Glitz (with use OpenGL). However for WinForm exhibits conclusion is produced through Xlib. Xlib in turn is not used hardware speedup and removes much slowly. As result to graphic operations in WinForm exhibits in Linux on order slowly, than in Windows. In addition to the first test (with ZedGraph) attach example of one more test, in which ZedGraph is not used. However velocity of the work of this test in Linux much slowly, than in Windows. Here is results for my PC: 1. WinXP SP2 (mono 2.4.2): 13 sek. 2. OpenSUSE 11.1 i586 (KDE, mono 2.4.2): 76 sek. Exe: test1.exe Cod: test1.zip As possible accelerate work WinForm exhibits in Linux? Plans Novell to use the hardware speedup graphs for WinForm exhibits? Thanks! Igor. |
|
|
Re: Problems WinForms in LinuxI have noticed that all WinForm program in Linux work much slowly than in WinXP.
Appeared the version mono 2.4.2.3, however problems of the slow work WinForm programs is not decided: https://bugzilla.novell.com/show_bug.cgi?id=498963 I have changed the Test with ZedGraph (testp) to measure time of the drawing points in Linux and WinXP. Results of the test for my PC: WinXP,.NET WinXP,Mono OpenSuse,Mono NumP Tabs Trel Tabs Trel Tabs Trel 1 0.010 0 0.040 0 0.222 0 2 0.030 20 0.060 20 0.401 179 3 0.040 10 0.090 30 0.580 179 ... 100 1.592 20 2.664 30 88.483 1585 101 1.602 10 2.694 30 90.082 1598 102 1.622 20 2.724 30 91.713 1632 ... 200 3.345 20 5.969 40 320.269 3065 201 3.365 20 6.009 40 323.324 3054 202 3.375 10 6.039 30 326.380 3056 ... 248 4.256 20 7.781 40 483.386 3723 249 4.276 20 7.821 40 487.127 3741 250 4.296 20 7.861 40 490.893 3766 Here: NumP - a number of the drawn point; Tabs - a difference at second between time after Refresh current point and time after Refresh first point; Trel - a difference at millisecond between time after Refresh current point and time after Refresh previous point. Thereby, on drawing the last point (the number 250) in Linux leaves 3.7sec, WinXP(mono) - 0.04sec, in WinXP(.NET) - 0.02sec. The full results is specified in file results.zip How possible accelerate working WinForm programs in Mono??? testp.exe: testp.exe.zip testp project: testp.zip results.zip: results.zip |
| Free embeddable forum powered by Nabble | Forum Help |