add cProfile to performance tunning