hyper
hyper copied to clipboard
perf: avoid gpu memory increase
This modification can effectively control the memory usage growth of GPU processes as the number of tabs increases. In our internal terminal client, this modification achieved a 75% reduction in overall memory usage at the P95 percentile.
Thanks for the pr. I think we should be able to use the fit addon when term gets active again instead of calling internal methods. Other than that, it looks good.
Hi there,
Thank you for contributing to Hyper!
You can get the build artifacts from here.
Here are screenshots of Hyper built from this pr.
Thanks for the pr. I think we should be able to use the fit addon when term gets active again instead of calling internal methods. Other than that, it looks good.
Because this size adjustment only involves the visible state of the terminal on the client-side, it is desired to keep the related operations within the client scope. Using the Fit addon for size synchronization involves exchanging size information between the client and the server, which may introduce some side effects.