12.09.2011, 11:08
Oh sorry for dublepost... Iґm idiot
Fixed Code
Very nice job Ryder
Fixed Code
Quote:
print("---------------- FF-WRITE ------------------"); Old[1] = GetTickCount(); new File:file2 = fileOpen("scriptfiles/ffread.txt",io_Write); for(new i; i < 100000;i++){ fileWrite(file2, "TEST\r\n"); } fileClose(file2); New[1] = GetTickCount(); printf("FF-WRITE %d",New[1]-Old[1]); print("---------------- FF-READ ------------------"); Old[1] = GetTickCount(); file2 = fileOpen("scriptfiles/ffread.txt",io_Read); while(fileRead(file2,str)){ } fileClose(file2); New[1] = GetTickCount(); printf("FF-READ %d",New[1]-Old[1]); |