_NPCScan.Overlay

50 - Performance issue with minimap overlay

What steps will reproduce the problem?

  1. In _NPCScan Overlay options, ensure that Enable Minimap check box is selected.
  2. Use CPUThieves addon for catching performance issues. Type "/cpu enable" and "/reloadui" to start profiling.
  3. Player location is inside Garrison or in Shadowmoon Valley. I don't think it matters where.

What is the expected output? What do you see instead?

CPUThieves should not report anything. But it produces the following output:

[02:44:37] CPUThieves:    101 29.1s F:UnnamedFramex1cc5f2fd0
[02:44:37] CPUThieves:    102 29.2s F:UnnamedFramex1cc5f2fd0
[02:44:38] CPUThieves:    105 29.4s F:UnnamedFramex1cc5f2fd0
[02:44:38] CPUThieves:    103 29.7s F:UnnamedFramex1cc5f2fd0
[02:44:39] CPUThieves:    100 29.8s F:UnnamedFramex1cc5f2fd0
[02:44:39] CPUThieves:    101 29.9s F:UnnamedFramex1cc5f2fd0
[02:44:39] CPUThieves:    101 30.0s F:UnnamedFramex1cc5f2fd0
[02:44:40] CPUThieves:    102 30.1s F:UnnamedFramex1cc5f2fd0
[02:44:40] CPUThieves:    103 30.2s F:UnnamedFramex1cc5f2fd0
[02:44:41] CPUThieves:    103 30.5s F:UnnamedFramex1cc5f2fd0
[02:44:41] CPUThieves:    104 30.6s F:UnnamedFramex1cc5f2fd0
[02:44:41] CPUThieves:    103 30.7s F:UnnamedFramex1cc5f2fd0
[02:44:42] CPUThieves:    103 30.8s F:UnnamedFramex1cc5f2fd0
[02:44:42] CPUThieves:    102 30.9s F:UnnamedFramex1cc5f2fd0
[02:44:42] CPUThieves:    103 31.0s F:UnnamedFramex1cc5f2fd0
[02:44:43] CPUThieves:    101 31.1s F:UnnamedFramex1cc5f2fd0
[02:44:43] CPUThieves:    102 31.2s F:UnnamedFramex1cc5f2fd0

Using the CPUThieves' identify command shows the culprit:

[02:44:43] /cpu identify UnnamedFramex1cc5f2fd0
[02:44:43] CPUThieves: Trying to find variables pointing at table: 0x1cc5f2fd0
[02:44:44] CPUThieves:   ["_NPCScanOverlayModuleMinimap"]["Module"] = table: 0x1cc5f2fd0
[02:44:44] CPUThieves: Trying to find variables pointing at frame's OnEvent, OnUpdate, etc
[02:44:45] CPUThieves:   OnEvent: ["_NPCScan"]["Overlay"]["Modules"]["OnEvent"] = function: 0x2050a5ff0
[02:44:46] CPUThieves:   OnShow: ["_NPCScanOverlayModuleMinimap"]["Module"]["Config"]["Module"]["OnShow"] = function: 0x1c2dfc8f0
[02:44:46] CPUThieves:   OnUpdate: ["_NPCScanOverlayModuleMinimap"]["Module"]["Config"]["Module"]["OnUpdate"] = function: 0x1d5ef9c70
[02:44:46] CPUThieves: Trying to issecurevariable() all members
[02:44:46] CPUThieves:   27 x "_NPCScan.Overlay"

Opening the World Map window stops the output. This is unexpected since NPCScan continues to draw the overlays on the Minimap. So it seems that drawing the overlays on the Minimap is not the problem or perhaps the execution time drops below CPUThieves' triggering threshold. In either case, it would be interesting to know why opening the World Map improves performance so that performance can be improved when the World Map is not opened.

Unchecking the Enable check box for Minimap in _NPCScan Overlay options also stops the output.

What version of the product are you using?

6.1.2.3. I have not tested with earlier versions so I can't say it's a new issue.

User When Change
Torhal May 31, 2015 at 04:01 UTC Changed status from New to Accepted
joevt May 05, 2015 at 22:29 UTC Create

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

  • 1 comment
  • Avatar of bkp57 bkp57 May 22, 2015 at 03:12 UTC - 0 likes

    I am having a very similar issue, if not the same. At first I thought it was my minimap addon (at the time, Chinchilla). If the minimap was showing I got a massive frame rate drop (like from 40-50 down to 10-15). If I hid the minimap the frame rate shot back up to normal range. I switched to SexyMap and had same issue. Same with default Blizz minimap.

    I disabled just about every addon I had except the basics (Dominos, Recount, Omen, and some others) and the problem went away. I added SexyMap back in, worked fine with no frame rate drops. The next ones I added back were NPCScan and NPCScan Overlay. Instant frame rate drops as I wrote above. If I disable the minimap overlay in the configuration, the frame rate returns to normal.

    This is very noticeable for me as I am running a triple monitor setup. I hope that this can be fixed soon. I will keep the overlay disabled until there is a solution.

    Thanks for a great addon!

    bkp57

  • 1 comment

Facts

Last updated
Jul 08, 2015
Reported
May 05, 2015
Status
Accepted - Problem reproduced / Need acknowledged.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees