Provide performance analytics
SandWoodJones opened this issue ยท 4 comments
REI has a handy button that gives you a performance analysis in ms for each REI function such as entry registration and displaying.
It's useful as you can easily find what mod is causing REI to stutter.
If EMI also provided these numbers modpack creators could easily compare the performance of the 2 mods and choose the one that fits best to the modpack.
EMI currently logs performance statistics fort he total registration time of a mod. For instance, on my computer in a dev environment, I get a print similar to [emi] Reloaded plugin from EMI in 187ms
telling me that the vanilla integration for EMI took 187ms. EMI doesn't have a more thorough breakdown for this because EMI's registration happens all at once. And of course, the performance of these loads only happen whenever joining a game or when the world reloads, and occurs off thread, so will very rarely actually have an impact on players. I'm curious what more detailed information you'd prefer to have displayed?
Ah, this is the same type of info that EMI provides in the log. These numbers are load time, not render time. The high number does not indicate that create is creating a lot of lag rendering items, it is indicating that, when you join a world, it takes 3.485 seconds for create to initialize all of its recipes.