blob: 2178b723cac5acd2efdaf9e6c3c0d2a44ad37283 [file] [log] [blame]
Alexei Frolov9c2ed462020-01-13 15:35:42 -08001.. default-domain:: cpp
2
3.. highlight:: sh
4
5.. _chapter-protobuf-decoder:
6
7-------
8Decoder
9-------
10
11Size report
12===========
13
14Full size report
15^^^^^^^^^^^^^^^^
16
17This report demonstrates the size of using the entire decoder with all of its
18decode methods and a decode callback for a proto message containing each of the
19protobuf field types.
20
21.. include:: size_report/decoder_full.rst
22
23
24Incremental size report
25^^^^^^^^^^^^^^^^^^^^^^^
26
27This report is generated using the full report as a base and adding some int32
28fields to the decode callback to demonstrate the incremental cost of decoding
29fields in a message.
30
31.. include:: size_report/decoder_incremental.rst