注册并分享邀请链接,可获得视频播放与邀请奖励。

Mitchell Hashimoto
@mitchellh
Co-founder of @Superlogical. Creator of Ghostty. 👻 Prev founded @HashiCorp, created Vagrant, Terraform, Vault, and others.
加入 January 2008
150 正在关注    221.3K 粉丝
This is true outside the browser too! At some point we found ~10% of all Ghostty IO time in an Asciinema dump was log warns for purposely unsupported sequences. We moved that to "log once per sequence" helper and saw that overhead disappear. Source here:
显示更多
Did you know that even a simple console.log() per request can hugely hurt performance? The built-in logger in the next h3/srvx release batches writes and caches the timestamp (Intl), cutting logging overhead ~60–85%.
显示更多
0
15
683
13
转发到社区