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

chore: remove metric from performance #650

Merged
merged 6 commits into from
May 11, 2023

Conversation

ThibaultFy
Copy link
Member

@ThibaultFy ThibaultFy commented May 9, 2023

Signed-off-by: ThibaultFy <[email protected]>
@github-actions github-actions bot added the api label May 9, 2023
ThibaultFy added 2 commits May 9, 2023 17:20
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
@ThibaultFy ThibaultFy changed the title chore: remove metric chore: remove metric from performance May 9, 2023
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
@ThibaultFy ThibaultFy marked this pull request as ready for review May 10, 2023 15:27
@ThibaultFy ThibaultFy requested a review from a team as a code owner May 10, 2023 15:27
@@ -376,5 +358,5 @@ def test_n_plus_one_queries_performance_list(authenticated_client, create_comput
with utils.CaptureQueriesContext(connection) as query:
print(authenticated_client.get(url))
query_task_with_perf = len(query.captured_queries)
assert query_task_with_perf < 12
assert query_task_with_perf - query_tasks_empty < 4
assert query_task_with_perf < 11
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

@@ -68,6 +68,7 @@ ASCENDING: SortOrder.ValueType # 1
DESCENDING: SortOrder.ValueType # 2
global___SortOrder = SortOrder

@typing_extensions.final
Copy link
Contributor

Choose a reason for hiding this comment

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

Out of curiosity, what is this line doing?

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

It was auto generated, I didn't have your curiosity ahah. Thanks for pointing that out, really interesting indeed !

Copy link
Contributor

@SdgJlbl SdgJlbl left a comment

Choose a reason for hiding this comment

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

LGTM

@ThibaultFy ThibaultFy merged commit 9719101 into main May 11, 2023
@ThibaultFy ThibaultFy deleted the remove-metric-from-performance branch May 11, 2023 08:27
@Milouu Milouu mentioned this pull request May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants