Lately I’ve been finding that auto-reload is really slow. Looking into it, I realized it’s because I’ve installed Paketti, which is quite a monster of a tool. Renoise seems to rescan it every time I edit my own tool — even if I hack Paketti to remove _AUTO_RELOAD_DEBUG.
This scan unfortunately takes about 5 seconds on my machine, so disabling the tool is the only option. That is a poor solution because Renoise does not maintain my keybindings when I re-enable it.
Edit: After further experimentation, I think my hypothesis that this is a Renoise issue is likely mistaken. Clearing out the Paketti folder while Renoise is running doesn’t change anything. If anyone has any idea what could be going on, I’d like to know.
ok so i’ve done a few things: PakettieSpeakhotelsinus_stepseq and PakettiPTILoader all had _AUTO_RELOAD_DEBUG=true
i’ve removed them - so that was four_AUTO_RELOAD_DEBUG=true messages in a single tool.
the only place that has _AUTO_RELOAD_DEBUG=true now is main.lua. maybe that helps?
other than that (if this change doesn’t change the timeout period during reload), could it be a case of too many files?
Paketti has 5396 items.
i could make it so that main.lua actually gets injected a isItTrue=true → isItTrue=false tweak during GitHub action aka rolling the xrnx with _AUTO_RELOAD_DEBUG=isItTrue aka false - . but that won’t really solve your situation of having the Paketti GitHub repo in your Tools folder?
any advice/ideas would be cool. but not “split the tool”.
I think if it is a Paketti issue then it must be deeper than that, because disabling auto-reload doesn’t fix it, and even wiping the Paketti folder while running doesn’t fix it. So either it’s something that Paketti is doing which is persistent, or it is a Renoise issue (which I now think less likely, but not impossible).
Would it not better only reloading active used Pakette Tools? Maybe over a “active flag” which can be setup in config and/or over ToolMenu, or Tool init routine? That maybe gives some fluffiness.
Paketti includes all the code of the internet and of other tools. It registers a million of shortcuts for each pixel of the screen and each line of the pattern. Therefore it was clear from beginning that it will drastically slow down renoise, even though renoise got a lot faster with 3.5. tbh I would recommend not to use it. I also don’t think that you need these shortcuts either. It might be better to install individual, specialized tools which you really need, instead. But this is just my personal point of view.
Well, that’s a fair enough assessment, but Paketti has some nice and original features as well, including some I’ve helped to implement. Its size is never much of an issue for me except in this very particular case.