Skip to content

We could optimize the Playground speed #1319

@jecisc

Description

@jecisc

I use the same play-cache for all my images and loading the pages became really slow. I had to remove most of my pages from my cache.

Doing some profiling it seems there is an "easy" way to speed it up a little. A big part of the time is spent by the initialization of page titles. They go read the first line of a file which can take some time when we do that for all pages.

We do not need this info before showing the page, but it currently initialize it even if we do not scroll the list. We should make this lazy.

The initialization is done in StPlaygroundPageSummaryPresenter>>#updatePresenter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions