File.AppendAllText opens the file then writes a line then closes a file. This causes a bad performance impact and is probably the reason for the large delay when we save data. Instead we should open a filestream and write, then close the file stream.
File.AppendAllText opens the file then writes a line then closes a file. This causes a bad performance impact and is probably the reason for the large delay when we save data. Instead we should open a filestream and write, then close the file stream.
See: https://stackoverflow.com/questions/5074661/c-sharp-speed-of-file-appendalltext