add make_dir in utils.py
refactor performance.py
refactor a bit