Incremental load time is slow ~9s

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Incremental load is pretty slow, the initial load doesn’t take very long (20s or so), and it’s not a huge app, but the incremental load takes ~9 seconds.

If the current behavior is a bug, please provide the steps to reproduce.
CPU profile

webpack.config.js

What is the expected behavior?
It was faster in previous versions of webpack, but also the config changed

If this is a feature request, what is motivation or use case for changing the behavior?

Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
Webpack 4.6
MacOS 10.13.3
NodeJS 9.11.1

Author: Fantashit

1 thought on “Incremental load time is slow ~9s

  1. Also note that the default config of the thread-loader is not optimized for watching builds. The readme notes that poolTimeout: Infinity should be used when watching, elsewise you pay the worker bootstrap every time.

Comments are closed.