Stressing the server at its maximum!
#1

Hello, is there a plugin or a script that would allow me to simulate high server load - stressing it to see what/how much players/how many command can my server take?
Reply
#2

Try putting loops in your pawn code itself to check.For example, you connect yourself, and keep some big loops and large code on OnPlayerUpdate and GetTickCounts at the start and the end and check the speed or so.

Or put a loop executing the same number of command some 10 times and check the speed, you can get how long it would take to process 10 commands when executed at the same time.
Reply
#3

Quote:
Originally Posted by Yashas
Посмотреть сообщение
Try putting loops in your pawn code itself to check.For example, you connect yourself, and keep some big loops and large code on OnPlayerUpdate and GetTickCounts at the start and the end and check the speed or so.

Or put a loop executing the same number of command some 10 times and check the speed, you can get how long it would take to process 10 commands when executed at the same time.
Alright, thanks. Ill try that.
Reply
#4

Use NPCs or
pawn Код:
new a = GetTickCount();

// Replace "/mycommand" with another command you want to test
while(GetTickCount() < a+120000) CallRemoteFunction("OnPlayerCommandText", "ds", 0, "/mycommand");
// After 2 minutes...
This one is only for commands!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)