Quantcast WoWInterface - View Single Post - Addon settings take excessive amount of time/syscalls
View Single Post
11-28-16, 10:30 AM   #6
A Pyroguard Emberseer
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,889
Originally Posted by Infus View Post
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.
The frequency a function is called has nothing to do with how much time it takes to perform the call. It's just common sense.

I've also had personal experience in writing quite a few serializers and know the steps they need to take in order to do their job. Believe me, it isn't a very easy task on the CPU.
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)