C# – Performance creating multiple small files


I need a test app that will create a big number of small files on disk as faster as possible.

Will asynch ops help creating files or just writing them? Is there a way to speed up the whole process (writing on a single file is not possible)

Best Solution

Wouldn't physical drive IO be the bottleneck here? You'll probably get different results if you write to a 4200rpm drive versus a 10,000rpm drive versus an ultrafast SSD.