Skip to content

Can we have a real-world input? #665

@kdy1

Description

@kdy1

Feature request

I think it's fairer to have a real-world input because some kinds of passes are required for real-world inputs but not necessary (at all) for benchmarks in this repository.

If you don't have a good example, I'd want to recommend selecting a few from https://github.com/kdy1/swc-minifier-inputs/tree/main . These files are real bundles generated from open source next.js apps like shadcn-ui/webapp and formbricks.

As a side note, https://github.com/kdy1/swc-minifier-inputs/blob/a967ebba1668d1f78e1b5077bdbdce6ad0bfcaee/formbricks-webapp/app/(app)/environments/%5BenvironmentId%5D/integrations/google-sheets/page/input.js is the file that takes the longest time to minify with SWC (worst case among all files in the repository)

Motivations

To be fair

Alternatives

No response

Additional context

No response

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work financially will speed up resolution

  • I'm willing to offer financial support

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions