Compare two application bundles.
In it's most basic form, the tool will compare the contents of two directories (it does not have to be application bundles). This is similar to my original app-compare tool.
The goal of this complete rewrite is to build/integrate more tools that will help you to understand the differences between the two bundles. E.g. why has my app grown so much ?
Release packages are available from nuget. They can be installed from the command-line.
$ dotnet tool install --global appcompare
To update or to re-install the latest version execute:
$ dotnet tool update --global appcompare
You can use the tool from the command line and use it to automate (CI/CD) the process of comparing your current application bundle with the previous (e.g. release) one.
A text-user interface is also available to allow you to dig further into the differences between the two bundles.
$ appcompare path/to/bundle/1 path/to/bundle/2 -output-markdown report.md
You can also use the --gist
option to generate a gist
from the output. The url of the gist will be printed to stdout.
$ appcompare path/to/bundle/1 path/to/bundle/2 --gist
Start the tool from the command line
$ appcompare
- Press
F1
to select the first application bundle. - Press
F2
to select the second application bundle. - Press
CTRL+G
to create a gist of the comparison.
Voila! Now you can play around to find out what's different between the two bundles.
The wiki covers ways to use the tool beyond the basic size comparison of markdown reports.
Ideally you keep copies of every released version of your application. Every time you release a new version, you should compare the previous version with the new one. This way you can see what and where are the changes inside your application and how this affected the build size.
Built on top of
Released with