-
Notifications
You must be signed in to change notification settings - Fork 6
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
Remove Column
class for Parameter
#151
base: profile-optimization-db-clean
Are you sure you want to change the base?
Remove Column
class for Parameter
#151
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## profile-optimization-db-clean #151 +/- ##
=============================================================
Coverage 86.9% 86.9%
=============================================================
Files 230 230
Lines 8144 8164 +20
=============================================================
+ Hits 7082 7102 +20
Misses 1062 1062
|
Of course, one question still remains open: what about the rest of the "normalization" PRs? What about the For future reference: I tried (though the branch is not on GitHub). I followed the same approach as in #143 and added a
Last but not least, even if we figure this problem out, we would be left with a collection that already firmly falls into the category "large" in sqlalchemy as we would frequently want to have several thousand Note One thing that might be worth a try still is to revert For the time being, I will not continue work on this. The profiles generated for #150 show that |
This PR removes the
Column
class forParameter
as it's not necessary to keep around and even slightly faster to do so. See the following benchmarks:Benchmarks with `Column`
Benchmarks now
It remains to be seen if the rest of the normalization (see #143) is beneficial in terms of performance or not. That may not be urgent, though, as the performance seems to already be better than ixmp's.
TODO: