Path: utzoo!attcan!ncrcan!scocan!sco!mikep From: mikep@sco.COM (Mike Patnode) Newsgroups: comp.windows.x.motif,sco.opendesktop Subject: Re: SLOWWWWWWW Popups Keywords: motif popup widgets Message-ID: <8417@scolex.sco.COM> Date: 26 Oct 90 03:01:13 GMT References: <1990Oct25.142436.9581@litwin.com> Sender: news@sco.COM Reply-To: mikep (Mike Patnode) Organization: The Santa Cruz Operation, Inc. Lines: 37 In article <1990Oct25.142436.9581@litwin.com> vlr@litwin.com (Vic Rice) writes: >My group has been developing a reasonably large Motif application for about >18 months. Over the course of this development a significant problem >has been slowly getting worse. The problem is the ever increasing time >it takes for various popups to come up. > >Our development system: >SCO ODT 1.0.0y >ALR FlexCache 33/386 (Intel 80387 & Weitek) >Paradise VGA Plus >Multisyncing monitor (used in 800x600) > >Currently, the size of the load module is over 2 meg, unstripped. Popups >that used to take 1 or 2 sec to appear completely now take as long as >15 sec. These popups contain various children (RowColumn, DrawingArea, etc). >My perception is this degradation has been gradual, as we have added to the >application. > >Are we causing this ?? Is there some memory/buffer management techniques >we are overlooking ? For starters, be sure you are linking with -lmalloc. This is a big win for memory performance. Note that libmalloc is a much more stringent about misuse of memory than libc. Also, whenever possible try to hide Popup menus via XtPopdown(), rather than creating and destroying them each time they are used. This may be obvious. Hope that helps. -- Mike Patnode The Santa Cruz Operation SCO Software Engineer 400 Encinal Street {ucscc,uunet}!sco!mikep mikep@sco.COM P.O. Box 1900 (408) 458-1422 Santa Cruz, CA 95061