google / google/codeworld

POST to /listFolders is slow

Offen
#694 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Haskell
Sterne
1.3k
Forks
201
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When loading the CodeWorld home page, the slowest part by far is loading the existing folders. This request takes over a second. It's also sent twice, when it shouldn't need to be.

Should figure out why it takes so long. My guess is that the directory listing for data/codeworld/projects is too long, and it might help to shard it by the first few characters, the same way we do for data/codeworld/user. But that's just a guess.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.