mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
8b9a2cb68b
On busy servers, this function takes up something like 3-7% in different profiles, and gets invoked every time we need to participate as the midpoint in a hidden service. So maybe walking through a linked list of all the circuits here wasn't a good idea.
8 lines
291 B
Plaintext
8 lines
291 B
Plaintext
o Minor features (performance):
|
|
|
|
- Faster server-side lookups of rendezvous and introduction point
|
|
circuits by using hashtables instead of linear searches over all
|
|
the circuits. These functions previously accounted between 3 and
|
|
7% of CPU usage on some busy relays.
|
|
|