Skip to content

Performance regression in @lingui/cli version 5.5.2 #2369

@vitexikora

Description

@vitexikora

Description

Running lingui extract used to take only few seconds with @lingui/cli version up to 5.5.1.
After updating to 5.5.2 (or 5.6.0), it now takes almost a minute

Image Image

Tried also on the very same codebase, installing @lingui/[email protected] and @lingui/[email protected] (nothing else changed) makes a huge difference. On my other machine, the times are 6s and 60s.

What could have caused this performance regression? I understand you possibly cannot reproduce this, but there must be some kind of hint, what can cause this in patch version with a small number of changes.

Verifications

  • I've checked the docs and this isn't covered there.
  • I've searched existing issues on GitHub.

Reproduction Steps

lingui extract

Expected Behavior

Same or at least similar execution time.

Macro Support

SWC with @lingui/swc-plugin

Lingui Version

5.5.1, 5.5.2, 5.6.0

Babel Version

No response

Framework

Rspack

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions