Files
Andros Fenollosa 3cb1fdc09f Add Django REST Framework to benchmark comparison
- Added DRF implementation with identical endpoints
- Updated benchmark scripts to include DRF (port 8005)
- Ran comprehensive benchmarks with all 5 frameworks
- Updated documentation and results
- Generated new comparison graphs

Results show Django Bolt leading in all endpoints, with DRF
showing lowest JSON performance but competitive DB performance.
2025-12-25 20:12:21 +01:00

17 lines
470 B
Python

"""URL configuration for Django benchmark."""
from __future__ import annotations
from django.urls import path
from django_project.ninja_api import api
from django_project import drf_api
urlpatterns = [
path("ninja/", api.urls),
path("drf/json-1k", drf_api.json_1k, name="drf-json-1k"),
path("drf/json-10k", drf_api.json_10k, name="drf-json-10k"),
path("drf/db", drf_api.db_read, name="drf-db"),
path("drf/slow", drf_api.slow, name="drf-slow"),
]