Found something interesting. When a tools is adding an idle notifier, Renoise is heavily accessing the folder of the tool. I used process monitor to check it:
local app = renoise.app()
local tool = renoise.tool()
local function appIdleEvent()
end
tool:add_menu_entry {
name = “Main Menu:Tools:App idle trigger …”,
invoke = function()
if not tool.app_idle_observable:has_notifier(appIdleEvent) then
tool.app_idle_observable:add_notifier(appIdleEvent)
end
end
}
This comes from chdir, so it’s not really creating/reading a file but switching the current working dir for the Renoise process.
We always do set the current working dir to the tool’s bundle directly before calling into a scripting tool, to make relative imports work. If we wouldn’t, lua requires with relative paths would fail.
I don’t think that this is causing the Slow plugin loading issue, as the original author also has the problem when all tools are disabled.