Open mainrs opened 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?
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.
@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
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.