Skip to content

Commit

Permalink
Remove extraneous print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinCappos committed May 11, 2024
1 parent 83d92d7 commit e054d4a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions benches/fs_read_write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ pub fn run_benchmark(c: &mut Criterion) {
// reset the file position
libc::lseek(fd, 0, SEEK_SET);
}
println!("FILE LENGTH: {}", file_length);

// My current position when reading...
let mut pos = 0;
Expand All @@ -197,7 +196,6 @@ pub fn run_benchmark(c: &mut Criterion) {
if file_length <= pos {
libc::lseek(fd, 0, SEEK_SET);
pos = 0;
print!(".");
}
assert_eq!(
libc::read(fd, read_buffer.as_mut_ptr() as *mut c_void, *buflen),
Expand Down

0 comments on commit e054d4a

Please sign in to comment.