blob: 7120f60f563f825b04ff5154ae5921752022584d [file] [log] [blame]
Wyatt Heplerf9fb90f2020-09-30 18:59:33 -07001.. _module-pw_protobuf-decoding:
Alexei Frolov9c2ed462020-01-13 15:35:42 -08002
Alexei Frolov4a257c12020-03-02 14:09:42 -08003--------
4Decoding
5--------
Alexei Frolov9c2ed462020-01-13 15:35:42 -08006
7Size report
8===========
9
10Full size report
11^^^^^^^^^^^^^^^^
12
13This report demonstrates the size of using the entire decoder with all of its
14decode methods and a decode callback for a proto message containing each of the
15protobuf field types.
16
Alexei Frolov725b85b2020-03-19 13:37:10 -070017.. include:: size_report/decoder_full
Alexei Frolov9c2ed462020-01-13 15:35:42 -080018
19
20Incremental size report
21^^^^^^^^^^^^^^^^^^^^^^^
22
23This report is generated using the full report as a base and adding some int32
24fields to the decode callback to demonstrate the incremental cost of decoding
25fields in a message.
26
Alexei Frolov725b85b2020-03-19 13:37:10 -070027.. include:: size_report/decoder_incremental