Mojira Archive
MC-249635

Text rendering can heavily impact frame rate performance

For some reason text rendering seems to consume a lot of resources, such that a large amount of text on the screen tends to drastically drop frame rate in some scenarios.
Nameplates are an example of this when enough of them are shown, notably when a large amount of players get rendered on the screen or in servers that make use of armor stands as "holograms" to make floating text.

There are other cases where this issue is present as well, however as they're a lot i only listed the most notable ones:

  • Entity nameplates / text_display entities (the most prevalent).
  • HUD text (chat, tab list, sidebar, etc).
  • GUI text (menus, item tooltips, etc).
  • Glow signs (text rendered 9 times, see MC-226966).
  • Obfuscated text ("scrambled" text effect, see MC-253502).
  • Debug menu (F3).
  • etc...

How to reproduce

  1. Summon a few text display entities with the following command:
    /summon minecraft:text_display ~ ~ ~ {text:'ABCDEFGHIJKLMNOPQRSTUVWXYZ'}
    
  2. Notice the frame rate, with enough nameplates you might notice the fps drop.

Unresolved

syarumi

2022-03-27, 07:04 AM

2024-12-17, 02:12 PM

21

10

Confirmed

Important

Platform

Performance, Rendering

1.17.1 - 1.21.41.17.1, 1.18.2, 22w12a, 22w15a, 22w16b, 22w19a, 1.19 Pre-release 4, 1.19, 22w24a, 1.19.1, 1.19.2, 1.19.3 Pre-release 2, 1.19.3, 23w04a, 23w05a, 23w06a, 1.19.4 Pre-release 1, 1.19.4, 23w16a, 23w17a, 23w18a, 1.20.1, 23w31a, 1.20.2, 23w44a, 24w33a, 1.21.1, 1.21.2 Pre-Release 1, 1.21.4

-