Try generating developer level https://docs.moodle.org/28/en/Debugging output.
Also, go through the documentation in the Hardware and performance forum https://moodle.org/mod/forum/view.php?id=596. "Add a new discussion topic" https://moodle.org/mod/forum/post.php?forum=94 for complete information.
Hardware and performance
Terrible Performance Using Upload Course Tool + Restore From Template Course
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.