DBuildStat
                                
                                
                                
                                    DBuildStat copied to clipboard
                            
                            
                            
                        Tools to measure and visualize performance of building D programs
DBuildStat
Measure and visualize per-module build times of D projects.
Usage
- 
Download the project code, including submodules:
git clone --recursive https://github.com/CyberShadow/DBuildStat - 
Run
dbuildstatto gather profile data, e.g.:rdmd dbuildstat program.dIf needed, pass any necessary compiler switches (e.g. include paths) to
dbuildstatbefore the program name.By default,
dbuildstatwill keep gathering samples forever. Stop the program to cancel any time, or use the--iterationsswitch to limit to a set number of iterations.For more usage information, run the program without any parameters.
 - 
dbuildstatwill create aprogram.dbuildstatfile. You can use this as input for the other programs:printtimeswill simply print gathered times as text to standard output.makedotwill make a Graphviz Dot file containing the module dependencies.makesvgwill create a SVG chart of the measured build times of each module.