Profilling middleware for django embedded projects