Get help from the marimo community

Updated 2 months ago

Marimo Slowing with a lot of log messages in one cell

At a glance

The community member has noticed that the more log messages they print to a cell in Marimo, the slower the notebook becomes, especially when in edit mode. This issue did not seem to be present prior to Christmas. Another community member suggests looking into improving the performance, but the original poster is unable to provide a minimal code example. The original poster believes the issue may be specific to their machine.

I use log messages to indicate where in the process the script is. Today, I've noticed that the more log messages get printed to one cell, the slower Marimo becomes. I don't think this affects when running from command line, but when in edit mode, if I allow all messages to be printed, then the notebook becomes completely unresponsive. Prior to Christmas I don't believe I had this issue and would be able to print all the messages without any issues, but I'm not completely sure about that.
M
J
2 comments
I don’t think anything has changed in that regard but I can look at improving the performance. Any chance you could link very minimal code at which you see the performance issues
Sorry, no. If it's not something known then I would disregard. It could just be something to do with my machine.
Add a reply
Sign up and join the conversation on Discord