Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve study loading pages #3348

Closed
antgonza opened this issue Jan 22, 2024 · 2 comments · Fixed by #3350
Closed

improve study loading pages #3348

antgonza opened this issue Jan 22, 2024 · 2 comments · Fixed by #3350

Comments

@antgonza
Copy link
Member

10317 is super slow, current guess is due to amount of data ... a comparison between studies:

[I 240122 08:26:33 web:2161] 200 GET /study/description/10317 (127.0.0.1) 43387.91ms
[I 240122 08:26:44 web:2161] 200 GET /study/description/data_type_menu/?study_id=10317 (127.0.0.1) 10286.08ms
[I 240122 08:26:46 web:2161] 200 GET /study/description/baseinfo/?study_id=10317 (127.0.0.1) 12210.12ms

[I 240122 08:26:01 web:2161] 200 GET /study/description/550 (127.0.0.1) 262.94ms
[I 240122 08:26:02 web:2161] 200 GET /study/description/data_type_menu/?study_id=550 (127.0.0.1) 641.92ms
[I 240122 08:26:03 web:2161] 200 GET /study/description/baseinfo/?study_id=550 (127.0.0.1) 832.78ms

Ideally every page should be in less than a second.

@antgonza
Copy link
Member Author

FWIW those times are as admins (load everything) as a regular user (only public), which are better but still over 1s:

[I 240122 08:32:14 web:2161] 200 GET /study/description/10317 (127.0.0.1) 13384.37ms
[I 240122 08:32:19 web:2161] 200 GET /study/description/data_type_menu/?study_id=10317 (127.0.0.1) 4982.58ms
[I 240122 08:32:21 web:2161] 200 GET /study/description/baseinfo/?study_id=10317 (127.0.0.1) 6925.24ms

@antgonza antgonza pinned this issue Jan 29, 2024
@antgonza antgonza unpinned this issue Jan 29, 2024
@antgonza antgonza linked a pull request Jan 29, 2024 that will close this issue
@antgonza
Copy link
Member Author

Fixed with #3350.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant