Skip to content

Commit

Permalink
Benchmarks: Moved clients impl
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-clairicia committed Jun 20, 2024
1 parent 6ea2152 commit ce8f488
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
File renamed without changes.
9 changes: 4 additions & 5 deletions benchmark_server/src/datagram_echoclient/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ use std::{
time::{Duration, Instant},
};

use benchmark_server::report::{Report, RequestReport, TestReport};
use benchmark_server::{
datagram::DatagramClient,
report::{Report, RequestReport, TestReport},
};
use clap::{Parser, ValueEnum};

mod client;

use client::DatagramClient;

#[derive(Debug, Parser, Clone)]
struct Args {
#[arg(long = "msize", default_value_t = 1024, help = "message size in bytes")]
Expand Down
3 changes: 3 additions & 0 deletions benchmark_server/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#![allow(clippy::assigning_clones)]
#![forbid(unsafe_code)]

pub mod datagram;
pub mod report;
pub mod stream;
File renamed without changes.
9 changes: 4 additions & 5 deletions benchmark_server/src/stream_echoclient/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ use std::{
time::{Duration, Instant},
};

use benchmark_server::report::{Report, RequestReport, TestReport};
use benchmark_server::{
report::{Report, RequestReport, TestReport},
stream::StreamClient,
};
use clap::{Parser, ValueEnum};

mod client;

use client::StreamClient;

#[derive(Debug, Parser, Clone)]
struct Args {
#[arg(long = "msize", default_value_t = 1024, help = "message size in bytes")]
Expand Down

0 comments on commit ce8f488

Please sign in to comment.