Ideas for calculating World of Warcraft DPS
<p>I'm looking for an effective way to calculate World of Warcraft DPS. I hope some of you play WoW and can help me. </p>

<p>What I've got already:
- Armory Import
- Methods to calculate stats like strength etc.
- Checking for glyphs, specc and so on.
- Formulas and functions for spells.</p>

<p>My idea was to do a real time calculation this way: Checking, in order of priority, 5min if the accurate spells are ready and then executing them by adding the damage to a variable. Instead of using 300 seconds e. g. I decided to use 3 seconds and broke down the cooldowns of the spells. I also added a class for every spell, where the cooldown of the spells is resetted after the accurate time. </p>

<p>However, I'm not really happy with this solution. In this case a calculation still needs 3 seconds to run but one calculation can never be accurate. So I need to run at least 100 calculations to be fine and that's a lot of time.</p>

<p>So, I'm asking for good ideas to calculate the DPS. Hope, some guys can help me. It it is helpful in any way, I'm using java for this.</p>

<p>Greetings </p>
