db: improve performance of VersionManager.Copy by 40% just by providing size hint #11454
Closed
4 tasks done
Labels
T: Performance
Performance improvements
Summary of Bug
If we examine the code in here
cosmos-sdk/db/version_manager.go
Lines 126 to 132 in c1b6ace
cosmos-sdk/db/version_manager.go
Line 127 in c1b6ace
That code should use a hint to make it even faster and here are some exhibits https://dashboard.bencher.orijtech.com/benchmark/213d0080ec47409d95c512bca4a8a27e with improvements in every dimension
For Admin Use
The text was updated successfully, but these errors were encountered: