Skip to content

Programming Exercise Details page loads very slowly #11469

@b-fein

Description

@b-fein

Describe the bug

When opening the details page for some programming exercises, it loads very slowly. Sometimes it even crashes the browser tab due to out-of-memory (?).

To Reproduce

Not sure, only occurs for some exercises.

Expected behavior

The page loads quickly.

Screenshots

No response

Which version of Artemis are you seeing the problem on?

8.4.1

What browsers are you seeing the problem on?

Chrome, Firefox

Additional context

It seems that the API call to /api/programming/programming-exercises/351/solution-files-content?omitBinaries=true takes a very long time for an exercise we observe the issue in.

That is called in the initialisation of the programming-exercise-detail.component.ts. This matches the observed behaviour, where the first part of the page including the charts loads quickly, but then the details take a long time.

Relevant log output

Metadata

Metadata

Assignees

Labels

bugexercisePull requests that affect the corresponding moduleperformanceprogrammingPull requests that affect the corresponding moduleuser interface

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions