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?
__________________