file with 1k lines created and destroyed in 1 seconds
wow that was fast!
But fast what? I tested in a directory with 2 dummy subdirectories. If I had tested from a directory containing 50000 subdirectories, the response would have been "wow that was fast!"...
Anyway, as Mr.C pointed out it is not really clear what is the aim of this "benchmarking" tool. If it is disk I/O... have you ever heard about the good ol' bonnie or Iozone filesystem benchmark?
Also a good code would at least use indentation!
Is my critique too destroying?