Skip to content
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

goleveldb not up-to-date in glide? #1102

Closed
abraithwaite opened this issue Dec 21, 2017 · 6 comments
Closed

goleveldb not up-to-date in glide? #1102

abraithwaite opened this issue Dec 21, 2017 · 6 comments

Comments

@abraithwaite
Copy link

This is the current fork of goleveldb in master:

btcsuite/goleveldb@7834afc

However, it doesn't seem to include the performance fix (which you suggested):

syndtr/goleveldb@a49846e

https://github.com/btcsuite/goleveldb/blob/7834afc9e8cd15233b6c3d97e12674a31ca24602/leveldb/util/hash.go

Found while investigating slowness bootstrapping a full node. :-)

@abraithwaite
Copy link
Author

Applying the patch reduces the time spent in GC from 50% to 30% on my platform, FWIW.

@abraithwaite
Copy link
Author

Suppose this project is dormant. Oh well, thanks for the great libraries for working with the blockchain anyway!

@jcvernaleo
Copy link
Member

@abraithwaite btcd is definitely not dormant. This time of year with holidays people tend to be busy and don't always respond to things too quickly though.

Also, generally we've been pretty conservative with leveldb versions.

@abraithwaite
Copy link
Author

Good to hear! Understand about the holidays. Just assumed based on the activity. Apologies.

I was hoping that this patch could be applied to the vendored leveldb though, considering that it appears davecgh suggested it! :-)

syndtr/goleveldb#141

@red010b37
Copy link

red010b37 commented May 10, 2018

Just as a FYI I see that that there is now a PR to upgrade to dep from glide.

#1130

@jakesylvestre
Copy link
Collaborator

addressed in #1575

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants