View Single Post
11-28-16, 06:50 AM   #3
Infus
A Deviate Faerie Dragon
Join Date: Jul 2016
Posts: 13
Sure there's more going on. But 600k calls to WriteFile will take the majority of that time. That's 60k calls per second, or 60 calls per ms. I'm pretty sure from my experience as a software developer, that those calls do take the majority of those 9s.

As to the data loss, we get frequent reports that users loose their existing settings. As in, they didn't even modify any settings in the session, but wow crashed and on next startup their setting were lost. The best explanation that I have for that, is a crash while saving the settings. Though, you are correct that if the saving happens on the main thread (which looks like it), that shouldn't be possible.