Skip to content

Size of resulting documentation with many container elements (e.g. class fields) #2995

Open
@bsutton

Description

@bsutton

I'm trying to work out f I'm doing something wrong.
I'm generating docs using dartdoc and the size of the resulting doc directory is huge.
I'm using dartdoc 5.0.1 from pub.dev.

I'm running:
dartdoc --no-validate-links --output $pathToDocRoot --no-show-progress

I've seen dartdoc generate directories that are 23GB in size.

I'm hoping I'm doing something wrong.

As an example, the iconify_flutter package version 0.0.3 is 18MB tar.gz (I thought pub.dev limited uploads to 10MB?).
After running dartdoc the resulting doc/api directory is: 11GB

It also takes an extreme amount of time:
Documented 111 public libraries in 17569.5 seconds

This is on a AMD® Ryzen 7 3700x 8-core processor × 16 with 32GB ram and SSDs on linux.

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.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)type-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