Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 05/31/07, 3:17 PM   #1
funkydude
Piston Honda
 
funkydude's Avatar
 
none
Human Warrior
 
No WoW Account (EU)
2.1 - Macros Directly affecting fps?

so its been a while since 2.1 and several of my guildies have been complaining about low fps, my fps being low as usual, i didn't really notice, until a guildie of mine, Copper, decided to investigate why.

Standing on the same spot, in the same place, with 0 addons, using different characters, he got different fps?

http://img369.imageshack.us/img369/1322/twinklela9.jpg high fps
http://img471.imageshack.us/img471/5740/copperlm2.jpg low fps

i couldn't explain it, i explained to him about renaming wtf to wtf.backup and whatnot for testing, and wtf hes fps goes up? so he does some investigating and finds out that it seems to be directly related to the amount of macros he is using.

http://img181.imageshack.us/img181/4201/fpswtfbb7.jpg

so i went through my macros doing a spring cleanup, i kept the vital ones and removed the silly ones and had the same fps increase, although it still sucks in SSC(minor 5fps increase), anyone else tried this?

Last edited by funkydude : 05/31/07 at 3:33 PM. Reason: oops

Offline
Reply With Quote
Old 05/31/07, 3:21 PM   #2
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
I can't even begin to fathom how a stored macro could effect the number of frames your video card can draw.

United States Offline
Reply With Quote
Old 05/31/07, 3:24 PM   #3
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
Shouldn't matter, macros are basically really small addons even with the changes to add all of the new /castsequence and such they aren't doing anything that should be resource intensive.

Has he tried going to somewhere more deserted to make sure?

United States Online
Reply With Quote
Old 05/31/07, 3:29 PM   #4
Kalman
Super Macho Man
 
Kalman's Avatar
 
<>
Orc Shaman
 
No WoW Account
Different characters have different addon loading, *even if they have the same addons*, since per-character saved variables can be significantly different.

It really shouldn't have anything to do with macros.

Melador> Incidentally, these last few pages are why people hate lawyers.
Viator> I really don't want to go all Kalman here.
Bury> Just imagine what the world would be like if you used your powers for good.

Clearly law school has done wonders for me.

United States Offline
Reply With Quote
Old 05/31/07, 3:37 PM   #5
funkydude
Piston Honda
 
funkydude's Avatar
 
none
Human Warrior
 
No WoW Account (EU)
neither had any addons loading, but the evidence is there

Author of BadBoy, BigWigs, and more...

Offline
Reply With Quote
Old 05/31/07, 3:37 PM   #6
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Originally Posted by Shadowed View Post
Shouldn't matter, macros are basically really small addons even with the changes to add all of the new /castsequence and such they aren't doing anything that should be resource intensive.
They shouldn't be doing anything at all, a macro should only be taking up storage space until it's actually called to execute at a keypress.

United States Offline
Reply With Quote
Old 05/31/07, 3:49 PM   #7
 Shalas
Bald Bull
 
Shalas's Avatar
 
Tauren Druid
 
Mal'Ganis
The only way that I can possibly think of for unused macros to cause performance problems is if they have large amounts of complex conditionals and those are being calculated OnUpdate even if they aren't on any buttons. If that's the case, then it's probably a bug you should report to Slouken.

Offline
Reply With Quote
Old 05/31/07, 3:52 PM   #8
Vektor
Von Kaiser
 
Vektor's Avatar
 
Gnome Mage
 
Mannoroth
If the macros test conditions in an "OnUpdate" type handler, and do it inefficiently, then this is believable.

For example, I can see maybe someone asleep at the wheel updating the macro icons once per actionbutton per frame instead of once per frame or something like that.

Do a lot of your macros use #showtooltip?
Perhaps we're doing something silly like pulling up tooltip information every update.

Do your macros use static icons, or dynamic icons (ie. the big red "?") - this may be related.

*shrug*

Offline
Reply With Quote
Old 05/31/07, 4:00 PM   #9
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
Originally Posted by Malan View Post
They shouldn't be doing anything at all, a macro should only be taking up storage space until it's actually called to execute at a keypress.
Not exactly true, basic macros that send a chat message don't do anything, but things like macros with modifiers or /castsequence still have to register events so the icons will change, or so it knows when to reset the sequence. The only macro that uses OnUpdate is /castsequence for knowing when to reset the sequence, everything else uses events that fire when you hold a modifier key down, change stances and so on.

United States Online
Reply With Quote
Old 05/31/07, 4:59 PM   #10
Cel
Great Tiger
 
Cel's Avatar
 
Night Elf Rogue
 
Ysera
What about processes running in the background, not WoW related? Could he have coincidentally had a AntiVirus scan spring up, or something that would eat CPU resources?

"There is much pleasure to be gained from useless knowledge." - Bertrand Russell

Alpha is recruiting... go go.

Offline
Reply With Quote
Old 05/31/07, 5:25 PM   #11
funkydude
Piston Honda
 
funkydude's Avatar
 
none
Human Warrior
 
No WoW Account (EU)
Originally Posted by Cel View Post
What about processes running in the background, not WoW related? Could he have coincidentally had a AntiVirus scan spring up, or something that would eat CPU resources?
he has had the fps issue ever since 2.1, and yet it was always fine on the mage(has no macros), i doubt every day he played it was a coincidence, also as i stated i tried it, and it worked for me also, and i had nothing running in the background.

Author of BadBoy, BigWigs, and more...

Offline
Reply With Quote
Old 05/31/07, 5:26 PM   #12
Ignayshus
Piston Honda
 
Human Priest
 
Bleeding Hollow
Instead of wiping out all your macros, try removing any instances of:

#show
#showtooltip
/castsequence [timed reset]

And see if that affects performance. I would, but I'm supposedly working right now.

I added the reset time on castsequence, bc for each cast it starts an independent timer.

Last edited by Ignayshus : 05/31/07 at 5:29 PM. Reason: added /castsequence [timed reset]

The last digit of Pi is delicious.

Offline
Reply With Quote
Old 05/31/07, 5:27 PM   #13
funkydude
Piston Honda
 
funkydude's Avatar
 
none
Human Warrior
 
No WoW Account (EU)
Originally Posted by Ignayshus View Post
Instead of wiping out all your macros, try removing any instances of:

#show
#showtooltip

And see if that affects performance. I would, but I'm supposedly working right now.
there is no instances of either of those

Offline
Reply With Quote
Old 05/31/07, 5:28 PM   #14
arkael
Glass Joe
 
Troll Priest
 
Elune
I've been experiencing terrible lag after 2.1 as well, coincidentally there's a post on the blizzard tech support forums about low end ATI cards experiencing problems in 2.1. I used to run 20-40 fps in raids, now I dip into single digits in the same places.

Back on topic...I don't use any macros, just the normal addons everyone has (xperl, swstats, ktm, etc) but who knows. I'm 90% sure it has something to do with the new art in 2.1, because most of the new areas added in 2.1 cause more lag than people are used to getting judging by the people I've talked to.

Offline
Reply With Quote
Old 05/31/07, 5:31 PM   #15
Ghando
Bald Bull
 
Ghando's Avatar
 
Tauren Shaman
 
Mal'Ganis
I've been having the same problems in 2.1 and the Blizzard tech support forums have been astonishingly unhelpful. I'm basically just re-learning to raid with 4-6 FPS during boss encounters, since I don't expect a fix...well, ever. I'm accustomed to 15+ FPS during those same encounters, which isn't great but is at least playable.

Offline
Reply With Quote
Old 05/31/07, 5:38 PM   #16
Ignayshus
Piston Honda
 
Human Priest
 
Bleeding Hollow
Originally Posted by funkydude View Post
there is no instances of either of those
What about removing the [reset=x] from /castsequence?

I use a lot of macros (close to 30) on my main, none of which make use of /castsequence, and only a few use #show, but I've not noticed a loss in fps since 2.1

I also don't notice a large gain when I log on to my bank alts, who are mod/macro free.

Since you say you're not using show/showtooltip I bet it's the reset feature on /castsequence because it has to check if any external conditions satisfy the conditional reset.

The last digit of Pi is delicious.

Offline
Reply With Quote
Old 05/31/07, 7:01 PM   #17
zepi
Miekkamies
 
zepi's Avatar
 
Human Mage
 
Darksorrow (EU)
Originally Posted by Ghando View Post
I've been having the same problems in 2.1 and the Blizzard tech support forums have been astonishingly unhelpful. I'm basically just re-learning to raid with 4-6 FPS during boss encounters, since I don't expect a fix...well, ever. I'm accustomed to 15+ FPS during those same encounters, which isn't great but is at least playable.
I've encountered similar phenomena. Ati graphics card also. I used to be able to run 1920x1200 with antialiasing and stuff, recently I've started moving to 1400xsomething for raiding to keep my framerates at acceptable levels. I don't have serious problem outside of raids. Hydross for example if pure agony with 4-5 FPS and constant target changes / chaincasting and my performance is suffering greatly. :/

Offline
Reply With Quote
Old 05/31/07, 7:10 PM   #18
Schneeb
Don Flamenco
 
Night Elf Warrior
 
<SIN>
Neptulon (EU)
Sounds more like full screen / window mode slight fps difference to me

Offline
Reply With Quote
Old 05/31/07, 8:27 PM   #19
Lodi
Piston Honda
 
Night Elf Hunter
 
Draenor
same for me (lots of macros w/ potentially changing icons, sub 10fps in 25man, used to have 30 fps). been too lazy to figure out why, but disabling mods hasn't given me any clear help.

Offline
Reply With Quote
Old 05/31/07, 8:54 PM   #20
Obould
Von Kaiser
 
Orc Warrior
 
Burning Legion (EU)
Video Options -> Character Shadows (turn this off and report)

Offline
Reply With Quote
Old 06/01/07, 1:12 AM   #21
Merrack
Don Flamenco
 
Merrack's Avatar
 
Human Priest
 
Mal'Ganis
Just because I remembered reading about macro problems on the official forums... this might help. Slouken mentions adding a semicolon at the end of your macro as a temporary workaround.

United States Offline
Reply With Quote
Old 06/01/07, 1:16 AM   #22
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
Thats related to a taint issue not a performance issue, even removing the timeout shouldn't be causing issues because you'd notice a performance decrease running any other mod that uses an OnUpdate.

United States Online
Reply With Quote
Old 06/02/07, 10:35 AM   #23
 sp00n
banned
 
Night Elf Rogue
 
Wrathbringer (EU)
I did test this a bit further.
Loaded up my level 16 warlock alt and disabled all addons.
Additionally before I moved all macros of all characters to their seperate "per character" section, so that the macro list for my warlock was completely empty.

I went to an empty house in Ironforge, faced against a wall and zoomed all the way into it, so that I didn't see my character at all.
Additionally I left all chat channels.

Standing there, with no macros, my fps was:
min: 254
max: 309
avg: 290

Note that these values can't be 100% accurate, because I was simply staring at the FPS counter whilest doing nothing. (Is there an FPS addon that will store the values over a given timeframe?)

Then I created 5 macros, content being only "/p hi" and moved them to my cast bar.
This didn't change anything on the framerate.

Next test was 5x
#showtooltip
/cast xxx (without an ending semicolon)


Again, no change.


My next test was 5x
#showtootlip
/castsequence [combat] Corruption(Rank 1) [nocombat] Curse of Agony(Rank 1)

With the icon being the red question mark.
(doesn't matter if the macro is useful, I just wanted to test the expressions)

And now I noticed a significant drop in FPS.
It went to
min: 153
max: 227
avg: 220

That's about 70 FPS difference (again, these are only "soft" numbers).

So now I had reprocuced the behaviour which funkydude observed.
Now I wanted to see which part is responsible for this.
I added one/two semicolon to the macro - no change.
I removed the #showtooltip part - no change, or a very minor if at all.
I replaced the red question mark with a static icon - no change.

Then I replaced /castsequence with /cast and the FPS did increase by around 20:
min: 177
max: 250
avg: 240


The last test was to remove the [combat] and [nocombat] parts, so that I only had this macro left, with a static icon (5 times, all in the action bar):
/cast Corruption(Rank 1);

Doing so, my FPS went almost to the rate at which it was without having any macros at all.
min: 250
max: 303
avg: 290


So the conclusion is:
- /castsequence reduces the framerate.
- [combat] and [nocombat] reduces it even more.
- Macros per se do not reduce framerate.


// Edit
Maybe someone can forward these test results to Slouken, I can't, being an EU subscriber.

Last edited by sp00n : 06/02/07 at 11:02 AM.


Offline
Reply With Quote
Old 06/02/07, 1:22 PM   #24
dr_AllCOM3
Great Tiger
 
dr_AllCOM3's Avatar
 
Orc Death Knight
 
Blutkessel (EU)
No noticable change for me when reproducing this.

You must have one hell of a PC for getting such high FPS^^.

Offline
Reply With Quote
Old 06/02/07, 4:55 PM   #25
Harmonics
Bartlett Pears. Sliced. In Heavy Syrup.
 
Harmonics's Avatar
 
Night Elf Druid
 
Terenas
Hmm, incidentally I have had horrible fps problems since 2.1. I used to be at 60-70, and now rarely get above 20. Very annoying. However my problem doesn't appear to be macro or addon related.

You can't call a planet Bob!
.
You were missing the () at the end of Feral Charge (Bear), this is necessary otherwise WoW thinks you're trying to cast Feral Charge Rank Bear.

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
more macros Lodi User Interface and AddOns 6 06/17/07 9:37 AM
Macros WoW 2.0 flyinfungi Public Discussion 159 01/13/07 5:23 AM