Due ot a bug report on Combat Metrics I noticed the following issue (on PTS only)
When 7 modifiers to the Weapon Critical Strike Rating are active the function
Lua Code:
GetPlayerStat(STAT_CRITICAL_STRIKE, STAT_BONUS_OPTION_APPLY_BONUS)
needs more than 25 ms to execute, which already causes a slight stutter. I tested this a bit and found an exponential dependancy on the amount of modifiers active.
# | ~ time in ms
----------------
0 | 0.00024
1 | 0.0019
2 | 0.0072
3 | 0.027
4 | 0.12
5 | 0.50
6 | 3.7
7 | 25
Just for reference the modifiers I used are:
- Minor Savagery
- Major Savagery
- Perfect Strike (CP)
- Twin Blade and Blunt (Dual Wield)
- Dexterity (Medium Armor)
- Pressure Points (NB Assassination)
- Carnage (Khajit)