Skip to content

[1.16+] JEI Stonework Recipe gathering looks abnormally slow #1537

@ZZZank

Description

@ZZZank

I used Spark to keep track of code excecution during a JEI initialization, and for industrialforegoing, it took its JEI Plugin more than 5 seconds only to gather stonework recipes for JEI:

Image

Spark report: https://spark.lucko.me/46XVxApAnk, similar result can be replicated in Enigmatica6Expert

IF collected 38*3=114 stonework recipes in total, which is very few in a modded instance, and should not result in more then 5 seconds of code execution:

Image

Industrial Foregoing Version:3.2.14.8-20

Titanium Version:3.2.8.9-25

Crashlog If Applicable (Upload to pastebin/gist):

Given the IF GitHub commit history, the recipe gathering logic is identical in 1.16~1.21, so I marked this issue as [1.16+]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions