0

I am using the AppendToFile method of DelimitedFileEngine from FileHelpers.

Assumptions:

  • Each row that I append is about 100 chars long.
  • Moderate common PC hardware from the last 3 years, normal harddisk, 4GB ram.
  • Frequency of calling AppendToFile is not more than 2 Hz.

How much slower will AppendToFile() get as the plaintext CSV file grows to 10MB, 100MB, 1GB?

If I do not expect it to grow larger than 100 MB, do I need to worry at all about performance?

Thanks!

Doochz
  • 1,039
  • 2
  • 14
  • 25
  • Depends on loads, loads, loads of implementation details. Slightly relevant: http://www.joelonsoftware.com/articles/fog0000000319.html – It'sNotALie. Aug 10 '13 at 17:07
  • In theory, append should not depend on size at all. In practice it will vary wildly, but not grow systematically. But do you have alternatives? – H H Aug 10 '13 at 17:09
  • Have you tried it? What were the results? – Peter Ritchie Aug 10 '13 at 17:49

0 Answers0