summaryrefslogtreecommitdiff
path: root/cli/unix_util.rs
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-04-13 02:46:33 +0200
committerGitHub <noreply@github.com>2021-04-13 02:46:33 +0200
commitdabce813e064b7b3a2197cb327bde00e7b403688 (patch)
treeaf12a13b6fd770de42573bffa4b8261bee246529 /cli/unix_util.rs
parent9f26e639dd6ddc9416bfd4d12b87efdac2699b1d (diff)
perf: lazy header instantiation for HTTP requests (#10150)
This commit introduces a performance optimization for the native HTTP server. From my testing it is about 2-6% faster than `main`. Request headers in the HTTP servers are now lazilly instatated when they are accessed, rather than being preemptively wrapped in the `Headers` class.
Diffstat (limited to 'cli/unix_util.rs')
0 files changed, 0 insertions, 0 deletions