]> git.feebdaed.xyz Git - 0xmirror/quic-go.git/commit
wire: improve frame parsing benchmarks (#5263)
authorJannis Seemann <5215310+jannis-seemann@users.noreply.github.com>
Fri, 18 Jul 2025 16:33:04 +0000 (19:33 +0300)
committerGitHub <noreply@github.com>
Fri, 18 Jul 2025 16:33:04 +0000 (18:33 +0200)
commit893a5941fbb077255d14e93dd5b5c13c7e05fe4a
tree574f283ed630028d6356bc1f5556f5cbbf969074
parentafe01ef103a52e842adf7560662aa076458e0e16
wire: improve frame parsing benchmarks (#5263)

* Add master-style frame handling benchmarks using type switches

* Fixing styling issue.

* put STREAM frame back

* remove BenchmarkParseStreamAndACK

* use random data for STREAM and DATAGRAM

* improve comment

---------

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
internal/wire/frame_parser_test.go