Many factors can affect throughput of the workflows in SharePoint. Some of these factors are :

As shown below, you can view the analytic and debug logs for the workflow manager in the event viewer. This log helps in diagnosing if there is any errors and performance issues in your workflow during execution.

Event Viewer - Workflow Logs
Figure : Event Viewer, Workflow Logs

If you have access to the SharePoint 2013 database then there is another place where you can directly query for errors that have occurred during workflow execution: the table "DebugTraces" in Workflow Instance Management Database as shown below.

Workflow DebugTraces Table
Figure : Workflow DebugTraces Table

Task history List and Workflow History List

The most common mistake made by developers is to use the Task History List and Workflow History List as an audit log. These are SharePoint lists that have their own recommendations for scaling. The number of items in the folder or root of a list should be less than 2000. When you exceed this number, as shown in following figure, performance begins to suffer.

Task history List and Workflow History List usage
Figure : Task history List and Workflow History List usage

Some Key Points to Consider