[Include] dFile
#21

LoL Garsin, speak for me? The Y_ini is very faster on Writing, But Fini in Read ..
Now if it is related to Drake, I really think this also

@Draken
Your test is Fail
Reply
#22

Quote:
Originally Posted by [03]Garsino
Посмотреть сообщение
Obviously there is something wrong with all of your tests (goes to most of you). You either:
a) Do some trick with your system to make it look faster (in the test).
b) The time it took to execute blablabla is fake.
c) You don't really know what you're doing.
d) You only test the stuff you know your system is fast at.

Looking forward to ******'s tests, as atleast he know what he's doing.
Bold part.
Reply
#23

Can you tell me why my test is fail? ^^
Reply
#24

I didn't say that your test is fail but I'm not saying it is correct either. Neither do I say that [FeK]DraKiNs' tests are correct. I just find it strange, and at the same time funny that in all tests I've seen the poster (which also have included their INI in the test) get the fastest results. And then the creator of some other INI system run the same/different test and their result is faster than the other results.
Reply
#25

@[03]Garsino
Haha,ok Garsino,Hugs

Garsino,my test is normal,Fini and Y_ini are faster then others (Fini in Read) (Y_Ini in Write)


@Drake1994
You using Multiple Keys,tests must be equal to the normal use
So,use 15 Keys,on loop 10.000

And Look Results
Reply
#26

Quote:
Originally Posted by [03]Garsino
Посмотреть сообщение
Obviously there is something wrong with all of your tests (goes to most of you). You either:
a) Do some trick with your system to make it look faster (in the test).
b) The time it took to execute blablabla is fake.
c) You don't really know what you're doing.
d) You only test the stuff you know your system is fast at.

Looking forward to ******'s tests, as atleast he know what he's doing.
Yes i completely agree with it, theres no point in making these file systems (Reasons gaven by garsino.)
Reply
#27

Here is your "normal" keys


Код:
#include <a_samp>
#include <dfile>
#include <Fini>

#define TESZT 10000

public OnFilterScriptInit()
{
	new string[20];
	format(string,sizeof(string),"super dooper string");
    dfile_Create("Dfile.txt");
    dfile_Create("scriptfiles/Fini.txt");

    new Dfile = GetTickCount();

  	dfile_Open("Dfile.txt");
  	print("\n\n\n");
  	print("Writing data:");
  	print("----------------------------");
	for(new i=0;i<TESZT;i++)
    {
        dfile_WriteString("cessil", string);
    }
    dfile_SaveFile();
    printf("[DFILE] writing time: %d", GetTickCount() - Dfile);

    new Fini = GetTickCount();

    Fini_OpenFile("Fini.txt");
    for(new i=0;i<TESZT;i++)
    {
        Fini_SetStr("cessil",string);
    }
	Fini_SaveFile();
    Fini_CloseFile();
    printf("[FINI] writing time: %d", GetTickCount() - Fini);
    printf("\n\n\n");
    print("Reading data:");
    print("----------------------------");
    Dfile = GetTickCount();
    dfile_Open("Dfile.txt");
    new dfilevalue, finivalue;
    while(GetTickCount() - Dfile < 1000)
    {
        dfile_ReadString("cessil");
        dfilevalue++;
    }
    dfile_CloseFile();
    printf("[DFILE] reading time: %d", dfilevalue);
    Fini = GetTickCount();
    Fini_OpenFile("Fini.txt");
    while(GetTickCount() - Fini < 1000)
    {
        Fini_GetStr("cessil");
        finivalue++;
    }
    Fini_CloseFile();
    printf("[FINI] reading time: %d", finivalue);
    return true;
}
Reply
#28

We need all the file systems to be tested with the exact same script EVERY time. But now theres a boom with file systems, and everyone is competing with everyone else.
Reply
#29

I don't want competing but everybody writes her test result.
Reply
#30

Drake:
After 10 key , the velocity between the two is the same, so it is advantageous to use dfile over 15 keys and disadvantage using less than 15 keys
So the speed changes as uses.

Fini is updated, re tests.

Thanks

Look ,i use:

Код:
Senha=32833734
Money=0
Kills=0
Deaths=0
Ratio=0.000000
AdminLevel=5
Torcida=0
Pontos=100
8 Tags,so i need Fini,

Knows?

Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)