Pogues icon indicating copy to clipboard operation
Pogues copied to clipboard

Performance overhaul with large questionnaires

Open romaintailhurat opened this issue 2 years ago • 2 comments

Some surveys produce very large questionnaires*. In those cases:

  • the UI gets very slow
  • the questionnaire generation may takes several minutes to complete.

I think the 1st issue is more problematic than the 2nd (that will be took care with the Eno refactoring). A first analysis should be started in order to pinpoint bottlenecks and other performance issue - maybe with the help of some JS experts?

* internally, see some made by the ENL team, for example: questionnaire/l7j0vaea

romaintailhurat avatar Sep 27 '22 12:09 romaintailhurat

@BulotF @MickaelMenet another input for Jonathan

romaintailhurat avatar Jan 13 '23 10:01 romaintailhurat

Lors de la mise à jour d'un composant, de nombreux autres composants qui ne dépendent pas de lui se re-rendent aussi.

L'ajout de useCallback (potentiellement signalés par Sonar) pourrait déjà beaucoup améliorer la situation, en attendant de creuser plus profondément.

BulotF avatar Feb 16 '23 13:02 BulotF