Raised This Month: $32 Target: $400
 8% 

Benchmarking plugin performance?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 04-30-2010 , 00:48   Benchmarking plugin performance?
Reply With Quote #1

I've just started working on a preexisting fairly large plugin for SourceMod, and after looking at a lot of the code, I've started wondering about incurred performance hits on the server.

The code itself has plenty of room for optimization--complex loops get run on a variety of game events. However, I was hoping I could quantify the performance hits incurred by the code to judge their significance.

Are there any tools available for benchmarking our server performance?

I don't really know a lot about how sourcemod and srcds actually work together, but if sourcemod can actually affect the amount of time it tacks to calculate a "tick," I would like to know about it. It would be nice to know if any of my server's ticks are delayed or missed.
ProdigySim is offline
rcarm
Member
Join Date: Feb 2010
Old 04-30-2010 , 01:29   Re: Benchmarking plugin performance?
Reply With Quote #2

Use the SourceMod Profiler.

http://wiki.alliedmods.net/SourceMod_Profiler
rcarm is offline
javalia
Senior Member
Join Date: May 2009
Location: korea, republic of
Old 04-30-2010 , 02:42   Re: Benchmarking plugin performance?
Reply With Quote #3

i wanna know what is that huge plugin`s name..
javalia is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 04-30-2010 , 13:18   Re: Benchmarking plugin performance?
Reply With Quote #4

Quote:
Originally Posted by rcarm View Post
Thanks for the link. This seems pretty cool, and could help us identify our slower code, but it's missing some information I want.

The server is going to try to calculate a certain number of game frames or ticks per second. I'd like to be able to identify any dips in this rate. Is there any way to do this?
ProdigySim is offline
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 01:34.


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