Author Topic: Long pauses  (Read 1828 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • 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

  • Senior Community Member
  • Posts: 3955
  • Hero Points: 515
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: 2620
  • Hero Points: 210
  • 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

  • Senior Community Member
  • Posts: 3955
  • Hero Points: 515
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.