#get run time of code
python -m cProfile -o result.txt xxx.py
