Skip to content

Add performance degradation warning on --enable-source-maps option #43812

Closed
@saurabhdaware

Description

@saurabhdaware

Affected URL(s)

No response

Description of the problem

There is an open issue regarding --enable-source-maps slowing down the performance with large bundles #41541

This can cause CPU Utilisation bumps or memory bumps if used in larger applications right now. I believe, we should mention this as a warning in documentation of --enable-source-maps because there isn't visibility on that issue apart from the particular github issue itself and it can cause some failures in production applications (it did for us because of CPU utilisation bumps)

Source map documentation: https://nodejs.org/api/cli.html#--enable-source-maps

I'll be happy to contribute if you all agree with this.

Thanks for all the work on nodejs 🎉

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions