|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Improving Application GUI SpeedHello,
please help me getting my application up to speed on MacOSX/Aqua. It runs fine on Linux/X11, Win32, and even MacOSX/X11. Only on MacOSX/Aqua it crawls. Want to have a look first? Go to http://sourceforge.net/project/platformdownload.php?group_id=28460&sel_platform=4542 (or http://www.ayam3d.org/download.html) get both variants (MacOSX/X11 and MacOSX/Aqua). Already the application startup is 2-3s (Linux/X11) vs. 10-15s (MacOSX/Aqua); from then on the MacOSX version is unusably slow, especially when drawing the scrollable GUIs for the object properties (those are implemented as window in a canvas). Another problem area are the pane widgets, that may be dragged quite fine on X11, but on Aqua they do one hop every 1-2s (and this is _without_ continuous re-packing the GUI, only dragging the pane handle, which is a simple packed frame IIRC!). The Linux/X11 and MacOSX/Aqua variants were test-run on the very same machine (MacMini-PPC)! So how would you proceed to tackle this problem? Is there an easy way to profile such complex scenarios with Tcl/Tk? best regards, Randolf ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Improving Application GUI SpeedIf you download http://www.belfry.com/code/profile.tcl, and add a
'source profile.tcl' to the beginning of your program, when the program finishes, it'll dump a very detailed timing profile of your code to tclprof.txt, which you can use to determine what to optimize. The report format is very close to that of gprof. - Revar On Apr 8, 2008, at 1:10 AM, Randolf Schultz wrote: > Hello, > > please help me getting my application up to speed on MacOSX/Aqua. > It runs fine on Linux/X11, Win32, and even MacOSX/X11. Only on > MacOSX/Aqua it crawls. > > Want to have a look first? > Go to > > http://sourceforge.net/project/platformdownload.php?group_id=28460&sel_platform=4542 > > (or http://www.ayam3d.org/download.html) > > get both variants (MacOSX/X11 and MacOSX/Aqua). > > Already the application startup is 2-3s (Linux/X11) vs. 10-15s > (MacOSX/Aqua); from then on the MacOSX version is unusably > slow, especially when drawing the scrollable GUIs for the object > properties (those are implemented as window in a canvas). > Another problem area are the pane widgets, that may be dragged > quite fine on X11, but on Aqua they do one hop every 1-2s (and > this is _without_ continuous re-packing the GUI, only dragging > the pane handle, which is a simple packed frame IIRC!). > > The Linux/X11 and MacOSX/Aqua variants were test-run on the > very same machine (MacMini-PPC)! > > So how would you proceed to tackle this problem? > Is there an easy way to profile such complex scenarios with Tcl/Tk? > > best regards, > Randolf > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Tcl-mac mailing list > tcl-mac@... > https://lists.sourceforge.net/lists/listinfo/tcl-mac ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
| Free Forum Powered by Nabble | Forum Help |