Skip to content

Commit

Permalink
perf(transport): remove Server::timers
Browse files Browse the repository at this point in the history
The current `neqo_transport::server::Server::timers` has a large performance
overhead, especially when serving small amount of connections. See
mozilla#1780 for details.

This commit optimizes for the small-number-of-connections case, keeping a single
callback timestamp only, iterating each connection when there is no other work
to be done.
  • Loading branch information
mxinden committed Apr 1, 2024
1 parent 3151adc commit 5c1d063
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 461 deletions.
1 change: 0 additions & 1 deletion neqo-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ pub mod hrtime;
mod incrdecoder;
pub mod log;
pub mod qlog;
pub mod timer;
pub mod tos;

use std::fmt::Write;
Expand Down
Loading

0 comments on commit 5c1d063

Please sign in to comment.