Input lag issues when running simple word games on microcontrollers

Hey everyone, quick question. Has anyone tried running simple word or memory games on low-power boards (like ESP32 or Arduino) and run into performance or input lag issues? I’m experimenting with a small spelling-style game concept and noticed timing glitches once display updates and input handling overlap. I saw a similar discussion around online spelling practice games for kids and it made me wonder if the bottleneck is usually graphics refresh, debounce logic, or memory limits. Curious how others here approach this on constrained hardware.

Add to that poor or incorrect code, CPU clock rate, word size, slow bus communications, slow peripherals. Memory limit errors usually cause permanent hangs or crashes.

Time individual operations and/or code segments to localize the issue.

^Like mentioned above…there are many pitfalls. One thing to help mitigate is to use an MCU that has more than one core and multi-threading to segment the processes