yuin / goldmark

:trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.
MIT License
3.68k stars 255 forks source link

sometimes 100% CPU spin during init phase in Go 1.14 #116

Closed yuin closed 4 years ago

yuin commented 4 years ago

Go 1.14 has a critical bug github.com/golang/go/issues/37741 and it sometimes causes 100% CPU spin during init phase.

So I would recommend Go 1.13 to goldmark users until this bug is fixed.

/cc @bep

mholt commented 4 years ago

Looks like a patch was merged into Go, and it should be released with Go 1.14.1.

bep commented 4 years ago

As to Hugo, I have not experienced this 1 time and had zero reports about it, so I think I'll just wait silently for the patch.

yuin commented 4 years ago

Patch got merged into 1.14.1.