commit | 813bfdfe0d8e88dd83d20eee2517f99c12309c40 | [log] [tgz] |
---|---|---|
author | dmcardle <dmcardle@google.com> | Mon Jun 30 15:09:21 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Jun 30 15:10:32 2025 -0700 |
tree | f76db92cd27068005aed52c98421ae34310b5e91 | |
parent | 9f8501e25e5b9931f4dea4f2a7f60386d287c02c [diff] |
Convert QuicConnection's bools to bit-fields This shaves another 48 bytes off the size of QuicConnection. Its size on Linux/x86-64 was 6880 and now it is 6832. Testing with go/benchy suggests that this change has approximately zero impact on any metric. ``` (Generated by http://go/benchy. Settings: --runs 5 --compilation_mode "" --reference "cl/777694707" --config "benchmark") name cpu/op cpu/op vs base BM_QuicConnection_Constructor 6.594µ ± 1% 6.590µ ± 3% ~ (p=0.836 n=60) name time/op time/op vs base BM_QuicConnection_Constructor 6.503µ ± 0% 6.495µ ± 0% ~ (p=0.241 n=60) name INSTRUCTIONS/op INSTRUCTIONS/op vs base BM_QuicConnection_Constructor 34.87k ± 0% 34.90k ± 0% +0.09% (p=0.000 n=60) name CYCLES/op CYCLES/op vs base BM_QuicConnection_Constructor 17.25k ± 0% 17.22k ± 0% ~ (p=0.281 n=60) name allocs/op allocs/op vs base BM_QuicConnection_Constructor 4.000 ± 0% 4.000 ± 0% ~ (p=1.000 n=60) ¹ ¹ all samples are equal name peak-mem(Bytes)/op peak-mem(Bytes)/op vs base BM_QuicConnection_Constructor 2.688k ± 0% 2.688k ± 0% ~ (p=1.000 n=60) ¹ ¹ all samples are equal ``` PiperOrigin-RevId: 777734837
QUICHE stands for QUIC, Http, Etc. It is Google‘s production-ready implementation of QUIC, HTTP/2, HTTP/3, and related protocols and tools. It powers Google’s servers, Chromium, Envoy, and other projects. It is actively developed and maintained.
There are two public QUICHE repositories. Either one may be used by embedders, as they are automatically kept in sync:
To embed QUICHE in your project, platform APIs need to be implemented and build files need to be created. Note that it is on the QUICHE team's roadmap to include default implementation for all platform APIs and to open-source build files. In the meanwhile, take a look at open source embedders like Chromium and Envoy to get started:
To contribute to QUICHE, follow instructions at CONTRIBUTING.md.
QUICHE is only supported on little-endian platforms.