blob: 73003a1dc28e6a8bdf048c56a5496346465ff445 [file] [log] [blame]
Alexei Frolov4c035b02019-11-14 16:36:15 -08001.. _chapter-bloat:
2
3.. default-domain:: cpp
4
5.. highlight:: sh
6
Wyatt Heplerb82f9952019-11-25 13:56:31 -08007--------
8pw_bloat
9--------
Alexei Frolov4c035b02019-11-14 16:36:15 -080010The bloat module provides tools to generate size report cards for output
11binaries.
12
13.. TODO(frolv): Explain how bloat works and how to set it up.
14
15Documentation integration
16=========================
Alexei Frolov09447842019-11-15 15:09:05 -080017Bloat reports are easy to add to documentation files. All ``pw_size_report``
Alexei Frolov4c035b02019-11-14 16:36:15 -080018targets output a ``.rst`` file containing a tabular report card. This file
19can be imported directly into a documentation file using the ``include``
20directive.
21
22For example, the ``simple_bloat`` bloat report under ``//pw_bloat/examples``
23is imported into this file as follows:
24
25.. code:: rst
26
27 .. include:: examples/simple_bloat.rst
28
29Resulting in this output:
30
31.. include:: examples/simple_bloat.rst