Post Reply

Forums -> UltraMon™ -> Ultramon seems to slow down speed on some controls
André   2003-07-24 21:41
Ultramon seems to slow down speed on some controls.

I'm testing Ultramon, and I've come across this problem. It occurs in our development tool, Powerbuilder 8.0.3.

Some controls like dropdown listboxes and treeviews will suffer a significant performance decrease in the IDE. Some operations that uses 1 second with Ultramon unloaded, will use up to 10-20 seconds with ultramon.

Now, Powerbuilder seems to use an excessive amount of refreshes/updates/etc, so for now I've only found this to be a problem in this application.

It's consistent across different gpx cards and drivers, and I've stripped process list down so far as I can go to check for other conflicting apps, but with no result.

Any help is appreciated, I've summed up the system specs on the bottom.

Thanks in Advance

System: Dell Precision 650
Motherboard chipset patches: None
CPU: 2x Intel Xeon P4 2.4GHz
Motherboard Bios: N/A
OS: Windows XP 5.1.2600 (English)
Desktop resolution and color depth: 1280x1024 32b (both monitors)
Direct X version: 8.1
Hard Drive: 2xWDC WD120JB-75CRA0
SCSI card type: N/A
Sound card and driver version: SoundMAX integrated Digital Audio / AC'97
Monitor brand: Dell M992 and Dell P991
DVD-ROM Drive (make/model): Samsung CDRW/DVD SM-332B
Network card: Intel PRO/1000 MTW

Gfx cards tested:
Matrox G450
ATI Radeon 9500
ATI Fire GLE
Christian Studer   2003-07-25 05:41
Please let me know what steps I need to take to reproduce this issue.

I have installed the trial version of PowerBuilder 8 and have created a test application, but so far I haven't noticed any performance issues when using the workspace treeview or the function combo boxes in the code editor.

Christian Studer - www.realtimesoft.com
André   2003-07-29 20:20
This is best seen when using the Menu Painter in Powerbuilder.

1. You have to make a relatively large menu; many objects (menuitems) in a tree-structure to reproduce (100 or so). Tip: You can use the mousepointer to drag'n'drop and copy existing menustructures (holding down Ctrl just as you would in an Explorer window).

2. The Script editor pane ( View | Script ) would have to be visible. (You can try to add more than one script pane, that will multiply the problem).

When this is done, simply changing properties on a menu item (Visible, Enable, etc), with and without ultramon, should reproduce the problem.

Hopefully this will help you reproduce the problem...
André
Christian Studer   2003-07-30 01:26
Thanks for the information, I have been able to reproduce the issue by adding menu items to a large menu, it takes noticeably longer when UltraMon is running.

The problem occurs when a WH_CALLWNDPROC or WH_CALLWNDPROCRET hook is installed. You can also reproduce the issue by running Microsoft's Spy++ utility instead of UltraMon.

This seems to be a bug in Windows, the slowdown occurs even if the hook procedure doesn't do anything and just calls CallNextHookEx.

I have also seen similar slowdown issues occasionally with large list views in Explorer or Outlook Express, but haven't been able to reproduce it as consistently as with PowerBuilder.

The only workaround would be to disable all UltraMon features which use such hooks, but you would lose quite a bit of functionality. You would need to disable moving of maximized windows using the mouse (Options > General), custom window buttons (Options > Window Title Bar), custom menu commands (Options > Window Menu) and the Smart Taskbar (Options > Smart Taskbar).

I'll try to get more information on this from Microsoft Support.

Christian Studer - www.realtimesoft.com
Forums -> UltraMon™ -> Ultramon seems to slow down speed on some controls

Post Reply