AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   amxmodx profiler (https://forums.alliedmods.net/showthread.php?t=67752)

spiderbites 03-25-2008 05:07

Re: amxmodx profiler
 
from the data gathered, how do i tell if particular plugins causing lagness etc on my server?

sawce 03-25-2008 21:34

Re: amxmodx profiler
 
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.

GrimReaperCdn 03-27-2008 21:35

Re: amxmodx profiler
 
Bow to the almighty sawce.

vittu 04-14-2008 15:07

Re: amxmodx profiler
 
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?

sawce 04-14-2008 18:02

Re: amxmodx profiler
 
it might be related to the absolutely retarded thing csx does with csstats.amxx, I'll look into it sometime soon

Lee 06-04-2008 07:56

Re: amxmodx profiler
 
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.

BAILOPAN 06-04-2008 22:06

Re: amxmodx profiler
 
Someone who isn't lazy? Huh? I'm lazy, so I guess I shouldn't reply.

sawce 06-05-2008 02:18

Re: amxmodx profiler
 
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.

Lee 06-05-2008 05:27

Re: amxmodx profiler
 
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.

Drak 08-16-2008 21:22

Re: amxmodx profiler
 
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.


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

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.