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