Compare commits
No commits in common. "591e2d37b4ded7e24ac91c8043817f1bd939d963" and "a024240e5ad65ac04b23f606ffc79481293ecb82" have entirely different histories.
591e2d37b4
...
a024240e5a
3 changed files with 2 additions and 11 deletions
11
README.md
11
README.md
|
|
@ -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.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
|
||||||
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
|
Before Width: | Height: | Size: 116 KiB |
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue