Author Topic: B6: Backup History Browser: Typing in the FileSpecs filter can be *really* slow.  (Read 1243 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1492
  • Hero Points: 123
  • Text
It is sometimes being really slow.
Just now, it appeared to be locked up for at least 30 seconds.
When I broke (ctrl+alt+f2) I get this error:

---------------------------
Slick-C Error
---------------------------
ߓ


file=bhrepobrowser.ex offset=3201
---------------------------
OK   
---------------------------

 
 Break key pressed.  Macro halted bhrepobrowser.ex 3201 bhrepobrowser:filterTree(F)   p_window_id: 641   p_object: OI_TREE_VIEW   p_name: ctltree1 bhrepobrowser.ex 3003 bhrepobrowser:filespecTimerCallback(861 F)   p_window_id: 5   p_object: OI_FORM   p_name: 

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2049
  • Hero Points: 98
It looks like it was still filtering.

jporkkahtc

  • Senior Community Member
  • Posts: 1492
  • Hero Points: 123
  • Text
I closed slick, opened it again.


Now, in Backup History when I type in "filespecs", it responds nearly instantaneously.
When I broke it before, it had been hung for more than 30 seconds.
HM.... I don't know what exactly the repro is, but if I play with the browser window a bunch, then typing in filespecs becomes incredibly slow.




No matter what I type in Filespecs, *everything* is filtered out (except the day headers).


Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2049
  • Hero Points: 98
What if you type a '*'?

jporkkahtc

  • Senior Community Member
  • Posts: 1492
  • Hero Points: 123
  • Text
I captured a profile of a time where the browser took a very long time to respond. Attached.


Also, when I saved the profile, I got a stack.



 Invalid argument
bhrepobrowser.ex 7101 _cbsave_BackupHistoryBrowser()   p_window_id: 131   p_object: OI_TREE_VIEW   p_name: ctltree1
files.ex 10469 call_list(_cbsave_)   p_window_id: 162   p_object: OI_EDITOR   p_name:
saveload.ex 85 save_file(C:\Users\joe\Documents\Slickedit\19.0.0\logs\profile.tsv,-O +DD -Z -ZR -E -S -E)   p_window_id: 162   p_object: OI_EDITOR   p_name:
files.ex 6552 save(-E,8)   p_window_id: 119   p_object: OI_EDITOR   p_name:
slickc.ex 25220 profile(save)   p_window_id: 119   p_object: OI_EDITOR   p_name:

jporkkahtc

  • Senior Community Member
  • Posts: 1492
  • Hero Points: 123
  • Text

Oops, that last post was from a B5 install on another machine.

Here is another profile file - this time from B6.
Slick locked up for about 55seconds after I typed "as" (as in, asdfg...).


Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2049
  • Hero Points: 98
Does it always happen after you expand older items?

jporkkahtc

  • Senior Community Member
  • Posts: 1492
  • Hero Points: 123
  • Text
Seems to be related.


While "Other" is open, it is surely slower, but not always glacial.


Expand Other
Scroll to the bottom.
[size=78%]Type "*.c"[/size]
Scroll to the bottom.
Select the last item.
Slick takes maybe 1 second to process - each time you click a different item.
Clear the Filespec
Do it again....


Then, sometimes, it starts getting glacial - in the 30sec to 1 minute time to respond.
My VsDelta directory has just under 2500 files, 1530 directories, and 24,456 versions.











Type a filespec.