-
Notifications
You must be signed in to change notification settings - Fork 85
ENG-992 Optimize dataset traversal #6353
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6353 +/- ##
==========================================
- Coverage 86.98% 86.97% -0.01%
==========================================
Files 454 454
Lines 28909 28961 +52
Branches 3211 3228 +17
==========================================
+ Hits 25146 25190 +44
- Misses 3046 3052 +6
- Partials 717 719 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
🚀 🚀 🚀
fides
|
Project |
fides
|
Branch Review |
main
|
Run status |
|
Run duration | 00m 51s |
Commit |
|
Committer | Adrian Galvan |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
5
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
Closes ENG-992
Description Of Changes
Misc performance improvements to dataset traversal
Code Changes
skip_processing=True
when initializing aDatasetGraph
edges_by_node
dict for O(1) edge by node address lookupsdeleted_edges_tracker
dict to avoid the expensiveremaining_edges: Set[Edge] = self.edges.copy()
Steps to Confirm
This one is tricky to verify manually. I'm testing directly with
tests/ops/graph/test_graph_traversal.py
and implicitly with the rest of our test suite. Dataset traversal is core to a lot of workflows so if there were any issues it would cause other tests to fail.Pre-Merge Checklist
CHANGELOG.md
updatedmain
downgrade()
migration is correct and works