Death Note

2 - Small stutter in frame rate every 5s when addon is running

What steps will reproduce the problem?
1. Enable addon.
2. Find a quiet place away from other people to minimise othe issues
3. Watch for small, regular stutters in the frame rate. Easiest to see when hovering on a flying mount as there will be a slight, visible pause in the motion of the wings. It's also easy to pick up when moving in a straight line as the pause in forward progress is again very noticable.

What version of the product are you using?
v1.0-beta2

Do you have an error log of what happened?
N/A

Please provide any additional information below.
Taking a quick look at the code for anything on a 5s timer I found the following

    self:ScheduleRepeatingTimer("UpdateLDB", 5)

Looking in the UpdateLDB function I noticed this call

    UpdateAddOnMemoryUsage()

If I comment this out the stutters go away.

You might want to consider whether individually polling for the memory usage every 5s is the right thing to do, and only do this at specific times or giving players the ability is disable this function which would be my preference.

Personally I find that although the stutters are nowhere near bad enough to affect gameplay they are very noticable and distracting, and to honest I really don't care how much memory the addon is using.

User When Change
slaren Jan 23, 2011 at 11:45 UTC Changed status from Accepted to Fixed
slaren Jan 22, 2011 at 20:44 UTC Changed status from New to Accepted
graywolfe Jan 22, 2011 at 20:31 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of slaren slaren Jan 22, 2011 at 20:49 UTC - 0 likes

    Yeah I agree this is not very useful information to have in the LDB display, and if it can cause performance problems it is definitely not worth it.

    It will be removed in the next version, thanks for the detailed report.

  • 1 comment

Facts

Last updated
Jan 23, 2011
Reported
Jan 22, 2011
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees