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
When appending new code to the two files handlerimpl.go and svcimpl.go, there is performance issue. I want to refactor this feature using valyala/quicktemplate instead, but I should confirm the posibility.
Fixed. The bottleneck isn't text/template, is golang.org/x/tools. You can refer to golang/go#32750 and golang/go#36034. Incremental generation of handlerimpl.go, svcimpl.go and clientproxy.go are optimized 100x. Before 1s, now 10ms.
When appending new code to the two files
handlerimpl.go
andsvcimpl.go
, there is performance issue. I want to refactor this feature using valyala/quicktemplate instead, but I should confirm the posibility.valyala/quicktemplate#92 (comment)
The text was updated successfully, but these errors were encountered: