grpc/tools/codegen/core
Arjun Roy b1d73a01f1 Removed duplicate static table from hpack table. Removed an or instruction for
every usage of static grpc metadata. Inlined hpack table lookups for static
metadata.

This leads to faster hpack parser creation:
BM_HpackParserInitDestroy 5.32µs ± 1% 0.06µs ± 1%  -98.91% (p=0.000 n=18+19)

And slightly faster parsing:
BM_HpackParserParseHeader<RepresentativeClientInitialMetadata, OnInitialHeader>
456ns ± 1%              435ns ± 1%   -4.74%        (p=0.000 n=18+19)
BM_HpackParserParseHeader<MoreRepresentativeClientInitialMetadata,
OnInitialHeader>
1.06µs ± 2%             1.04µs ± 2%   -1.82%        (p=0.000 n=19+20)

It also yields a slight (0.5 - 1.0 microsecond) reduction in CPU time for
fullstack unary pingpong:
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/512
[polls/iter:3.0001                         ]            23.9µs ± 2%
23.0µs ± 1%  -3.63%          (p=0.002 n=6+6)
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/0/32768
[polls/iter:3.00015                        ]            35.1µs ± 1%
34.2µs ± 1%  -2.57%          (p=0.036 n=5+3)
BM_UnaryPingPong<MinTCP, NoOpMutator, NoOpMutator>/8/0
[polls/iter:3.00011                        ]            21.7µs ± 3%
21.2µs ± 2%  -2.44%          (p=0.017 n=6+5)
2019-07-15 15:39:31 -07:00
..
gen_header_frame.py yapf tools/codegen 2017-12-11 16:43:54 -08:00
gen_hpack_tables.cc Fix windows compile 2017-12-13 11:58:54 -08:00
gen_legal_metadata_characters.cc Fix windows compile 2017-12-13 11:58:54 -08:00
gen_nano_proto.sh try fix nanopb generation 2018-08-07 14:28:41 +02:00
gen_percent_encoding_tables.cc Fix windows compile 2017-12-13 11:58:54 -08:00
gen_server_registered_method_bad_client_test_body.py yapf tools/codegen 2017-12-11 16:43:54 -08:00
gen_settings_ids.py Upgrade yapf to 0.20.0 2018-01-02 14:40:00 -08:00
gen_static_metadata.py Removed duplicate static table from hpack table. Removed an or instruction for 2019-07-15 15:39:31 -07:00
gen_stats_data.py get rid of premature return in massage_qps_stats 2018-05-18 15:33:25 +02:00
gen_upb_api.sh Add upb generated code and build rule for lrs protocol. 2019-04-09 12:03:21 -07:00