Performance is mediocre according to Google Lighthouse analysis

Aperta
#5,476 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
angular, typescript

Direzione di ricerca

The issue names no source files or tests; the only concrete starting point is the attached Lighthouse HTML report, which lists the unused JavaScript and CSS and the chained critical requests. Run Lighthouse against a local dspace-angular build to reproduce the 70 score and find which bundles or requests dominate. Done would mean a specific, measured Lighthouse improvement, which the maintainers would need to agree on first.

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

Descrizione

affects: 10.x affects: 9.x affects: main bug code task help wanted performance / caching

Describe the bug

According to a performance analysis run on sandbox.dspace.org via Google Lighthouse, DSpace only scores 70 out of 100 points. This behavior can also be reproduced on demo.dspace.org and our own institutional DSpace instance. Therefore the performance was already mediocre in DSpace 9 and the reason for the poor performance is not the underlying sandbox server.

Google Lighthouse has several tips on how to resolve this, e.g. reducing unused JavaScript and CSS and avoid chaining critical requests. Please see the attached Lighthouse document for more information and tips.

I am not sure how easy it is to tackle this, nevertheless we wanted to run some performance analysis test during testathon, that's where this bug ticket comes from.

To Reproduce

Steps to reproduce the behavior:

  1. Visit sandbox.dspace.org in Chrome or Chromium
  2. Open developer tools and start a Google Lighthouse analysis

Expected behavior

DSpace should perform well in a performance analysis.

Side notes

DSpace performs well in the accessibility part of the Lighthouse test 🎉 Please ignore the SEO part, the poor ranking stems from the applied robots.txt on the sandbox server.

sandbox.dspace.org-20260408T160850.html

Lingua principale
TypeScript
Stelle
180
Fork
577
Merge medio
2g 1h
PR unite (30g)
100

Preparare l'ambiente

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 DSpace/dspace-angular

Tutte le issue di DSpace/dspace-angular

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.