Gilgamesh_48 1240 Posted 1 hour ago Posted 1 hour ago I believe this was sent to developers some time ago but: Roku Launches New Tools To Speed Up Its Apps & Improve Streaming I read most of that and I know if I were still able to code and wanted to code for Roku it would be of great interest to me. At least I hope someone finds it of interest.
speechles 2055 Posted 1 hour ago Posted 1 hour ago (edited) https://developer.roku.com/en-gb/docs/developer-program/dev-tools/resource-monitor.md https://developer.roku.com/en-gb/docs/developer-program/dev-tools/brightscript-profiler.md I knew I checked the forum at the right time. You can sort of do most of this already using the Roku Resource Monitor together with the Brightscript Profiler. But it is grunt work. You can fix the slowdowns and find your culprits and which line of code in which sections is doing too much work. But you must know how to read the graphs and everything in those apps. The brightscript profiler has to be built into the app so it can provide feedback from within the app to outside of it. There are small nuances that make it both easier and harder to do it this way. But if someone was already proficient with Perfetto (which I am not) it would be simple to watch in real time. The Roku Resource Monitor lets you also watch in real time, but it is a little laggy, which is fine you can still see everything, but it isn't bleeding edge live. But live really doesn't matter when debug Roku applications. It might if we were having issues with video playback. But this isn't where we suffer issues. https://blog.roku.com/developer/rsg-1-3 The bigger news is hidden in this blog post. Roku made sure to send a scary email to all developers that this must completed by October of 2026 so we have a little time. But they are making sure that apps are using the most efficient methods to distribute data around their apps. So there is less crashing, less complaints, and more happy Roku users. We have some parts that will benefit from those changes and speed things up, but for the most part any improvements have already been made by us some while ago to avoid anything that would greatly impact speed. But wring every bit of milliseconds you can out of things here, there, and everywhere, perhaps it will improve load times with responses and some render times. Those are the areas where parsing (exchange fields) are slowing things down. With those new components Roku added in v15 we should be able to get things somewhat faster. There is new updates coming to the Roku app in several areas to improve things. The new v15 improvements will need to happen by October 2026 so you will see those in an update probably closer to around that time. But it isn't like we aren't already working on some of that. I know all my Roku devices have updated to v15 already. So we can almost safely assume all devices which can update via the Roku store and obtain a new app would not crash if running code specific to only v15. It is a super pain to have to support both methods old and new in one app. That is why the switch would happen not immediately. But by that Oct 2026 time for sure. Read this part below closely.. it affects you... Roku OS update policy changes Roku’s OS update policy focuses on automatic, continuous updates for security, performance, and new features, which ensures Roku devices stay current without any user action (manual updates are always available via Settings > System > Software Update). Updates include security patches and feature enhancements that are deployed in stages from beta to general availability. Newer current models and updatable older models receive these automatic updates; however, discontinued (legacy) models do not. Furthermore, legacy models freeze the app versions running on their final Roku OS version. To achieve 100% device updates, Roku will begin checking for updates upon device boot and force an update when needed as part of the Roku OS 15.2 release. Although this can be done on older Roku OS versions via a config service flag, which is also being explored for Roku OS 15.2, the mandatory updates will become standard policy starting with Roku OS 15.2. With Roku OS updates being mandatory, Roku wants all users to benefit from the newest Roku OS features in all apps on our platform. Similarly, all apps can take advantage of the latest Roku OS and leverage the new APIs provided by that release. Your last app update will continue to serve devices that have not yet updated to the latest Roku OS, as Roku does a progressive, verified update across our installed base. Edited 1 hour ago by speechles
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now