You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cumulatively it took 3.20 seconds, but really items is a container/list.List which has a property https://golang.org/pkg/container/list/#List.Len which when used shaves down time from 3.20 seconds down to 600ms
It is 4:25AM, and I've been on a long performance hunt, but I need to go to bed, but kindly delegating to other folks to take a look, the PR is pretty straightforward to get in.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary of Bug
While profiling to fix #8747, while examining many profiles for a bunch, over 53 seconds, noticed this code
cosmos-sdk/store/cachekv/memiterator.go
Lines 21 to 22 in 432b0b2
if we look at profiles
The culprit to focus on is
cumulatively it took 3.20 seconds, but really items is a container/list.List which has a property https://golang.org/pkg/container/list/#List.Len which when used shaves down time from 3.20 seconds down to 600ms
Version
Latest at 432b0b2
It is 4:25AM, and I've been on a long performance hunt, but I need to go to bed, but kindly delegating to other folks to take a look, the PR is pretty straightforward to get in.
For Admin Use
The text was updated successfully, but these errors were encountered: