Skip to content

JSZip is 50x slower because of set-immediate-shim #750

@ingun37

Description

@ingun37

JSZip is significantly slow in NextJS by more than 50 times compared to other platform like Gatsby.
The reason is that there's no polyfill for setImmediate in NextJS therefore it falls back to set-immediate-shim which is a very slow library.

There already has been many pull requests/issues addressing the same problem.

#702
#716
#619
vercel/next.js#22372 (comment)

I think this long overdue issue has to be resolved once and for all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions