Skip to content
Snippets Groups Projects

daemon: avoid excessive getsockname() syscalls

Merged Vladimír Čunát requested to merge perf-getsockname-2 into master

Calling this on every incoming UDP request could cost us up to 5% time.

Implementation is not so nice because right now "session" = socket, and we share sockets = sessions for UDP.

In future we will clean this by refactoring session layer.

Edited by Petr Špaček

Merge request reports

Pipeline #53980 canceled

Pipeline canceled for 66942133 on perf-getsockname-2

Approval is optional

Merged by Petr ŠpačekPetr Špaček 5 years ago (Oct 10, 2019 10:24am UTC)

Merge details

  • Changes merged into master with f116ba16.
  • Deleted the source branch.

Pipeline #53985 passed

Pipeline passed for f116ba16 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading