Skip to content

@swc/cli execute timing regression/slowdown #29

@bobaaaaa

Description

@bobaaaaa

Description

I saw a huge performance regression while we update @swc/cli from 0.1.62 to 0.3.10.

Timings

0.3.10 (latest)

https://github.com/bobaaaaa/swc-cli-bug/actions/runs/8355308408/job/22870145794

Successfully compiled: 2 files with swc (85.49ms)

0.1.65 (last version of 0.1.x)

https://github.com/bobaaaaa/swc-cli-bug/actions/runs/8355345456/job/22870250651

Successfully compiled: 2 files with swc (13.6ms)

How to reproduce

I created a small project with both versions + CI + more infos:

https://github.com/bobaaaaa/swc-cli-bug

❤️

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