WebView performance significantly slower than PWA

(issues.chromium.org)

47 points | by denysonique 14 hours ago

7 comments

  • londons_explore 7 hours ago
    Summary: In certain circumstances webview rendering is slow because it has to integrate with the android rendering API incase an app wishes to synchronize some App UI with web UI.

    This isn't a limitation in chrome itself, which means chrome rendering has better performance for these specific operations (animations mostly).

    Personally I think the chrome rendering path should always be used, and apps which want to draw under/over web content will have to deal with a frame or two of delay.

  • qingcharles 9 hours ago
    It's amazing bugs like this persist, even with the significant resources of several megacorps allocating legions of full-time developers to the codebase.
    • stavros 4 hours ago
      Their incentive is to keep the browsers good enough to not lose market share. Other than that, the incentive is to either close the web down, or to make the experience as shitty as possible without leading users to switch away, so they can steer users towards the more closed-down native apps.

      Unfortunately, companies have an incentive to put us into walled gardens, so the only company that actually cares about the web is the company whose only business model is selling a browser.

  • pier25 1 hour ago
    Reminds of the old iOS days before WKWebView.

    About a decade ago iOS only had UIWebView which was significantly worse than Safari. This affected all apps using a webview including competing browsers.

  • joecool1029 8 hours ago
    To save you having to read a really long comment thread: https://engineering.fb.com/2022/09/30/android/launching-a-ne...

    Basically, FB's engineering replaced it with a full chromium based webview and explained the reasons android webview sucks ass.

    • cosmotic 5 hours ago
      My understanding of the system webview is that applications can share the resource instead of each using their own copy, reducing memory usage and improving multi-tasking. Facebook's solution seems to side step that benefit. I use the fb browser much less frequently than my normal browser, and id rather not use the fb browser at all. I imagine this is true for most users, so the security benefit seems overstated.
    • pier25 1 hour ago
      Maybe I missed it but how much does that custom webview weight?
  • AndrewDucker 6 hours ago
    How about they let us opt out of using it at all and just let us use our own browser?
    • cherryteastain 46 minutes ago
      You can use Firefox as the system webview on Android
      • AndrewDucker 44 minutes ago
        Yes, and I do. But Facebook doesn't use it even in that case. Even before they started shipping their own. If they used my Firefox setting as the Facebook browser then it wouldn't be a problem for me!
  • napolux 9 hours ago
    unfortunately nobody cares :(