-
Notifications
You must be signed in to change notification settings - Fork 1.2k
render: avoid deepcopying #9033
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
Codecov ReportBase: 93.07% // Head: 93.06% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #9033 +/- ##
==========================================
- Coverage 93.07% 93.06% -0.02%
==========================================
Files 456 456
Lines 36814 36758 -56
Branches 5335 5324 -11
==========================================
- Hits 34264 34207 -57
- Misses 2025 2026 +1
Partials 525 525
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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 clearly another low-hanging fruit:
Goes back to iterative/dvc-render#23 / iterative/dvc-render#28 (not treating the template content as string)
Thanks for the links. Seems a bit involved though, right? Does that keep backward-compatibility? |
I can give it a quick try as I have recently looked at it.
It should as there are internal operations, I/O should remain the same |
Thank you. FYI I ran the above benchmark with |
A low hanging fruit that reduces 20% of runtime when run in
vscode-dvc-demo
with:dvc plots diff $(git log --oneline --pretty=format:"%h")