i'm also looking into that as well. I only started learning lua literally last week. But i'm familiar with debugging, however addressing something as abstract as performance issues is something that takes an indepth knowledge of the language....as performance issues like these are generally....ORIGINALLY...caused by a lack of such.
Basically, i'm pretty sure he messed with something in the control file or is asking the game to process something every tick when certain conditions are met, but i haven't located the ACTUAL issue.
If you have indepth knowledge of programming, debugging specifically in LUA and not C+ (as is my forte') I would love the assistance.