This PR patches AccessTransformer to use the new processClass method of modlauncher, which improves startup performance by around 2.5-3 seconds (from 15.9 seconds to 13.0 seconds) when combined with the forge PR.
This is done by telling modlauncher that is does not need to recompute all frames just because one transformer changed the class.
The access transformer does not add or remove local variables and does not inject code, but alter existing code, which does not require maxs or frames of methods to be recomputed.
Requires https://github.com/cpw/modlauncher/pull/41
See https://gist.github.com/ichttt/98da420deabd8e904ac53fece883df16 for the raw performance test numbers
This PR patches AccessTransformer to use the new processClass method of modlauncher, which improves startup performance by around 2.5-3 seconds (from 15.9 seconds to 13.0 seconds) when combined with the forge PR. This is done by telling modlauncher that is does not need to recompute all frames just because one transformer changed the class. The access transformer does not add or remove local variables and does not inject code, but alter existing code, which does not require maxs or frames of methods to be recomputed. Requires https://github.com/cpw/modlauncher/pull/41 See https://gist.github.com/ichttt/98da420deabd8e904ac53fece883df16 for the raw performance test numbers