Have you altered the cache settings for mysql? XAMPP comes with very restriced settings and will be slow unless you alter them. Check the performance docs to find them.
Hardware and performance
Performance Problem in Moodle 1.9
This discussion has been locked so you can no longer reply to it.