server.py added cprofile or profiling