Based on what you have said, it sounds as though something is wrong. The only recommendation I would add for your setup is to get an SSD. But it should work acceptably on your system as it stands. I run SharePoint Foundation on a much lower spec. laptop, although admittedly I am using local accounts rather than running AD.
Don't forget that a 10-20 second wait for a page is perfectly normal the first time your web app wakes up if it hasn't been used for a while. That's not a caching issue, it's just the process starting up. After that your pages should load normally.
Are you sure it is the logging step that is taking the time?