Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cybershadow/dbuildstat
Tools to measure and visualize performance of building D programs
https://github.com/cybershadow/dbuildstat
Last synced: about 2 months ago
JSON representation
Tools to measure and visualize performance of building D programs
- Host: GitHub
- URL: https://github.com/cybershadow/dbuildstat
- Owner: CyberShadow
- Created: 2013-04-04T01:01:25.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T14:39:50.000Z (almost 7 years ago)
- Last Synced: 2023-03-10T22:18:07.583Z (almost 2 years ago)
- Language: D
- Homepage:
- Size: 14.6 KB
- Stars: 17
- Watchers: 5
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DBuildStat
==========Measure and visualize per-module build times of D projects.
Usage
-----1. Download the project code, including submodules:
git clone --recursive https://github.com/CyberShadow/DBuildStat
2. Run `dbuildstat` to gather profile data, e.g.:
rdmd dbuildstat program.d
If needed, pass any necessary compiler switches (e.g. include paths) to `dbuildstat` before the program name.
By default, `dbuildstat` will keep gathering samples forever.
Stop the program to cancel any time, or use the `--iterations` switch to limit to a set number of iterations.For more usage information, run the program without any parameters.
3. `dbuildstat` will create a `program.dbuildstat` file. You can use this as input for the other programs:
- `printtimes` will simply print gathered times as text to standard output.
- `makedot` will make a [Graphviz](http://www.graphviz.org/) Dot file containing the module dependencies.
- `makesvg` will create a SVG chart of the measured build times of each module.