is very hard to help you without see what you did.
Compiled versions always runs a lot faster than PIE but watching your screenshot
is very clear you are doing something wrong and draining all performance of the app.
you don’t need to create and destroy a widget every time you need it.
just create the widget, store in a variable and add to viewport when needed and remove from parent when is not needed but you still have the widget stored in memory this way.