Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !10249

update eslint-webpack-plugin@2.4.1 and enable treads in linter

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/marvelsrp/hotfix-lint-treads into main Dec 15, 2020
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: marvelsrp

I have perfomance problem in build. Results diff react-scripts@4.0.1 and react-scripts@3.4.3 in my project:

Default:

  • react-scripts@3.4.3 eslint-loader@3.0.3, cache: true Done in 190.03s.
  • react-scripts@4.0.1 eslint-webpack-plugin@2.4.1, cache: true Done in 369.82s.

Disable cache:

  • react-scripts@3.4.3 eslint-loader@3.0.3, cache: false Done in 101.78s.
  • react-scripts@4.0.1 eslint-webpack-plugin@2.4.1, cache: false Done in 101.98s.

Enable Treads:

  • react-scripts@4.0.1 eslint-webpack-plugin@2.4.1, cache: true, treads: true Done in 106.12s.
  • react-scripts@4.0.1 eslint-webpack-plugin@2.4.1, cache: false, treads: true Done in 84.70s.

I see performance improvement after package update eslint-webpack-plugin to 2.4.1 and enable multi treads linter.

Enable treads

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/marvelsrp/hotfix-lint-treads