https://github.com/st3v3nmw/django-perf-and-you
Code for a presentation around profiling Django applications with Django Silk
https://github.com/st3v3nmw/django-perf-and-you
api-performance django django-performance django-rest-framework optimization performance performance-optimization presentation-slides
Last synced: 29 days ago
JSON representation
Code for a presentation around profiling Django applications with Django Silk
- Host: GitHub
- URL: https://github.com/st3v3nmw/django-perf-and-you
- Owner: st3v3nmw
- License: mit
- Created: 2023-07-28T12:39:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-16T16:39:40.000Z (over 1 year ago)
- Last Synced: 2025-03-30T00:31:44.071Z (about 2 months ago)
- Topics: api-performance, django, django-performance, django-rest-framework, optimization, performance, performance-optimization, presentation-slides
- Language: Python
- Homepage:
- Size: 1.24 MB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Django Performance and You
This repository contains a code for a presentation around
profiling Django applications with [Django Silk](https://github.com/jazzband/django-silk).#### Setting up & Running the Project
- Create a virtual environment called `venv`, preferrably in Python 3.11
- Activate said virtual environment
- Install requirements: `pip install -r requirements.txt`
- Run `setup.sql` to create the database and user
- Run `./generate_data.py` to generate the test data
- Run `python manage.py runserver` to start the server
- You can hit some of the endpoints like:
- http://127.0.0.1:8000/api/messages/
- http://127.0.0.1:8000/api/threads/
- Access the Django Silk profiling dashboard on http://127.0.0.1:8000/silk/#### Slides
- Check out the presentation slides [here](https://www.stephenmwangi.com/talks/django-perf-and-you/)
- Here's a [PDF export](https://raw.githubusercontent.com/st3v3nmw/talks/main/django-perf-and-you/slides-export.pdf)