UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to integrate GOPreload in UBtouch?

    Scheduled Pinned Locked Moved OS
    1 Posts 1 Posters 130 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • GermanAizekG Offline
        GermanAizek
        last edited by

        https://github.com/kokoko3k/gopreload

        There is an ideal script that caches files and libraries opened by application and optimizes startup time during normal startup. How to integrate similar script into Ubuntu Touch so that after updating, image does not overwrite user service. The increase is really high because it caches files in RAM, and startup speed on my desktop increases ~x4 times. It is especially noticeable on large packages like Steam, Blender, IDE and others. Why I was interested in using this script in Ubuntu Touch, compared to Android, Ubuntu Touch opens applications very, very slowly, and it is desirable to speed up this download, but it is undesirable to keep them running in the background. GOPreload is a really genious solution, and most importantly, it's easy to set up. It is also possible to enumerate libs, files in list and distribute it to all device images, then all Ubuntu Touch users will have faster software startup.

        Xiaomi Redmi Note 7.... And more...
        I have too many devices...

        1 Reply Last reply Reply Quote 0
        • First post
          Last post