02.01.2009, 19:23
I've got the results, but it's not very fair for 2 reasons:
1) They we're both tested on default settings, and as bzuco's had higher settings, he was left in the dust.
2) bzuco's wasn't made as an INC, go generally mixing and matching leaves him in the dust as well.
_________________________________________________
Orgional test:
_________________________________________________
Straight compile:
pObjectStreams:
TruboStreamer:
SCORE NOT COUNTED.
_________________________________________________
AMX Size
(Differences based on previous test)
No objects
pObjectStreams:
AMX Size: 213kb
TruboStreamer:
AMX Size: 618kb
5 objects
pObjectStreams:
AMX Size: 213kb
TruboStreamer:
AMX Size: 618kb
1000 objects
pObjectStreams:
AMX Size: 248kb (30kb difference)
TruboStreamer:
AMX Size: 653kb (35kb difference)
PIXelS: +1
BZUCO: 0
_________________________________________________
Script Failures
UNABLE TO TEST
pObjectStreams:
Attaches objects to me for some reason.
TruboStreamer:
Unable to load any objects.
BOTH FAIL.
Tested with 1000 objects, both on default settings with CreateDynamicObject.
SCORE NOT COUNTED.
_________________________________________________
(Differences based on previous test)
Mem Usage
No objects
pObjectStreams:
Mem Usage: 10,112k
TruboStreamer:
Mem Usage: 11,724k
5 objects
pObjectStreams:
Mem Usage: 10,116k (3k difference)
TruboStreamer:
Mem Usage: 11,728k(4k difference)
1000 objects
pObjectStreams:
Mem Usage: 10,184k (68k difference)
TruboStreamer:
Mem Usage: 11,800k (72k difference)
PIXELS: +2
BZUCO: 0
Pixels wins the competition.
1) They we're both tested on default settings, and as bzuco's had higher settings, he was left in the dust.
2) bzuco's wasn't made as an INC, go generally mixing and matching leaves him in the dust as well.
_________________________________________________
Orgional test:
Quote:
For the same amount of objects: 1) AMX Size = lower +1. 2) Script timeouts = lower + 1. 3) CPU Usage = lower + 1. |
Straight compile:
pawn Код:
#include <a_samp>
main()
{
return 1;
}
public OnGameModeInit()
{
AddPlayerClass(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
pawn Код:
#include <pObjectStreams>
Quote:
C:\Documents and Settings\Owner\My Documents\Servers\Streamer Test\pawno\include\pObjectStreams.inc(160) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |
pawn Код:
#include <TruboStreamer>
Quote:
C:\Documents and Settings\Owner\My Documents\Servers\Streamer Test\pawno\include\TruboStreamer.inc(96) : warning 209: function "main" should return a value C:\DOCUME~1\Owner\MYDOCU~1\Servers\STREAM~1\GAMEMO ~1\UNTITL~1.PWN(5) : error 021: symbol already defined: "main" C:\DOCUME~1\Owner\MYDOCU~1\Servers\STREAM~1\GAMEMO ~1\UNTITL~1.PWN(10) : error 021: symbol already defined: "OnGameModeInit" C:\DOCUME~1\Owner\MYDOCU~1\Servers\STREAM~1\GAMEMO ~1\UNTITL~1.PWN(12) : warning 209: function "OnGameModeInit" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
_________________________________________________
AMX Size
(Differences based on previous test)
No objects
pObjectStreams:
AMX Size: 213kb
TruboStreamer:
AMX Size: 618kb
5 objects
pObjectStreams:
AMX Size: 213kb
TruboStreamer:
AMX Size: 618kb
1000 objects
pObjectStreams:
AMX Size: 248kb (30kb difference)
TruboStreamer:
AMX Size: 653kb (35kb difference)
PIXelS: +1
BZUCO: 0
_________________________________________________
Script Failures
UNABLE TO TEST
pObjectStreams:
Attaches objects to me for some reason.
TruboStreamer:
Unable to load any objects.
BOTH FAIL.
Tested with 1000 objects, both on default settings with CreateDynamicObject.
SCORE NOT COUNTED.
_________________________________________________
(Differences based on previous test)
Mem Usage
No objects
pObjectStreams:
Mem Usage: 10,112k
TruboStreamer:
Mem Usage: 11,724k
5 objects
pObjectStreams:
Mem Usage: 10,116k (3k difference)
TruboStreamer:
Mem Usage: 11,728k(4k difference)
1000 objects
pObjectStreams:
Mem Usage: 10,184k (68k difference)
TruboStreamer:
Mem Usage: 11,800k (72k difference)
PIXELS: +2
BZUCO: 0
Pixels wins the competition.