mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-21 17:44:06 +00:00
Add some additional decode benchmarks
This commit is contained in:
@@ -84,7 +84,7 @@ async fn receiver(
|
||||
mut reader: ReadHalf<TcpStream>,
|
||||
mut sender: mpsc::UnboundedSender<Message>,
|
||||
) -> io::Result<()> {
|
||||
let mut rbuf = BytesMut::with_capacity(0);
|
||||
let mut rbuf = BytesMut::with_capacity(1024);
|
||||
let mut len = 0;
|
||||
|
||||
loop {
|
||||
|
||||
Reference in New Issue
Block a user