summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-06-13 21:13:34 +0200
committerGitHub <noreply@github.com>2023-06-13 21:13:34 +0200
commit7e81d3c876bccd208a2e7b9c33f6fad4e3cf1b0f (patch)
tree9786f21f9f53c434bbe06bee2e6947b068d65c85 /cli/tests
parent133f9a952bc317347fa6581a6a47e59287f5b960 (diff)
perf(http): cache verified headers (#19465)
Use `Map` to cache validated HTTP headers. Cache has a capacity of 4096 elements and it's cleared once that capacity is reached. In `preactssr` benchmark it lowers the time spent when adding headers from 180ms to 2.5ms.
Diffstat (limited to 'cli/tests')
0 files changed, 0 insertions, 0 deletions