Issue with rendering custom script logs in a frappe-based mobile dashboard?

Hi everyone! I’ve been experimenting with building a custom “gaming analytics” dashboard within my Frappe/ERPNext instance to track some hobbyist data from mobile environments. I’m essentially trying to use a Frappe custom DocType as a central logging hub for events triggered on a mobile device.

I’m currently using delta download to execute the local client-side scripts that capture my session data, and then I’m pushing that data via the Frappe REST API to my server. The logic works fine on the desktop, but I’m running into a strange UI glitch when viewing the logs through the Frappe mobile interface. It seems that when I have the site active and running high-frequency scripts in the background, the mobile browser’s “Desk” interface becomes laggy, and some of the Frappe client scripts (JS) for the list view start to time out.

Has anyone here dealt with resource contention between external script executors and the Frappe mobile UI? I’m trying to figure out if there’s a specific way to optimize the frappe.call frequency or if I should look into using a headless worker to push the data from the site environment instead. I’m also a bit worried about the memory overhead—could the executor be interfering with the device’s WebView performance? I’d love to hear if anyone has successfully integrated mobile-side automation scripts with a Frappe backend without the frontend becoming unresponsive on smaller screens!