Re: amxmodx profiler
from the data gathered, how do i tell if particular plugins causing lagness etc on my server?
|
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.
|
Re: amxmodx profiler
Bow to the almighty sawce.
|
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? |
Re: amxmodx profiler
it might be related to the absolutely retarded thing csx does with csstats.amxx, I'll look into it sometime soon
|
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.
|
Re: amxmodx profiler
Someone who isn't lazy? Huh? I'm lazy, so I guess I shouldn't reply.
|
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. |
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. |
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.