RE: Superoffice hang, not responding
history tab
Is this the history table?
I.o.w. you used an sql tool.
(The mini card will only show those that are visible to you)
If so, I would have liked to see a dump of the complete history table.
/conrad
I keep forgetting this:
Since 8.0, you can turn on a Timer system with a souser.ini switch:
[Startup]
Timers=1
Make sure to edit the correct SOUSER:INI file located in: C:\Users\?????\AppData\Roaming\SuperOffice\
Timer recording is then turned on in strategic places.
This allows us to get some idea of where the bottlenecks are, in particular during the startup sequence - without needing to setup a profiler. The timer recording system itself has negligable impact. Profiling SoCrm.exe is never a trivial undertaking and immencely dependent on the data base data and the data base access path.
You can dump the accumulated entries from the Associate button in the TopPanel.

Example snippet of a Timer dump after a startup:
.
14:18:42:825 -- -- -- -- -- 3.463140 Contact System
14:18:42:826 -- -- -- -- -- -- 3.354928 SContactTriViewPanel::SContactTriViewPanel
14:18:42:826 -- -- -- -- -- -- -- 3.354825 SContactTriViewPanel::InitializePanels
14:18:42:828 -- -- -- -- -- -- -- -- 0.508817 SContactCardsTabView::SContactCardsTabView
14:18:42:828 -- -- -- -- -- -- -- -- -- 0.190422 SContactCardMainView
14:18:42:954 -- -- -- -- -- -- -- -- -- -- 0.004824 class TUDefControlSpecialList<7>
14:18:43:19 -- -- -- -- -- -- -- -- -- 0.003769 class TUDefControlNormalList<7>
14:18:43:22 -- -- -- -- -- -- -- -- -- 0.130928 SContactCardUdefView
14:18:43:156 -- -- -- -- -- -- -- -- -- 0.028825 SContactCardInterestView
14:18:43:273 -- -- -- -- -- -- -- -- -- 0.025548 SContactCardErpView
14:18:43:298 -- -- -- -- -- -- -- -- -- 0.027054 SContactCardPostItView
14:18:43:347 -- -- -- -- -- -- -- -- 0.002956 class NSArchiveControl::Impl
14:18:43:348 -- -- -- -- -- -- -- -- -- 0.002090 class SCurrentArchiveRow
14:18:43:761 -- -- -- -- -- -- -- -- 0.365018 NSNamedCriteriaControl::NSNamedCriteriaControl
14:18:43:766 -- -- -- -- -- -- -- -- -- 0.358780 NSNamedCriteriaControl::RepopulateSelector
14:18:43:772 -- -- -- -- -- -- -- -- -- -- 0.011301 SNamedSearchCriteriaHelper::SNamedSearchCriteriaHelper
To Clear the accumulated entries (limit is 1000), select Delete timers.
Then switch to another app and back, so Dump timers.
You should see something like this:
20:11:09:173 -- 0.121689 SHistoryListItemsCache::LoadCache
20:11:09:173 -- -- 0.000009 C_HISTORY_CACHE_CLEARED
20:11:09:187 -- -- 0.015926 _UpdateAssociateInfos
20:11:09:203 -- -- 0.010954 _UpdateAssociateInfos
20:11:09:214 -- -- 0.004532 _UpdateContactInfos
20:11:09:218 -- -- 0.013019 _UpdatePersonInfos
20:11:09:231 -- -- 0.009761 _UpdateAppointmentInfos
20:11:09:241 -- -- 0.005719 _UpdateDocumentInfos
20:11:09:247 -- -- 0.018493 _UpdateProjectInfos
20:11:09:250 -- -- -- 0.001949 ProjectSentry
20:11:09:253 -- -- -- 0.001693 ProjectSentry
20:11:09:254 -- -- -- 0.001682 ProjectSentry
20:11:09:256 -- -- -- 0.001680 ProjectSentry
20:11:09:258 -- -- -- 0.001729 ProjectSentry
20:11:09:260 -- -- -- 0.001675 ProjectSentry
20:11:09:261 -- -- -- 0.001773 ProjectSentry
20:11:09:263 -- -- -- 0.001693 ProjectSentry
20:11:09:265 -- -- 0.027064 _UpdateSelectionInfos
20:11:09:277 -- -- -- 0.001904 SelectionSentry
20:11:09:279 -- -- -- 0.001818 SelectionSentry
20:11:09:281 -- -- -- 0.001794 SelectionSentry
20:11:09:283 -- -- -- 0.001802 SelectionSentry
20:11:09:285 -- -- -- 0.002419 SelectionSentry
20:11:09:287 -- -- -- 0.002283 SelectionSentry
20:11:09:290 -- -- -- 0.002249 SelectionSentry
20:11:09:292 -- -- 0.002428 _UpdateDocTmplInfos
20:11:09:295 -- -- 0.000127 _UpdateTimeZoneInfos
20:11:11:454 -- 0.024714 NSBulkUpdateSystem::_HasJobResultStorageItems
....
This one was running on my local machine.
Here is same use case running in very different environment on my work machine:
20:24:25:432 -- 0.042147 SHistoryListItemsCache::LoadCache
20:24:25:432 -- -- 0.000002 C_HISTORY_CACHE_CLEARED
20:24:25:437 -- -- 0.001681 _UpdateAssociateInfos
20:24:25:438 -- -- 0.001270 _UpdateAssociateInfos
20:24:25:440 -- -- 0.001130 _UpdateContactInfos
20:24:25:441 -- -- 0.002152 _UpdatePersonInfos
20:24:25:443 -- -- 0.001491 _UpdateAppointmentInfos
20:24:25:444 -- -- 0.002017 _UpdateDocumentInfos
20:24:25:446 -- -- 0.005144 _UpdateProjectInfos
20:24:25:447 -- -- -- 0.000828 ProjectSentry
20:24:25:448 -- -- -- 0.000626 ProjectSentry
20:24:25:449 -- -- -- 0.000603 ProjectSentry
20:24:25:449 -- -- -- 0.000597 ProjectSentry
20:24:25:450 -- -- -- 0.000612 ProjectSentry
20:24:25:451 -- -- -- 0.000589 ProjectSentry
20:24:25:452 -- -- 0.013642 _UpdateSaleInfos
20:24:25:453 -- -- -- 0.001585 SaleSentry
20:24:25:455 -- -- -- 0.001612 SaleSentry
20:24:25:456 -- -- -- 0.002087 SaleSentry
20:24:25:458 -- -- -- 0.002116 SaleSentry
20:24:25:461 -- -- -- 0.002094 SaleSentry
20:24:25:463 -- -- -- 0.002052 SaleSentry
20:24:25:465 -- -- 0.007896 _UpdateSelectionInfos
20:24:25:469 -- -- -- 0.000755 SelectionSentry
20:24:25:470 -- -- -- 0.000620 SelectionSentry
20:24:25:470 -- -- -- 0.000743 SelectionSentry
20:24:25:471 -- -- -- 0.000879 SelectionSentry
20:24:25:472 -- -- -- 0.000815 SelectionSentry
20:24:25:473 -- -- 0.000800 _UpdateDocTmplInfos
20:24:25:474 -- -- 0.000165 _UpdateTimeZoneInfos
20:24:27:537 -- 0.007600 NSBulkUpdateSystem::_HasJobResultStorageItems
This data might be able to tell us something.
/conrad