Skip to content

zh_cn Performance and Rendering

Rifa edited this page Aug 25, 2026 · 1 revision

🚀 性能开销与渲染优化

Metric Measured Impact
Tick Overhead $0.000\text{ ms/tick}$ (No ticking listeners or background workers)
Frame Render Time Net Reduction ($pprox -0.05\text{ ms/frame}$ when chat is hidden)
Per-Tick Memory Allocations $0\text{ bytes/tick}$ (Zero allocation hot path)
Heap Memory Usage $< 1\text{ KB}$ static memory

⚡ Why Hiding Chat Improves Sleeping Performance

In vanilla Minecraft, every frame rendered while sleeping forces the client to:

  1. Extract text glyphs for the entire visible chat history buffer.
  2. Rasterize the semi-transparent dark background quad for the edit box.
  3. Render command suggestions and cursor animations.

By intercepting extractRenderState and canceling ChatScreen rendering when hidden, Bed Chat Hider bypasses these draw calls completely, resulting in a cleaner frame graph and reduced GPU text rendering workload during sleep!


Related Pages: 首页面板 | 聊天可见性与输入拦截 | 代码架构与 Mixin 注入剖析

🛌 Bed Chat Hider Wiki

🌐 Languages


🇺🇸 English (English)
🇨🇳 简体中文 (Simplified Chinese)
🇭🇰 繁體中文 (Traditional Chinese)
🇷🇺 Русский (Russian)
🇪🇸 Español (Spanish)
🇩🇪 Deutsch (German)
🇫🇷 Français (French)
🇧🇷 Português (Portuguese Brazil)
🇯🇵 日本語 (Japanese)
🇮🇩 Bahasa Indonesia (Indonesian)
🇰🇷 한국어 (Korean)

Dasik (Rifaditya) | GPLv3

Clone this wiki locally