Comments (3)
I agree it is kind of confused.
Let me explain a bit about how to measure the time for Webpack compile time and loader time:
For webpack compile time, we use internal hook "compile" and "done", record the time and calculate the difference, pretty easy.
For loaders, this is kind of different. Each time the loader is executed for some resource, we record the start time and end time. But this might be parallel, and we will accumulate the total time. Also, if the loader is async, we record the end time when the loader function is finally resolved.
from time-analytics-webpack-plugin.
So,
If you think this resolve your issue:
To reduce the similar confusion from others, do you have any friendly suggestions on the output of the plugin?
(Feel free to just close this issue)
If you think this is still a bug that need to be fixed:
According to the unusual assumed name of your loaders, I believe you are using some framework, could you please provide a minimal repo or some steps to reproduce this issue?
from time-analytics-webpack-plugin.
After I understand these reasons, I don't think it will affect my optimization of webpack config,But I hope the official version will do better in the future, such as the parallel and asynchronous cases you mentioned
from time-analytics-webpack-plugin.
Related Issues (8)
- Lack of appropriate README HOT 8
- [BUG] Same error as at speed-measure-webpack-plugin HOT 1
- [BUG]: Reporting incorrect timing HOT 2
- Support Multiple Configs [FEATURE] HOT 5
- [BUG] Invalid API schema in conjunction with craco-esbuild HOT 2
- [BUG]: Loaders timing is definitely wrong HOT 9
- How to use it in vue-cli3? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from time-analytics-webpack-plugin.