Closed flyxiv closed 1 month ago
Instead of getting the whole AttackSkill/BuffStatus/DebuffStatus, we get only the needed items, reducing clone size to 1/3
as-is: 46sec
to-be: 35sec
Now we need to optimize damage calculation
after nin optimize 26s ( 30% improvement)
now 20s
cache skill_cooldown == 0 and skill_delay_milliseconds == default cases
More optimization can be done. Cloning and making result graph takes too long.
1) We can copy only the needed info: skill and debuff's stacks and cooldown for simulating to minimize cloning size 2) We can precalculate damage statistics as we make the damage log