Thread Tools Display Modes
04/26/18, 03:51 PM   #1
Solinur
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 78
[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)

Last edited by Solinur : 05/09/18 at 02:49 PM.
 
04/27/18, 03:26 PM   #2
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
It was actually N! performance. We're working on a fix.
 
04/28/18, 11:53 AM   #3
Solinur
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 78
Originally Posted by ZOS_ChipHilseberg View Post
It was actually N! performance. We're working on a fix.
Thanks, looking forward to it
 
05/09/18, 02:48 PM   #4
Solinur
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 78
This has been ficed on newest PTS. Can be closed.
 

ESOUI » Developer Discussions » Bug Reports » [fixed] GetPlayerStat runs for >25ms at certain conditions.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off