Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stats for minification time and plugins #26

Open
1 of 3 tasks
anton164 opened this issue Sep 23, 2018 · 3 comments
Open
1 of 3 tasks

Add stats for minification time and plugins #26

anton164 opened this issue Sep 23, 2018 · 3 comments
Labels

Comments

@anton164
Copy link

anton164 commented Sep 23, 2018

This issue is for a:

  • bug
  • feature request
  • modification request

New Feature Use Case

Currently the only output shown is this:

Stats by Ext

╔════════╤══════════╤═══════╤══════════════╤══════════════════╗
║ Ext    │ Requests │ Time  │ Time/Request │ Description      ║
╟────────┼──────────┼───────┼──────────────┼──────────────────╢
║ js     │ 1112     │ 12s   │ 11ms         │ JavaScript files ║
╟────────┼──────────┼───────┼──────────────┼──────────────────╢
║ jsx    │ 369      │ 2s    │ 5ms          │ jsx files        ║
╟────────┼──────────┼───────┼──────────────┼──────────────────╢
║ hbs    │ 295      │ 3s    │ 11ms         │ hbs files        ║
╟────────┼──────────┼───────┼──────────────┼──────────────────╢
║ less   │ 45       │ 641ms │ 14ms         │ less files       ║
╟────────┼──────────┼───────┼──────────────┼──────────────────╢
║ less 0 │ 19       │ 853μs │ 45μs         │ less 0 files     ║
╟────────┼──────────┼───────┼──────────────┼──────────────────╢
║ css 0  │ 13       │ 561μs │ 43μs         │ css 0 files      ║
╟────────┼──────────┼───────┼──────────────┼──────────────────╢
║ svg    │ 1        │ 3ms   │ 3ms          │ svg files        ║
╟────────┼──────────┼───────┼──────────────┼──────────────────╢
║ css    │ 3        │ 53ms  │ 18ms         │ css files        ║
╟────────┼──────────┼───────┼──────────────┼──────────────────╢
║ Total  │ 1857     │ 18s   │              │                  ║
╚════════╧══════════╧═══════╧══════════════╧══════════════════╝


Stats by Loader

╔═══════════════════╤══════════╤═══════╤══════════════╤═══════════════════╗
║ Loader            │ Requests │ Time  │ Time/Request │ Description       ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ babel-loader      │ 1450     │ 14s   │ 9ms          │ Babel Loader      ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ handlebars-loader │ 295      │ 3s    │ 11ms         │ Handlebars Loader ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ expose-loader     │ 1        │ 5ms   │ 5ms          │ Expose Loader     ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ css-loader        │ 80       │ 696ms │ 9ms          │ Css Loader        ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ postcss-loader    │ 68       │ 695ms │ 10ms         │ Postcss Loader    ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ less-loader       │ 64       │ 642ms │ 10ms         │ Less Loader       ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ exports-loader    │ 29       │ 316ms │ 11ms         │ Exports Loader    ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ imports-loader    │ 19       │ 256ms │ 13ms         │ Imports Loader    ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ raw-loader        │ 1        │ 3ms   │ 3ms          │ Raw Loader        ║
╟───────────────────┼──────────┼───────┼──────────────┼───────────────────╢
║ Total             │ 2007     │ 19s   │              │                   ║
╚═══════════════════╧══════════╧═══════╧══════════════╧═══════════════════╝

However, a lot of the webpack build time is also spent in minification and plugins, would it be possible to add that info?

This question is available on Nuxt community (#c20)
@ghost ghost closed this as completed Sep 23, 2018
@ghost ghost added the cmty:question label Sep 23, 2018
@ghost
Copy link

ghost commented Sep 23, 2018

This issue as been imported as question since it does not respect webpackbar issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/webpackbar/issues/c20.

@anton164
Copy link
Author

Not a question..

@gluons
Copy link

gluons commented Sep 23, 2018

@CMTY always close new issue. 😓

@pi0 pi0 reopened this Sep 26, 2018
@pi0 pi0 added enhancement New feature or request cmty:feature-request and removed cmty:question labels Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants