Compare commits

..

No commits in common. "591e2d37b4ded7e24ac91c8043817f1bd939d963" and "a024240e5ad65ac04b23f606ffc79481293ecb82" have entirely different histories.

3 changed files with 2 additions and 11 deletions

View file

@ -15,14 +15,5 @@ message size.
## Usage ## Usage
```sh ```sh
cargo run --release <message size in bytes> cargo run <message size in bytes>
``` ```
## Results
A message size of 1024 bytes can be sufficient to trigger fragmentation when
running an optimized build. Results from debug builds are hit-or-miss depending
on the host system: they may have no issues with fragmentation regardless of
message size, or they may encounter issues at closer to 4096 bytes.
![Terminal screenshot showing results of running script with 512 and 1024 byte messages. The first run has no errors, while the second one displays two "out of order" warnings.](./screenshot.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

View file

@ -7,7 +7,7 @@ use std::{
time::{Duration, Instant}, time::{Duration, Instant},
}; };
const DURATION_MS: u64 = 1000; const DURATION_MS: u64 = 5000;
const BIND_ADDR: &str = "127.0.0.1:7000"; const BIND_ADDR: &str = "127.0.0.1:7000";
fn main() { fn main() {