Skip to content

[Perf] Don't get diagnostics if ignoreCompilerErrors is set #1032

Closed
@Gerrit0

Description

@Gerrit0

Problem

When running typedoc --ignoreCompilerErrors --out docs src/ on the TypeDoc repo, 23% of the time is spent calling getSemanticDiagnostics. The output of this function is used (all errors are printed), but it doesn't make a difference in the generated documentation, and would be a major speed boost if removed.

Suggested Solution

Only call getSemanticDiagnostics if ignoreCompilerErrors is not specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueEasier issue for first time contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions