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(weave): Eval Compare Perf: Split Query #3295

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

tssweeney
Copy link
Collaborator

@tssweeney tssweeney commented Dec 19, 2024

Improves performance by splitting the eval page loading into two distinct steps

@circle-job-mirror
Copy link

circle-job-mirror bot commented Dec 19, 2024

@circle-job-mirror
Copy link

@@ -50,18 +58,28 @@ export const useEvaluationComparisonState = (
const orderedCallIds = useMemo(() => {
return getCallIdsOrderedForQuery(evaluationCallIds);
}, [evaluationCallIds]);
const data = useEvaluationComparisonData(entity, project, orderedCallIds);
const summaryData = useEvaluationComparisonSummary(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the major change in this PR: splits up the data fetch into 2 stages

@tssweeney tssweeney changed the title chore(weave): Make compare page faster again chore(weave): Eval Compare Perf: Split Query Dec 20, 2024
@tssweeney tssweeney marked this pull request as ready for review December 20, 2024 19:59
@tssweeney tssweeney requested review from a team as code owners December 20, 2024 19:59
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.

1 participant