SlickEdit Community

Archived Read Only Forums => SlickEdit 2018 v23 Beta Discussion => Topic started by: jporkkahtc on October 03, 2018, 07:53:47 pm

Title: Long pauses
Post by: jporkkahtc 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.
Title: Re: Long pauses
Post by: Dennis 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...
Title: Re: Long pauses
Post by: jporkkahtc on October 04, 2018, 02:16:04 pm
What happens if I leaving profiling on for hours at a time?
Title: Re: Long pauses
Post by: Dennis 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.