MrGarbage
7th December 2007, 20:59
Hi,
I'm looking for suggestions to improve performance. This is a windows app.
This is for one dialog in particular, created by the Designer and
shown in the attachment.
It contains, among other things a 4 X 32 grid of dragabble LED objects whose
base class is QLabel.
When my app starts and a entry is clicked in the tree to the left this dialog
is created and added to the displayable workspace. Base on what is clicked I need
to hide or show some of the 4 X 32 dragabble LED objects.
It is very slow under the debugger and still unacceptably slow when built as a release version.
Under the debugger Some of the more costly functions:
****** Calling setupUi()
****** Back from setupUi() Time elapsed: ms 1372
****** Calling DPMConfigDevices() - Hide/Show the supported devices
****** Back from DPMConfigDevices() - Hide/Show the supported devices Time elapsed: ms 1432
****** Calling thisWidget->layout()->addWidget(m_DpmConfigTabSheet);
****** Back from addWidget(m_DpmConfigTabSheet) Time elapsed: ms 822
Any suggestions?
Thank you!
Mark Foley
I'm looking for suggestions to improve performance. This is a windows app.
This is for one dialog in particular, created by the Designer and
shown in the attachment.
It contains, among other things a 4 X 32 grid of dragabble LED objects whose
base class is QLabel.
When my app starts and a entry is clicked in the tree to the left this dialog
is created and added to the displayable workspace. Base on what is clicked I need
to hide or show some of the 4 X 32 dragabble LED objects.
It is very slow under the debugger and still unacceptably slow when built as a release version.
Under the debugger Some of the more costly functions:
****** Calling setupUi()
****** Back from setupUi() Time elapsed: ms 1372
****** Calling DPMConfigDevices() - Hide/Show the supported devices
****** Back from DPMConfigDevices() - Hide/Show the supported devices Time elapsed: ms 1432
****** Calling thisWidget->layout()->addWidget(m_DpmConfigTabSheet);
****** Back from addWidget(m_DpmConfigTabSheet) Time elapsed: ms 822
Any suggestions?
Thank you!
Mark Foley