vpelletier / pprofile

Line-granularity, thread-aware deterministic and statistic pure-python profiler
GNU General Public License v2.0
445 stars 28 forks source link

Unable to capture metrics for Django application #52

Open eswarthammana opened 2 months ago

eswarthammana commented 2 months ago

pprofile 2.1.0 windows 11 python 3.11

Hi Team, Thanks for the tool, i am performing profiling on a sample django application with the following structure

├── server │ ├── app │ │ ├── .py │ ├── views │ ├── urls ├── utils │ ├── some1 │ │ ├── .py (20 files with subdirectories) ├── manage.py

when i run the application using command line as pprofile --out djangoapp.txt manage.py runserver 0.0.0.0:8001

the generated .txt file contains metrics related to the virtual environment only(the folder created using python -m venv test_env), the modules or third party libraries alone able to capture.

could you please help how to make it work for most of the files. Thanks for your time