react app / revpi connect 4 / chromium
Posted: 31 Jul 2024, 16:41
Hello everyone,
I'm encountering some performance issues with a project that could potentially lead to purchasing multiple RevPi devices if it works as required. The setup involves running a React web application on a RevPi with Chromium. Unfortunately, I'm facing significant performance problems when accessing the app directly on the RevPi:
Performance Issues: The app experiences severe lag, slow transitions, and overall sluggishness when opened through Chromium on the RevPi.
Working Fine Remotely: However, when I access the same app via IP from my laptop, phone, or tablet, it performs smoothly without any issues.
Since the final deployment will involve connecting a display directly to the RevPi to show the web app, this performance problem is quite concerning. I’ve been trying various solutions for over a week but haven’t had any success in improving the performance.
Here are the steps I’ve already taken:
Checked System Resources: Monitored CPU and memory usage to ensure they aren't maxed out.
Optimized Chromium: Tried running Chromium with performance-related flags and ensured it’s updated to the latest version.
Optimized React App: Implemented code-splitting and reduced unnecessary re-renders.
Network Conditions: Verified that the network connection is stable and fast.
Improved Device Performance: Increased swap space and disabled unnecessary services.
External Display: Tested with different resolutions and refresh rates.
Despite these efforts, the performance issues persist. I’m at a loss for what else to try and would greatly appreciate any advice or suggestions from the community. Have others faced similar issues with Chromium on RevPi, and what solutions did you find effective?
Thank you in advance for your help!
I'm encountering some performance issues with a project that could potentially lead to purchasing multiple RevPi devices if it works as required. The setup involves running a React web application on a RevPi with Chromium. Unfortunately, I'm facing significant performance problems when accessing the app directly on the RevPi:
Performance Issues: The app experiences severe lag, slow transitions, and overall sluggishness when opened through Chromium on the RevPi.
Working Fine Remotely: However, when I access the same app via IP from my laptop, phone, or tablet, it performs smoothly without any issues.
Since the final deployment will involve connecting a display directly to the RevPi to show the web app, this performance problem is quite concerning. I’ve been trying various solutions for over a week but haven’t had any success in improving the performance.
Here are the steps I’ve already taken:
Checked System Resources: Monitored CPU and memory usage to ensure they aren't maxed out.
Optimized Chromium: Tried running Chromium with performance-related flags and ensured it’s updated to the latest version.
Optimized React App: Implemented code-splitting and reduced unnecessary re-renders.
Network Conditions: Verified that the network connection is stable and fast.
Improved Device Performance: Increased swap space and disabled unnecessary services.
External Display: Tested with different resolutions and refresh rates.
Despite these efforts, the performance issues persist. I’m at a loss for what else to try and would greatly appreciate any advice or suggestions from the community. Have others faced similar issues with Chromium on RevPi, and what solutions did you find effective?
Thank you in advance for your help!