A backport of TerminatorNL's LagGoggles to 1.7.10.
Intuitive lag hunting!
LagGoggles is a profiler where you can see timings in the world, visually. It comes with a custom GUI using a configurable keybind.
You can use LagGoggles as a player too! This is my attempt to create an understanding of what causes lag on a server to regular players.
I noticed some common misconceptions like having machines spread out over different chunks causes less lag than putting it in one chunk.
With LagGoggles, you can look around and see that alot of small things like pipes or cables cause a tiny bit of lag most of the time, often resulting in more lag than a machine right next to the source would.
LagGoggles enabled | normal view |
---|---|
Massive thanks to Grok DuckFarmer for making this video.
Minecraft Talk 35 - LagGoggles and Better Server Play
Entities, blocks and event-subscribers are timed using System.nanotime() before and after the tick() and update() methods. These times are being recorded and sent to the client when the profiler is done.