Path: utzoo!attcan!uunet!dynsim1!vlr From: vlr@litwin.com (Vic Rice) Newsgroups: comp.windows.x.motif,sco.opendesktop Subject: Re: SLOWWWWWWW Popups Keywords: motif popup widgets Message-ID: <1990Oct26.143712.17822@litwin.com> Date: 26 Oct 90 14:37:12 GMT References: <1990Oct25.142436.9581@litwin.com> <8417@scolex.sco.COM> Organization: Litwin Process Automation, Houston Lines: 30 mikep@sco.COM (Mike Patnode) writes: >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. >> >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. Many many thanks, Mike. The -lmalloc was right on the money. Adding -lmalloc made a drastic improvement in the performance of several aspects of our application, not just popups. We were doing XtPopdown() via a Motif call. I hope anyone developing Motif apps under SCO ODT pays attention to this. It makes a SIGNIFICANT difference. God, I love USENET. -- Dr. Victor L. Rice Litwin Process Automation