Skip to content

Github Files changed pages are slow #4810

Closed as not planned
Closed as not planned

Description

@mdinger

Big github Files changed pages lock up every browser including servo. If you can make it usable quicker, it's a big win for servo.

Didn't look for a reduced testcase.

Activity

  1. changed the title [-]Github Files changed page slow are slow[/-] [+]Github Files changed pages are slow[/+] on Feb 3, 2015
  2. mdinger commented on Feb 3, 2015

    @mdinger
    Author

    I think servos been trying to open that page for more than 5 minutes and is still blank (just like every browser).

  3. added
    I-perf-slow
    on Feb 3, 2015
  4. mdinger commented on Aug 1, 2015

    @mdinger
    Author

    Firefox and servo both open this page now. Both seem to slow down if the page is scrolled fast but it's usable. Faster would still be nice.

  5. metajack commented on Aug 2, 2015

    @metajack
    Collaborator

    I wonder if the truncated display list patch would help with this. @pcwalton thoughts?

  6. lumiscosity commented on Jul 26, 2025

    @lumiscosity
    Member

    The page has since been redesigned to load the changes incrementally and collapse large diffs. Both Firefox and Servo load it pretty fast now, but it doesn't seem like Servo can get past the incremental loader - errors in the console cite not having IntersectionObserver, ResizeObserver and AbortController - not to mention how it struggles with parts of the layout.

  7. jdm commented on Jul 26, 2025

    @jdm
    Member

    Using --enable-experimental-web-platform-features --pref dom_abort_controller_enabled can help there.

  8. lumiscosity commented on Jul 26, 2025

    @lumiscosity
    Member

    Yup, with those flags the errors are gone, and everything's loaded fine - there was a brief lag spike for two seconds, but everything worked fine after it and all the data was loaded. The stylesheet exploded, though, and the console was flooded with [script::dom::bindings::error] Error at https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js-a8c266e5f126.js:63:217 e.adoptedStyleSheets is undefined. Resizing the window takes only a second to re-layout, though!

    Image
  9. jdm commented on Jul 26, 2025

    @jdm
    Member

    Good thing dom_adoptedstylesheet_enabled exists as well 😅

  10. lumiscosity commented on Jul 26, 2025

    @lumiscosity
    Member

    Geez, really waiting on that prefs page proposal... The page looks the same with it on, though. Only errors left are:

    [2025-07-26T19:48:14Z ERROR script::dom::bindings::error] Error at :0:0 SyntaxError: The string did not match the expected pattern.
    [2025-07-26T19:48:14Z ERROR script::dom::bindings::error] Error at :0:0 SyntaxError: The string did not match the expected pattern.
    No valid entry type provided to observe().
    [2025-07-26T19:48:15Z ERROR script::dom::bindings::error] Error at :0:0 SyntaxError: The string did not match the expected pattern.
    
  11. jdm commented on Jul 26, 2025

    @jdm
    Member

    Alright, let's call this one done, and we can file other issues in the future about specific layout issues. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-perf-slow

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions