How to speed up the invocation of an event? #5662
Replies: 3 comments 12 replies
-
We found the following entry in the FAQ which you may find helpful: Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review. This is an automated reply, generated by FAQtory |
Beta Was this translation helpful? Give feedback.
-
Whatever performance issues you have, it is unlikely to be explained by the time it takes to invoke an event. Textual runs quite well on a Raspberry Pi. Without any other context, it is impossible to offer any suggestions. Suggest you share your code, or at the very least explain what you are trying to accomplish... |
Beta Was this translation helpful? Give feedback.
-
I found that each focus switch requires refreshing the interface multiple times, which will result in significant time consumption on the TTY serial device with a baud rate of 115200. blur_event,focus_event, This will trigger the operation of refreshing the interface twice. If I want to merge it, which part of the code do I need to see? I saw using 'apply' in the style file. I don't quite understand how drawing and rich interaction work. Thank you |
Beta Was this translation helpful? Give feedback.
-
I see that calling event is taking too long. And this is especially true on low-performance machines. For example, I use the keys to switch components.
cProfile
Beta Was this translation helpful? Give feedback.
All reactions