-
Notifications
You must be signed in to change notification settings - Fork 67
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
base: master
Are you sure you want to change the base?
Conversation
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=17dff7637deb61678e3d9e85337af63f5b706488 |
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=ca24f8095545a13cca441ff420dc8009e4682ede |
@@ -50,18 +58,28 @@ export const useEvaluationComparisonState = ( | |||
const orderedCallIds = useMemo(() => { | |||
return getCallIdsOrderedForQuery(evaluationCallIds); | |||
}, [evaluationCallIds]); | |||
const data = useEvaluationComparisonData(entity, project, orderedCallIds); | |||
const summaryData = useEvaluationComparisonSummary( |
There was a problem hiding this comment.
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
Improves performance by splitting the eval page loading into two distinct steps