Profiling no DB on Python