#35576: Django too slow on first request -------------------------------------+------------------------------------- Reporter: Sridhar | Type: | Cleanup/optimization Status: new | Component: | Uncategorized Version: 2.2 | Severity: Normal Keywords: Django, Lambda | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- We have deployed our Django app on lambda, the first request always takes 5-6 seconds excluding lambda cold start times.
`get_app_list` and `reverse functions` take too long. The reverse function to prepare and match uri takes O(n). I am attaching the Cprofile results below. -- Ticket URL: <https://code.djangoproject.com/ticket/35576> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107019081f892df-58ba9590-6c1e-4abc-9709-cbd63e059104-000000%40eu-central-1.amazonses.com.