Show profiling information on page loads

Aperta
#351 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
django, python

Direzione di ricerca

This is a Django project, so start with the settings module and the middleware list, where a profiler would be registered. Find how staff status is checked for logged-in users and gate the profiler output on it. Evaluate whether Khan/gae_mini_profiler fits or whether a Django-specific tool is needed, since the issue does not settle this. Done when a logged-in staff user sees timing data on a page load and anonymous users do not.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement good first issue performance

It would be quite useful to show some performance information in ocfweb on page loads (to only staff when they are logged in). Khan/gae_mini_profiler might work, but I haven't tried it, I've only tried the Ruby equivalent, but it worked pretty well for Rails at least and was quite helpful for identifying performance issues on slow page loads.

Lingua principale
Python
Stelle
46
Fork
106
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ocf/ocfweb

Tutte le issue di ocf/ocfweb

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.