Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
MNGrizzly
Novice


Joined: 18 Dec 2006
Posts: 47

PostPosted: Sun Jan 20, 2008 7:11 am   

[2.18] Performance Hit
 
I have an alias I've used for a long time to keep my vials organized in Achaea. This used to execute very quickly, and the mud output was so fast it wasn't able to be read... which was fine. The quicker the better, it's not the sort of thing you need to read output from.

Since the switch to 2.18, I've noticed this is running far, far slower. What used to take roughly 3 seconds (at least as recent as CMUD 1.34, and I've used this exact alias since pre-CMUD) is now somewhere around 15.

In the following, store and getpack are simple aliases -
store - "put %1 in @pack"
getpack - "get %1 from @pack"

@pack - The Achaea item number assigned to the container I'm currently using.

Here's the body of the alias:

#10 store aconite
#10 getpack aconite
#6 store colocasia
#6 getpack colocasia
#6 getpack aconite
#10 store curare
#10 getpack curare
#10 store darkshade
#10 getpack darkshade
#10 store delphinium
#10 getpack delphinium
#10 store digitalis
#10 getpack digitalis
#6 store epseth
#6 getpack epseth
#6 store epteth
#6 getpack epteth
#6 store euphorbia
#6 getpack euphorbia
#10 store eurypteria
#10 getpack eurypteria
#6 store gecko
#6 getpack gecko
#10 store kalmia
#10 getpack kalmia
#6 store larkspur
#6 getpack larkspur
#6 store loki
#6 getpack loki
#6 store monkshood
#6 getpack monkshood
#6 store oculus
#6 getpack oculus
#10 store prefarar
#10 getpack prefarar
#10 store selarnia
#10 getpack selarnia
#8 store slike
#8 getpack slike
#6 store vernalius
#6 getpack vernalius
#6 store voyria
#6 getpack voyria
#6 store xentio
#6 getpack xentio
#3 store caloric
#3 getpack caloric
#3 store epidermal
#3 getpack epidermal
#4 store mass
#4 getpack mass
#5 store mending
#5 getpack mending
#3 store restoration
#3 getpack restoration
#3 store frost
#3 getpack frost
#3 store immunity
#3 getpack immunity
#3 store levitation
#3 getpack levitation
#3 store speed
#3 getpack speed
#3 store venom
#3 getpack venom
#5 store mana
#5 getpack mana
#25 store health
#25 getpack health
#30 store empty
#30 getpack empty
Reply with quote
MNGrizzly
Novice


Joined: 18 Dec 2006
Posts: 47

PostPosted: Sun Jan 20, 2008 7:18 am   
 
Just as a preemptive strike...

Yes, I have run this many, many times and have ruled out latency as a cause, as well as machine performance, as both machines I've used this on used to perform well, and are now both suffering from this.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Jan 20, 2008 6:32 pm   
 
One thing you can try is using name alias parameters for local variables. It might help.

Another possibility is you could combine the get and store calls separately.
_________________
Asati di tempari!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net