Author Topic: Long pauses  (Read 423 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1861
  • Hero Points: 179
  • Text
Long pauses
« on: October 03, 2018, 07:53:47 pm »
I have a large workspace, mostly java code.

Sometimes I get long pauses where Slick is unresponsive - upto maybe 30 seconds.

It seems like it is usually when I switch to slick, but I think it also sometimes happens when I switch buffers, or even just click someplace in a buffer.

What can I do to track down what slick might be doing?
I don't have a solid repo, it just happens sometimes.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2831
  • Hero Points: 429
Re: Long pauses
« Reply #1 on: October 04, 2018, 02:02:41 pm »
Slick-C profiling is a good first step if you can capture a sequence where it happens where the majority of time is spent in the pause.  Macro > Slick-C Profiling > Start Profiling...

jporkkahtc

  • Senior Community Member
  • Posts: 1861
  • Hero Points: 179
  • Text
Re: Long pauses
« Reply #2 on: October 04, 2018, 02:16:04 pm »
What happens if I leaving profiling on for hours at a time?

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2831
  • Hero Points: 429
Re: Long pauses
« Reply #3 on: October 04, 2018, 02:29:41 pm »
It collects a lot of data, just like any other profiler.  It won't effect performance too badly, I've left it on and forgot about it before.  The real problem is that it muddies the waters.  If you finally get that 30-second pause, it will be mixed in with hours of accumulated profiling data, so finding the function where it got stuck will be more of a needle in a haystack.