My small utility that gives binary size statistics from the Map file just got updated to version 1.5
This updates improves statistics gathered and reported for DCU file sizes, and introduces a small speedup.
Here are the highlights:
- Auto-detect Delphi DCUs directory, DCU ratio statistics are now provided for Delphi units
- Prioritize DCUs from the executable directory, if you had units with the same name in multiple projects, MapFileStats could sometimes pick the wrong DCU.
- Don’t scan .git/.svn/__history folders, those folders are now skipped during the file search, so search is slightly faster if you happened to have many of them in your search path.
The DCU size statistics can be useful to locate dead code and stale units which your project depends on, but you barely use. Another use is to locate units that have become too large and bloated (and should ideally be split).
As usual, you can get this version from the MapFileStats downloads page.