Raised This Month: $68 Target: $400
 17% 

amxmodx profiler


Post New Thread Reply   
 
Thread Tools Display Modes
spiderbites
Senior Member
Join Date: Nov 2007
Old 03-25-2008 , 05:07   Re: amxmodx profiler
Reply With Quote #11

from the data gathered, how do i tell if particular plugins causing lagness etc on my server?
spiderbites is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 03-25-2008 , 21:34   Re: amxmodx profiler
Reply With Quote #12

Really this is only meant for plugin developers finding bottlenecks, however if you must, then you could try to add up all the time, and whichever plugin takes the longest to execute would likely be it. However, take these values with a grain of salt; of course something like admincmd would take very little CPU compared to a plugin like gungame.
__________________
fyren sucks
sawce is offline
GrimReaperCdn
Member
Join Date: Jul 2007
Location: Steamboat, Colorado
Old 03-27-2008 , 21:35   Re: amxmodx profiler
Reply With Quote #13

Bow to the almighty sawce.
__________________
HARRR!
GrimReaperCdn is offline
Send a message via AIM to GrimReaperCdn Send a message via MSN to GrimReaperCdn
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 04-14-2008 , 15:07   Re: amxmodx profiler
Reply With Quote #14

Is there a 1.8.1.3679 build of this?

Note: I'm not entirely sure but this seems to crash when csx loads, can anyone else verify this?

Last edited by vittu; 04-14-2008 at 15:24.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 04-14-2008 , 18:02   Re: amxmodx profiler
Reply With Quote #15

it might be related to the absolutely retarded thing csx does with csstats.amxx, I'll look into it sometime soon
__________________
fyren sucks
sawce is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 06-04-2008 , 07:56   Re: amxmodx profiler
Reply With Quote #16

I'd appreciate it if someone who isn't lazy would make a comparison of get_players() and looping over each slot, but I'll understand if I get ignored.

Last edited by Lee; 06-04-2008 at 08:13.
Lee is offline
BAILOPAN
Join Date: Jan 2004
Old 06-04-2008 , 22:06   Re: amxmodx profiler
Reply With Quote #17

Someone who isn't lazy? Huh? I'm lazy, so I guess I shouldn't reply.
__________________
egg
BAILOPAN is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 06-05-2008 , 02:18   Re: amxmodx profiler
Reply With Quote #18

It would depend on what checks are done. I'm fairly certain get_players would technically be faster, but the difference should be negligible so it should come down to preference. I still would use the separate checks because I hate get_player's syntax.

Also, I'm too lazy to actually check, be glad you got theory out of me.
__________________
fyren sucks
sawce is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 06-05-2008 , 05:27   Re: amxmodx profiler
Reply With Quote #19

sawce: http://forums.alliedmods.net/showthread.php?t=57560

I'm lazy, not stupid or forgetful. Thanks anyway. I'm with you, I'm never going to use get_players() regardless of the results. This post sparked my curiosity. What's your take on get_players() vs. incrementing a variable? (rhetorical question)

BAILOPAN, I can say with complete certainty that you're not lazy. All you have to do is look at what you've accomplished, both with this project and (from what very little I know about it) at school. If you're asking why I requested the help of someone who isn't lazy; I recognise that I should do it myself, but I can't be bothered.

I did search Google for existing benchmarks of get_players(), but it only found two benchmarks on the entire site - and not this one.

Of course, I've now spent more time making this post (23 minutes) than it would have taken to install the new binary and write the benchmark script.

Last edited by Lee; 06-05-2008 at 06:12.
Lee is offline
Old 07-07-2008, 20:43
ying3
This message has been deleted by Xanimos. Reason: Spam
Drak
Veteran Member
Join Date: Jul 2005
Old 08-16-2008 , 21:22   Re: amxmodx profiler
Reply With Quote #20

I can't seem to narrow this down, but it seems ether when the TS Module is enabled, or the ArrayX is enabled. The server crashes upon start up.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Reply


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

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

Forum Jump


All times are GMT -4. The time now is 13:27.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode