diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2021-04-23 13:04:26 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2021-04-30 21:26:27 -0400 |
commit | 6c8b68b0245c8754997b4c4b0ff4ba24974e3fdd (patch) | |
tree | 9e10760105fe5883e5c8008a7866ff3131b9b842 /tests/testfile_pt_gnu_prop.bz2 | |
parent | 883f3d0151f61f6eb93c397501570527cd19044a (diff) | |
download | elfutils-6c8b68b0245c8754997b4c4b0ff4ba24974e3fdd.tar.gz |
PR27701: debuginfod client: encourage reused debuginfod_client objects
Client objects now carry long-lived curl handles for outgoing
connections. This makes it more efficient for multiple sequential
queries, because the TCP connections and/or TLS state info are kept
around awhile, avoiding O(100ms) setup latencies. debuginfod is
adjusted to take advantage of this for federation. Other clients
should gradually do this too, perhaps including elfutils itself (in
the libdwfl->debuginfod_client hooks).
A large gdb session with 117 debuginfo downloads was observed to run
twice as fast (45s vs. 1m30s wall-clock time), just in nuking this
extra setup latency. This was tested via a debuginfod intermediary:
it should be even faster once gdb reuses its own debuginfod_client.
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'tests/testfile_pt_gnu_prop.bz2')
0 files changed, 0 insertions, 0 deletions