Author Topic: Beta 6 - Opening or closing a file takes ~ 5 seconds  (Read 2681 times)

astromme

  • Community Member
  • Posts: 89
  • Hero Points: 0
Beta 6 - Opening or closing a file takes ~ 5 seconds
« on: June 03, 2013, 09:39:21 pm »
When I gui-open (Alt+E) to create a new file or quit (Ctrl+-) to close a file, it can take around 5 seconds.  Process explorer shows vs.exe taking up 50.00 CPU (dual core).

What information can I provide?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4560
  • Hero Points: 353
Re: Beta 6 - Opening or closing a file takes ~ 5 seconds
« Reply #1 on: June 03, 2013, 09:46:59 pm »
This could be a tool window issue. The backup history tool window is often slow updating. I accidentally docked it once and wondered why things like you describe got really slow.

astromme

  • Community Member
  • Posts: 89
  • Hero Points: 0
Re: Beta 6 - Opening or closing a file takes ~ 5 seconds
« Reply #2 on: June 06, 2013, 04:34:49 pm »
Is this something I can change?

Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: Beta 6 - Opening or closing a file takes ~ 5 seconds
« Reply #3 on: June 06, 2013, 06:38:20 pm »
The information we'd need to narrow this down is...
1) Are the files on a remote share, or is it the local drive ?
2) What tool windows are currently open? Which ones are active? Anything floating?
3) Do you have a project/workspace open, and if so, how big is it?
4) Are there any background processes running? To find out, click on the small clock icon in the bottom right of the status bar. It'll pop a message if nothing is running or show you a listing if there are background jobs.

astromme

  • Community Member
  • Posts: 89
  • Hero Points: 0
Re: Beta 6 - Opening or closing a file takes ~ 5 seconds
« Reply #4 on: June 06, 2013, 07:15:10 pm »
1) Everything is local
2) Tool windows: Build, Defs, File Tabs, Output Projects, References, Search Results Symbols
3) Yes, 6 projects; 42, 70, 130, 91, 26, and 73 files.
4) "There are no active background processes."

When I close and open Slickedit, again with the ~ 5 second wait.  I have on the order of 200 files that show up with list-buffers.  Process explorer is showing a pretty steady 50% load all the time, as well as around 105K Private Bytes and 180K Virtual Size.

I tried closing and reopening each tool window in turn, but load didn't change.

Not sure if this makes a difference, but I tend to not store my workspace/project files in the same directory as my code:

/project/
/project/slickeditWorkspace/
/project/slickeditWorkspace/*.vpj
/project/slickeditWorkspace/*.vpw
/project/repo
/project/repo/<code here>

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2220
  • Hero Points: 118
Re: Beta 6 - Opening or closing a file takes ~ 5 seconds
« Reply #5 on: June 06, 2013, 07:26:09 pm »
Do you have the backup history tool window docked?

Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: Beta 6 - Opening or closing a file takes ~ 5 seconds
« Reply #6 on: June 06, 2013, 07:34:52 pm »
Looks like this is the File Tabs tool window. Without it, and using the newer style document tabs, I was getting really snappy performance with about 220 files open.
- Took about 12 seconds when reloading the workspace, and re-opening those 220+ files. Subsequent opens were all 1 second. "Close All" took about 6 seconds to close all documents.
- When the File Tabs tool window was open, I was seeing what you're seeing, about 10-15 seconds to open one file and become responsive. "Close All" took about 20 seconds.
« Last Edit: June 06, 2013, 07:37:12 pm by Matthew »

astromme

  • Community Member
  • Posts: 89
  • Hero Points: 0
Re: Beta 6 - Opening or closing a file takes ~ 5 seconds
« Reply #7 on: June 06, 2013, 07:38:46 pm »
<To Dan> When I right click on a tool window and look if Backup History is checked in Tool Windows->  it has no check-mark beside it.  If I enable it, it's not docked.

Huh, now I look at my system load after enabling and disabling that Backup History a few times, the load is down.

<To Matthew> I'll assume system load is down because I closed the File Tabs window a while ago.

Thanks guys!

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2220
  • Hero Points: 118
Re: Beta 6 - Opening or closing a file takes ~ 5 seconds
« Reply #8 on: June 06, 2013, 07:46:46 pm »
Huh, now I look at my system load after enabling and disabling that Backup History a few times, the load is down.

I fixed an issue that increased the load times in the Backup History tool window.  It will be in the next beta.