ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Bug Reports (https://www.esoui.com/forums/forumdisplay.php?f=187)
-   -   [fixed] GetPlayerStat runs for >25ms at certain conditions. (https://www.esoui.com/forums/showthread.php?t=7747)

Solinur 04/26/18 03:51 PM

[fixed] GetPlayerStat runs for >25ms at certain conditions.
 
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:
  1. 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)

ZOS_ChipHilseberg 04/27/18 03:26 PM

It was actually N! performance. We're working on a fix.

Solinur 04/28/18 11:53 AM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 34546)
It was actually N! performance. We're working on a fix.

Thanks, looking forward to it :)

Solinur 05/09/18 02:48 PM

This has been ficed on newest PTS. Can be closed.


All times are GMT -6. The time now is 07:30 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI