-
Notifications
You must be signed in to change notification settings - Fork 651
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
Go 1.12 darwin performance regression #149
Comments
I've confirmed that this is isolated to boltdb's Update API, and only reproducible on darwin. |
Is it possible that golang/go#17490 could be the cause of this? |
Here's an example using the bbolt simulation tests:
Then after I install go 1.12:
Run on macos 10.13.6. |
As diagnosed on golang/go#30497, it appears that:
It looks like there's likely not much that can be done here... |
hmm |
i think it is the right thing for go to do. we used to wrap fsync for the same reason for osx in etcd. |
I'm using bbolt in a project that I've just upgraded to go 1.12 (from go 1.11.5). I've seen a chaos integration test go from 1 second in go 1.11.5 to 21 seconds in go 1.12.
I'm going to investigate a little further to try and identify what exactly is taking longer, creating this issue in case anyone else notices a similar problem when upgrading.
The text was updated successfully, but these errors were encountered: