blob: 7c75a2e29248f7f485e69bc7945dca56664dac3a [file] [log] [blame]
Alexei Frolov9c2ed462020-01-13 15:35:42 -08001.. default-domain:: cpp
2
3.. highlight:: sh
4
5.. _chapter-protobuf-decoder:
6
Alexei Frolov4a257c12020-03-02 14:09:42 -08007--------
8Decoding
9--------
Alexei Frolov9c2ed462020-01-13 15:35:42 -080010
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