stephencookdev / speed-measure-webpack-plugin

⏱ See how fast (or not) your plugins and loaders are, so you can optimise your builds
MIT License
2.4k stars 80 forks source link

Add time comparison #26

Open mainrs opened 6 years ago

mainrs commented 6 years ago

Some kind of time comparison would be awesome. The plugin could save the last build times and compare to them. This should make optimizing easier as you can see what times have changed based on your modifications.

stephencookdev commented 6 years ago

A nice idea! What do you think the time comparison output would look like? Would it try and be version control aware, and tell you the time difference for your workspace? Or just tell you the last 10 builds or something?

mainrs commented 6 years ago

Now that you mention it, version control aware actually sounds super good. Like comparing the current build time to your last published tag maybe? So you could actually see the differences between the current production build and the dev version. Not sure if you can get the latest tag by date using git. I woud probably build some kind of hybrid approach in the end I think. Where you can see your build times compared to the last tag or something like that and the build time of your last x builds. So you can see how you improved over time.

The-Only-Matrix commented 4 years ago

@stephencookdev @SirWindfield :- Have implemented loaders build time comparison, you can go through this pull request as below -

#https://github.com/stephencookdev/speed-measure-webpack-plugin/pull/119