Closed maoe closed 4 years ago
This PR is ready for review now. Could anyone review it, maybe @Mikolaj?
Thanks!
It’s essential not from performance standpoint but rather from the recent change in the API of ghc-events. See https://github.com/haskell/ghc-events/pull/55.
I meant the usage of text builders as opposed to ordinary texts. As in https://hackage.haskell.org/package/text-1.2.4.0/docs/Data-Text-Lazy-Builder.html
Oh, I see now, text builders are used in ghc-events as well. Fine, whatever. And I even reviewed that in ghc-events. :)
Yes, buildEventInfo
for example is from ghc-events.
I'll merge this and cut a new release. Thanks for reviewing this.
As of ghc-events#55 most of the String fields in EventInfo have been replaced with Text. This patch updates threadscope code accordingly. This is incompatible with older ghc-events.