Skip to content

Flutter search index is 27MB on disk #3423

Open
@srawlins

Description

@srawlins

I just generated it, and it's 27MB. It is probably highly compressible, so maybe isn't a huge transfer cost. There are easy wins here:

  • Remove overrides which do not have explicit docs.
  • Create indexes. For example, an index of packageNames, and then each search item does not need to spell out its packageName. Additionally, each search item can be given an ID, and then the "enclosedBy" references can point to an ID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-output-sizeIssues related to dartdoc's sometimes unreasonable output size.area-searchIssues with the search boxtype-performanceIssues related to slow dartdoc generation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions