remove: profiling code from cli.main.