[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Performance within instances()
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-02-23 23:00:54
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/fe1cabb88a06/ Changeset: fe1cabb88a06 Branch: master User: zzzeek Date: 2017-02-23 21:56:20+00:00 Summary: Performance within instances() Continuing from Ie43beecf37945b2bb7fff0aaa597a597293daa18, also observed is the overhead of PathRegsitry memoized token functions, as these paths are not cached in the case of long joinedloader chains. The memoizations here were made with short paths in mind, and have been replaced with an inlined straight create of these paths up front, producing callcounts very similar to 0.8. Combined with the previous optimizations, 1.1 now runs the "joined eager load of one row" worst case test in about 40% fewer calls than 0.8 and 60% fewer than 1.1.5. Change-Id: Ib5e1c1345a1dd8edfbdb3fed06eb717d4e164d31 Fixes: #3915 Affected #: 5 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |