Raised This Month: $ Target: $400
 0% 

Plugin Optimization Help KeyValues


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Xaphan
SourceMod Donor
Join Date: Jun 2008
Old 04-24-2010 , 21:25   Plugin Optimization Help KeyValues
Reply With Quote #1

After doing a little research on plugin optimization,
I came upon "Avoid Large KeyValues".

Our user preferences uses KeyValues,
Each user has 9 preferences that they may change during game play.

After checking the preference file we have 6385 unique steamId's, again with 9 preferences each. These are pruned every 30days.
This file size is 1.66 MB.

We use about 750MB of RAM and about 13% CPU Usage over a 24 hour period across 4 active 100tick servers. So the large file doesn't seem to effect us.

So my question is:
Switching the KeyValues over to SQLite or MySQL,
Would it make any difference?
Is there anyway to benchmark a plugin with sourcemod?
__________________
Xaphan is offline
 



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 07:09.


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