Skip to content

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

Closed

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 🎉

Activity

  1. added
    docIssues and PRs related to Node.js documentation.
    on Jul 13, 2022
  2. aduh95 commented on Jul 13, 2022

    @aduh95
    Contributor

    Go for it! A rule of thumb is that you never have to ask permission for improving the docs because we can always do better – and we can discuss the specific details on the PR review, which tends to be more productive discussion than an issue thread for this kind of things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions