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

add timer to key GET paths #431

Merged
merged 1 commit into from
Aug 20, 2024
Merged

add timer to key GET paths #431

merged 1 commit into from
Aug 20, 2024

Conversation

meng-han
Copy link
Contributor

@meng-han meng-han commented Aug 20, 2024

Was wondering what caused frontend to be so slow? did an analysis on UI and ranked captured network calls by timer. The slow and popular APIs are get and list services/credentials. Emitting stats to understand how slow it is and follow up on action items

@@ -86,48 +86,49 @@ def get_credential_list():
:statuscode 200: Success
:statuscode 403: Client does not have permissions to list credentials.
"""
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's interesting how git detects the diff: the only changes made is add with stats.timer( and added indent to following lines

@meng-han meng-han enabled auto-merge (squash) August 20, 2024 21:26
@meng-han meng-han disabled auto-merge August 20, 2024 21:26
@meng-han meng-han merged commit b8d4bd2 into master Aug 20, 2024
6 checks passed
@meng-han meng-han deleted the timer1 branch August 20, 2024 21:26
meng-han added a commit that referenced this pull request Aug 21, 2024
Follow up to #431, add more
detailed timers breakdown to see which one is the worst contributors
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 this pull request may close these issues.

2 participants