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
gogetdoc seems to invoke cgo, which invokes the native compiler, which can be quite slow. It does this for every invocation, with no caching, even if there were no changes in the cgo code. This ends up making gogetdoc so slow that it is unusable when you have such a package in your dependency graph.
gogetdoc seems to invoke
cgo
, which invokes the native compiler, which can be quite slow. It does this for every invocation, with no caching, even if there were no changes in thecgo
code. This ends up makinggogetdoc
so slow that it is unusable when you have such a package in your dependency graph.Steps to reproduce
You need to have ImageMagick available. (See https://github.com/gographics/imagick)
main.go
in a new go package directory:dep init
.gogetdoc -pos main.go:#87
.Related
microsoft/vscode-go#667 microsoft/vscode-go#1025
cc @ramya-rao-a
The text was updated successfully, but these errors were encountered: