Skip to content

Performance Issue: Significant FPS Drop When Opening Highlighted Containers #319

@ShiXiaoBoBi

Description

@ShiXiaoBoBi

Hello,
Thank you for creating this very practical and convenient mod. I've been enjoying using it. However, I've encountered a significant performance issue under specific conditions and wanted to report it .
Issue Description
In Minecraft versions 1.21.6 or 1.21.8​ using Fabric loader, when only your mod, Where Is It v2.6.4+1.21.6/7/8, and their necessary dependencies are installed, opening a highlighted container causes a severe frame rate drop. As shown in the screenshots (Image 1 shows normal FPS, Image 2 shows FPS when a highlighted container's inventory is open). Based on my testing in isolated instances and saves, the lag becomes more noticeable when the container (e.g., chest) contains more items. (I know the screenshot comes from a instance with other mods like "miniHUD," but I have indeed tested this in a clean, isolated environment).

Image Image

Steps to Reproduce
Set up the environment as described above (Minecraft 1.21.6/1.21.8, Fabric, your mod, Where Is It, and required dependencies).
The issue does not​ typically occur the first few times entering the game or in a very new world.
After playing in the same world/save for a relatively long time, open a container that is currently highlighted by the mod's search function. The severe FPS drop will occur at this point.
Exiting and restarting the Minecraft client resolves the issue temporarily. Upon restarting the client and opening a highlighted container again, the lag will not be present initially.
Expected Result
The frame rate should remain stable or exhibit only minor, acceptable fluctuations when interacting with highlighted containers, which I believe is the normal expected behavior.
This issue significantly impacts the normal usability of the mod. I hope you can address this problem. Thank you for your time and consideration!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions