some benchmarking and write to hidden dir