How do I diagnose unusually slow behavior and delays?

Moderator: faq-editor

Post Reply
User avatar
martin
Official Nisus Person
Posts: 4488
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

How do I diagnose unusually slow behavior and delays?

Post by martin » 2015-08-31 15:04:28

It's unfortunate when software hangs or crashes, but luckily log files make diagnosing such problems relatively straightforward. A problem that's more difficult to diagnose is when an app is unusually slow and sluggish, or the "spinning beach ball" cursor intermittently appears.
beachball.png
The Mac "spinning beach ball" cursor icon.
beachball.png (7.08 KiB) Viewed 5216 times
In these situations a true crash or hang never occurs, and a log file is not generated, making diagnosis difficult.

The good news is that macOS provides a tool that can record the activity of such a busy application, providing a look at what the app is doing (or waiting for). This kind of log is called an Activity Monitor "sample".



How do I capture an Activity Monitor sample?
In order to capture a useful sample, proper timing is essential. The most important thing is that the sample is collected at exactly the time Nisus Writer is unexpectedly slow or busy. Please read all instructions below before you try to follow them.

1. Launch Apple's Activity Monitor application, located in the folder Applications/Utilities.
2. In Activity Monitor's listing of all running applications, select just Nisus Writer. It may help to use the search field to narrow the listing:
applist.png
applist.png (162.51 KiB) Viewed 656 times
3. Switch to Nisus Writer and do whatever actions trigger the unwanted slowness or delays.
4. Quickly switch back to the Activity Monitor and click the toolbar button with a gear icon; from the popup menu choose the "Sample Process" command:
sample.png
sample.png (20.42 KiB) Viewed 5216 times
5. Wait for the sample collection to be completed and save it as a log file.

NOTE: step 4 must be accomplished immediately after step 3. If it takes too long to switch apps and capture the sample, Nisus Writer will no longer be busy, and the sample will show nothing.

Once you've collected a useful sample, please submit it to us using the menu Help > Send Feedback and hopefully we can help identify the cause of the delays.

Post Reply